commit 83c76defd3741567187a8eebab73d8a4429df154 Author: Yasuhiro Yamaguchi Date: Sun May 2 05:10:55 2021 +0900 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec326a9 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +dashboard-docker +================ + +``` +$ cat << EOF > .env +DASHBOARD_PORT=8080 +EOF +$ docker-compose up -d +``` diff --git a/data/apps.json b/data/apps.json new file mode 100644 index 0000000..86f4d00 --- /dev/null +++ b/data/apps.json @@ -0,0 +1,155 @@ +{ + "categories": [ + { + "name": "ALTESCY.JP", + "items": [ + { + "name": "NextCloud", + "displayURL": "cloud.altescy.jp ", + "url": "https://cloud.altescy.jp", + "icon": "filter_drama" + }, + { + "name": "Miniflux", + "displayURL": "feed.altescy.jp", + "url": "https://feed.altescy.jp", + "icon": "rss_feed" + }, + { + "name": "Bitwarden", + "displayURL": "bw.altescy.jp", + "url": "https://bw.altescy.jp", + "icon": "password" + }, + { + "name": "Gitea", + "displayURL": "git.altescy.jp ", + "url": "https://git.altescy.jp", + "icon": "code" + }, + { + "name": "Minio", + "displayURL": "minio.altescy.jp ", + "url": "https://minio.altescy.jp", + "icon": "storage" + }, + { + "name": "Bookshelf", + "displayURL": "books.altescy.jp ", + "url": "https://books.altescy.jp", + "icon": "book" + }, + { + "name": "MLflow", + "displayURL": "mlflow.altescy.jp ", + "url": "https://mlflow.altescy.jp", + "icon": "show_chart" + } + ] + }, + { + "name": "Cloud Services", + "items": [ + { + "name": "CoNoHa", + "displayURL": "conoha.jp", + "url": "https://manage.conoha.jp/", + "icon": "circle" + }, + { + "name": "Wasabi", + "displayURL": "console.wasabisys.com", + "url": "https://console.wasabisys.com/", + "icon": "storage" + }, + { + "name": "Amazon Web Service", + "displayURL": "aws.amazon.com", + "url": "https://console.aws.amazon.com/", + "icon": "computer" + }, + { + "name": "Google Cloud", + "displayURL": "console.cloud.google.com", + "url": "https://console.cloud.google.com/", + "icon": "cloud" + }, + { + "name": "Colaboratory", + "displayURL": "colab.research.google.com", + "url": "https://colab.research.google.com/", + "icon": "note" + } + ] + }, + { + "name": "Task Management", + "items": [ + { + "name": "Toggl Track", + "displayURL": "track.toggle.com", + "url": "https://track.toggl.com/", + "icon": "timer" + }, + { + "name": "Habitica", + "displayURL": "habitica.com", + "url": "https://habitica.com/", + "icon": "check" + } + ] + }, + { + "name": "Research", + "items": [ + { + "name": "arXiv", + "displayURL": "arxiv.org", + "url": "https://arxiv.org/", + "icon": "search" + }, + { + "name": "Semantic Scholar", + "displayURL": "semanticscholar.org", + "url": "https://semanticscholar.org/", + "icon": "bar_chart" + }, + { + "name": "Mendeley", + "displayURL": "mendeley.com", + "url": "https://www.mendeley.com/library/", + "icon": "star" + } + ] + }, + { + "name": "Entertainment", + "items": [ + { + "name": "Pocket Casts", + "displayURL": "pocketcasts.com", + "url": "https://play.pocketcasts.com/podcasts", + "icon": "speaker" + }, + { + "name": "SoundCloud", + "displayURL": "soundcloud.com", + "url": "https://soundcloud.com", + "icon": "cloud" + }, + { + "name": "YouTube", + "displayURL": "youtube.com", + "url": "https://youtube.com", + "icon": "movie" + }, + { + "name": "YouTube Music", + "displayURL": "music.youtube.com", + "url": "https://music.youtube.com", + "icon": "pause" + } + ] + } + ] +} diff --git a/data/bookmarks.json b/data/bookmarks.json new file mode 100644 index 0000000..dc63647 --- /dev/null +++ b/data/bookmarks.json @@ -0,0 +1,107 @@ +{ + "groups": [ + { + "name": "Wikis", + "items": [ + { + "name": "Wikipedia", + "url": "https://ja.wikipedia.org/" + }, + { + "name": "ArchWiki", + "url": "https://wiki.archlinux.jp/" + } + ] + }, + { + "name": "Dev", + "items": [ + { + "name": "DevDocs", + "url": "https://devdocs.io/" + }, + { + "name": "Hastebin", + "url": "https://hastebin.com/" + }, + { + "name": "Codepen", + "url": "https://codepen.io/" + } + ] + }, + { + "name": "Media", + "items": [ + { + "name": "Soundcloud", + "url": "https://soundcloud.com" + }, + { + "name": "YouTube", + "url": "https://youtube.com" + }, + { + "name": "YouTube Music", + "url": "https://music.youtube.com" + } + ] + }, + { + "name": "Social Networks", + "items": [ + { + "name": "Facebook", + "url": "https://facebook.com" + }, + { + "name": "Twitter", + "url": "https://twitter.com" + } + ] + }, + { + "name": "Imageboards", + "items": [ + { + "name": "Reddit", + "url": "https://reddit.com" + }, + { + "name": "4chan", + "url": "https://4chan.org" + } + ] + }, + { + "name": "Tech", + "items": [ + { + "name": "Medium", + "url": "https://medium.com" + }, + { + "name": "Hackernews", + "url": "https://news.ycombinator.com" + }, + { + "name": "Qiita", + "url": "https://qiita.com" + } + ] + }, + { + "name": "Tool", + "items": [ + { + "name": "shields.io", + "url": "https://shields.io/" + }, + { + "name": "carbon", + "url": "https://carbon.now.sh/" + } + ] + } + ] +} diff --git a/data/search.json b/data/search.json new file mode 100644 index 0000000..a0be96b --- /dev/null +++ b/data/search.json @@ -0,0 +1,59 @@ +{ + "providers": [ + { + "name": "ArchWiki", + "url": "https://wiki.archlinux.jp/index.php?search=", + "prefix": "/aw" + }, + { + "name": "arXiv", + "url": "https://arxiv.org/search/?query=", + "prefix": "/ax" + }, + { + "name": "DuckDuckGo", + "url": "https://duckduckgo.com/?q=", + "prefix": "/dd" + }, + { + "name": "GitHub", + "url": "https://github.com/search?q=", + "prefix": "/gh" + }, + { + "name": "Reddit", + "url": "https://www.reddit.com/search?q=", + "prefix": "/rd" + }, + { + "name": "Qwant", + "url": "https://www.qwant.com/?q=", + "prefix": "/qw" + }, + { + "name": "Soundcloud", + "url": "https://soundcloud.com/search?q=", + "prefix": "/sc" + }, + { + "name": "Semantic Scholar", + "url": "https://www.semanticscholar.org/search?q=", + "prefix": "/ss" + }, + { + "name": "Twitter", + "url": "https://twitter.com/search?q=", + "prefix": "/tw" + }, + { + "name": "YouTube", + "url": "https://youtube.com/results?search_query=", + "prefix": "/yt" + }, + { + "name": "YouTube Music", + "url": "https://music.youtube.com/search?q=", + "prefix": "/ym" + } + ] +} diff --git a/data/themes.json b/data/themes.json new file mode 100644 index 0000000..4cebdb0 --- /dev/null +++ b/data/themes.json @@ -0,0 +1,109 @@ +{ + "themes": [ + { + "label": "Classic", + "value": 0, + "mainColor": "#000000", + "accentColor": "#1e272e", + "backgroundColor": "#ffffff" + }, + { + "label": "Dark", + "value": 1, + "mainColor": "#ffffff", + "accentColor": "#999999", + "backgroundColor": "#000000" + }, + { + "label": "Raw", + "value": 2, + "mainColor": "", + "accentColor": "", + "backgroundColor": "#ffffff" + }, + { + "label": "Blackboard", + "value": 3, + "mainColor": "#fffdea", + "accentColor": "#5c5c5c", + "backgroundColor": "#1a1a1a" + }, + { + "label": "Gazette", + "value": 4, + "mainColor": "#000000", + "accentColor": "#5c5c5c", + "backgroundColor": "#F2F7FF" + }, + { + "label": "Espresso", + "value": 5, + "mainColor": "#d1b59a", + "accentColor": "#4e4e4e", + "backgroundColor": "#21211f" + }, + { + "label": "Cab", + "value": 6, + "mainColor": "#1f1f1f", + "accentColor": "#424242", + "backgroundColor": "#f6d305" + }, + { + "label": "Cloud", + "value": 7, + "mainColor": "#35342f", + "accentColor": "#37bbe4", + "backgroundColor": "#f1f2f0" + }, + { + "label": "Lime", + "value": 8, + "mainColor": "#aabbc3", + "accentColor": "#aeea00", + "backgroundColor": "#263238" + }, + { + "label": "White", + "value": 9, + "mainColor": "#222222", + "accentColor": "#dddddd", + "backgroundColor": "#ffffff" + }, + { + "label": "Tron", + "value": 10, + "mainColor": "#effbff", + "accentColor": "#6ee2ff", + "backgroundColor": "#242b33" + }, + { + "label": "Blues", + "value": 11, + "mainColor": "#eff1fc", + "accentColor": "#6677eb", + "backgroundColor": "#2b2c56" + }, + { + "label": "Passion", + "value": 12, + "mainColor": "#12005e", + "accentColor": "#8e24aa", + "backgroundColor": "#f5f5f5" + }, + { + "label": "Chalk", + "value": 13, + "mainColor": "#aabbc3", + "accentColor": "#ff869a", + "backgroundColor": "#263238" + }, + { + "label": "Paper", + "value": 14, + "mainColor": "#4c432e", + "accentColor": "#aa9a73", + "backgroundColor": "#f8f6f1" + } + ] +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0bf669b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3" + +services: + dashboard: + image: phntxx/dashboard:latest + restart: unless-stopped + volumes: + - ./data:/app/data + ports: + - ${DASHBOARD_PORT}:8080