jordibrouwer/nextdash
关于
Your bookmarks. Your terminal. Your rules.
效率与自动化可以做什么
- Bookmarks: pages and categories, edit mode, tags and tag suggestions, Bookmarks view, inbox.
- Search and keyboard: everything by key, search, commands, finders and sums, Quick launch.
- Monitoring: uptime and collection health, network tests, alerts, status page, watch feeds.
- Widgets: 64 kinds, including a custom widget for any JSON service.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
nextDash
🇨🇳 本应用支持简体中文。 nextDash 的界面提供中文语言选项 — 在设置中将语言切换为「中文」即可。
A keyboard-first, self-hosted dashboard for your links, your services and your homelab. No accounts, no cloud, no noise.
- Bookmarks: pages, categories, tags, notes, an inbox, smart collections, and one search panel.
- Monitoring: dead links, uptime, certificate and domain expiry, a status page, and alerts.
- Containers: logs, start, stop and update with rollback for your Docker host.
- Widgets: weather, feeds, your machine, Unraid, media services, Home Assistant, any JSON API.
- Looks: 446 themes, 285 backdrops and a theme studio, in six languages. Works on a phone.
- Assistant (optional): Claude, OpenAI or your own model, off until you turn it on.
- Yours: one Go binary, plain JSON files, automatic backups, imports from browsers and other tools.
📖 Manual · 📋 Changelog · 🗂️ Cheat sheet (HTML) · 🌐 nextdash.cc · Demo · Dev log
Based on ThinkDashboard by MatiasDesuu.
See every theme: the dark and light halves of every family, each on the same dashboard
Dark themes, each on the same dashboard
Light themes, each on the same dashboard
Screenshots
Bookmarks view (Oceanic Steel, light) |
Search (Porcelain Blue, light) |
Inbox (Paper Ink, light) |
Edit mode (Oceanic Steel) |
Weekly digest (Oceanic Steel) |
More screenshots: more views, in other themes
A second page (Terminal Amber) |
Triage (Royal Amethyst) |
Broken links (Oxblood Leather) |
Collection health (Salt Flat, light) |
Search by tag (Neon Grid) |
Command palette (ThinkDashboard Classic) |
Containers (Harbour Fog) |
The theme studio (Mulberry Silk) |
Glances (Deep Lagoon) |
Glances on the dashboard (Deep Lagoon) |
Config → Appearance (Sea Glass, light) |
Config → Statistics (Copper Circuit) |
Unraid Black (dark) |
Unraid Azure (light) |
Containers and health (Deep Lagoon) |
Updates with a way back (Smoked Plum) |
Unraid on the dashboard (Tarnished Brass) |
Config: Unraid (Nordic Frost) |
Quick Start
Which image tag? latest follows every release. 1 follows the newest 1.x and 1.34 only the patches of 1.34, where those releases exist. stable is the newest release that has been out for a week. A full version such as v1.34.0 never moves.
Docker Compose (recommended)
services:
nextDash:
image: ghcr.io/jordibrouwer/nextdash:latest
container_name: nextDash
ports:
- "8080:8080"
volumes:
- ./data:/app/data
environment:
- PORT=8080
# On a LAN or VPS, require a token for every write (see Security):
# - NEXTDASH_WRITE_TOKEN=change-me-to-a-long-random-string
restart: unless-stopped
docker compose up -d
Open http://localhost:8080.
From a git checkout, use docker compose -f docker-compose.prod.yml up -d --build for production. docker-compose.yml is for development. Put your own changes in docker-compose.override.yml.
Without Docker: release binaries
Releases after v1.34.0 carry a ready-made binary on the releases page: Linux (amd64, arm64, armv7 for 32-bit Raspberry Pi systems), macOS (amd64 for Intel, arm64 for Apple silicon) and Windows (amd64). Download the archive for your system, and check it against SHA256SUMS.txt from the same page if you like (shasum -a 256 <file>).
Linux and macOS:
tar -xzf nextdash_<version>_<os>_<arch>.tar.gz
cd nextdash_<version>_<os>_<arch>
./nextdash
Windows: unzip, then run nextdash.exe.
Open http://localhost:8080 (PORT changes the port). The pages, scripts and translations are inside the binary. Your data goes into a data folder in the directory you start it from; set NEXTDASH_DATA_DIR to keep it somewhere fixed, and keep that folder when you replace the binary with a newer one. The binaries are not signed, so macOS may refuse a downloaded one until you run xattr -d com.apple.quarantine nextdash.
Build from source
go build -o nextDash && ./nextDash
Data is stored in ./data. NEXTDASH_DATA_DIR moves it.
Health check
GET /api/health says the server answers; the Docker healthcheck uses it. For a monitor, GET /api/health?deep=1 also checks that the data folder takes a write and has at least 100 MB free, and answers 503 with a reason (data-dir-not-writable or low-disk-space) when not.
System widgets
The Processor, Memory, Disks and Containers widgets need no setup with the binary. A container needs read-only mounts:
volumes:
- ./data:/app/data
- /mnt:/host/root/mnt:ro,rslave # Disks: required
# - /proc:/host/proc:ro # Processor, Memory: optional
# - /var/run/docker.sock:/var/run/docker.sock:ro # Containers: a real grant
environment:
- NEXTDASH_HOST_ROOT=/host/root
# - NEXTDASH_HOST_PROC=/host/proc
# - NEXTDASH_DOCKER_SOCKET=/var/run/docker.sock
# - NEXTDASH_DOCKER_CONTROL=1 # Containers: start/stop/update/remove
Containers view
[!IMPORTANT] Access to the Docker socket is root on the host, also with
:ro. With actions on, anyone who can open the dashboard can stop, update or remove your containers. Keep nextDash behind Tailscale or a reverse proxy with authentication.
- Socket: mount
/var/run/docker.sockand setNEXTDASH_DOCKER_SOCKET. - Actions: set
NEXTDASH_DOCKER_CONTROL=1to start, stop, update and remove. Without it the view only reads. - Write token: set
NEXTDASH_WRITE_TOKEN. - Only if the log says
is owned by gid 0: setNEXTDASH_RUN_AS_ROOT=1.
Podman has a Docker-compatible socket that nextDash can be pointed at, but it is not tested. Going by Podman's source, the list, details, start/stop, logs and update checks should work; health in the list and health alerts, removal and out-of-memory events, and the Disk tab are known to differ, and updating, recreating and Compose actions are unverified. See MANUAL §15.6 before turning actions on.
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NEXTDASH_DOCKER_SOCKET=/var/run/docker.sock
- NEXTDASH_DOCKER_CONTROL=1 # start/stop/restart/update/remove
- NEXTDASH_WRITE_TOKEN=change-me-to-a-long-random-string
# - NEXTDASH_RUN_AS_ROOT=1 # only if the log says "owned by gid 0"
On Unraid (Docker → nextDash → Edit), fill in Docker socket, Docker socket variable and Write token. Set Docker actions to 1 for actions. Leave Run as root at 0.
Details, including Synology and QNAP: manual. How containers, bookmarks and monitoring link up: self-hosted guide.
Unraid
nextDash reads an Unraid server through its own API (Unraid 7.2, or older with the Unraid Connect plugin): seven widgets and alerts. Connect it once under Config → Unraid with a Viewer API key. nextDash only reads. Manual
Security
nextDash has no user accounts. Anyone who can reach the address can read and change the data. Do not expose it directly to the internet. Use one of these:
- A private network such as Tailscale.
- A reverse proxy with authentication (Traefik, Caddy or nginx).
- Local only: reach it over
127.0.0.1and use an SSH tunnel. The server itself listens on all addresses, so with Docker publish the port as127.0.0.1:8080:8080.
Also:
- Write token:
NEXTDASH_WRITE_TOKENrequires the headerX-NextDash-Tokenon writes. It is not a login: the dashboard hands it to every browser that opens it. Use a long random string (openssl rand -hex 32). - Capture token:
/addand the share target cannot send a header. Give themNEXTDASH_CAPTURE_TOKEN. - Activity trail: it can contain URLs and searches. Treat the files as private.
More: manual § 24.
Production Docker
docker-compose.prod.yml mounts only ./data and limits memory to 512 MB. The images are built for amd64, arm64 and 32-bit ARM v7. For TLS, run docker compose -f docker-compose.proxy.yml up -d with deploy/Caddyfile. Recommended LAN/VPS environment:
environment:
- PORT=8080
- NEXTDASH_WRITE_TOKEN=change-me-to-a-long-random-string
- NEXTDASH_CORS_ORIGINS=https://dash.example.com
- NEXTDASH_ACTIVITY_LOG=mutate,status,security
- NEXTDASH_ACTIVITY_LOG_PERSIST=1
# Capture from a bookmarklet, share sheet or script without the write token:
# - NEXTDASH_CAPTURE_TOKEN=a-second-long-random-string
# Automatic backups:
# - NEXTDASH_AUTO_BACKUP_KEEP=7
# - NEXTDASH_AUTO_BACKUP_DIR=/backups # mount a volume there
# Logging:
# - NEXTDASH_LOG_LEVEL=warn
# - NEXTDASH_ACTIVITY_LOG_FORMAT=json # for Loki or Vector
# - NEXTDASH_ACTIVITY_LOG_URLS=host
# - NEXTDASH_ACTIVITY_LOG_MAX_AGE_DAYS=30
# System widgets (see Quick Start):
# - NEXTDASH_HOST_ROOT=/host/root
# - NEXTDASH_DOCKER_SOCKET=/var/run/docker.sock
# - NEXTDASH_DOCKER_CONTROL=1
# Rate limits and headers:
# - NEXTDASH_OUTBOUND_REQUESTS_PER_MIN=120
# - NEXTDASH_SSRF_API_RATE_PER_MIN=60
# - NEXTDASH_STATUS_PING_RATE_PER_MIN=300
# - NEXTDASH_TRUSTED_PROXIES=10.0.0.0/8
# - NEXTDASH_CSP=off
# For everyone on this server:
# - DISABLE_TELEMETRY=true
# - DISABLE_UPDATE_CHECK=true
# - DISABLE_NEWS_FEED=true
GET /version returns the version and commit.
Environment variables (reference)
| Variable | Default | Purpose |
|---|---|---|
PORT |
8080 |
HTTP port (1–65535) |
NEXTDASH_LISTEN_ADDR |
(all) | Listen on one address only, such as 127.0.0.1 or a Tailscale address |
NEXTDASH_DATA_DIR |
./data |
Where pages, bookmarks, settings and uploads live |
NEXTDASH_WRITE_TOKEN |
(unset) | Require X-NextDash-Token on writes |
NEXTDASH_ALLOWED_HOSTS |
(unset) | With a write token: extra host names the dashboard may be opened by, comma-separated (*.example.com allowed, * turns the check off). IPs, localhost and private names always pass |
NEXTDASH_CAPTURE_TOKEN |
(unset) | A token that opens only /add and the share target |
NEXTDASH_CORS_ORIGINS |
(unset) | Extra origins allowed to use the API, comma-separated; * for all. Extensions are always allowed. |
NEXTDASH_CSP |
on | off disables the Content-Security-Policy header |
NEXTDASH_OUTBOUND_REQUESTS_PER_MIN |
120 |
Rate limit for requests the server makes for you |
NEXTDASH_SSRF_API_RATE_PER_MIN |
60 |
Rate limit for the preview, icon, archive, check-URL and alert-test APIs |
NEXTDASH_STATUS_PING_RATE_PER_MIN |
300 |
Rate limit for /api/ping, the status checks the dashboard runs in your browser |
NEXTDASH_TRUSTED_PROXIES |
(unset) | Addresses or CIDR ranges whose X-Forwarded-For is believed, comma-separated |
NEXTDASH_AUTO_BACKUP_KEEP |
3 |
How many of the newest automatic backups are kept (1–50); the newest of each of the last 4 weeks and 6 months are kept on top |
NEXTDASH_AUTO_BACKUP_DIR |
data/auto-backups |
Where automatic backups are stored (absolute path) |
NEXTDASH_LOG_LEVEL |
info |
error, warn, info or debug. Detail level in the app wins. |
NEXTDASH_ACTIVITY_LOG |
mutate,status |
off, or channels: mutate, status, open, security, health, sources, feeds, archive, backup, store, widgets, notify, search, keys, nav, session, clienterror. Activity trail in the app wins. |
NEXTDASH_ACTIVITY_LOG_PERSIST |
off | 1 writes a rotating activity.log in the data directory |
NEXTDASH_ACTIVITY_LOG_FILE |
data/activity.log |
Another path for that file |
NEXTDASH_ACTIVITY_LOG_FORMAT |
text |
text (a readable sentence) or json on stdout, for Loki or Vector |
NEXTDASH_ACTIVITY_LOG_URLS |
full |
How URLs and search text appear in the trail: full, host or off |
NEXTDASH_ACTIVITY_LOG_SAMPLE |
(unset) | Sampling per channel, e.g. open=0.1,keys=0.25 |
NEXTDASH_ACTIVITY_LOG_MAX_AGE_DAYS |
0 (off) |
Delete rotated activity.log.N files older than this |
NEXTDASH_ACTIVITY_OPEN_DETAIL |
basic |
What a bookmark-open record holds: off, basic or full. Open detail in the app wins. |
NEXTDASH_HOST_ROOT |
(unset) | Prefix the host's disks are mounted under, for the Disks widget |
NEXTDASH_HOST_PROC |
/proc |
The host's /proc, for Processor and Memory |
NEXTDASH_DOCKER_SOCKET |
(unset) | The Docker socket, for the Containers widget and view; unset hides the widget |
NEXTDASH_DOCKER_CONTROL |
off | 1 allows start, stop, pause, restart, update and remove in the Containers view |
NEXTDASH_COMPOSE_MAP |
(unset) | Where a stack folder on the host appears inside nextDash, hostPrefix:containerPrefix, comma separated; the Containers view reads, edits and runs a stack's compose files there |
NEXTDASH_COMPOSE_IMAGE |
docker:29.7-cli |
The helper image that runs docker compose for a stack |
NEXTDASH_COMPOSE_SOCKET |
(derived) | The Docker socket's path on the host, when nextDash cannot tell from its own mounts |
NEXTDASH_COMPOSE_DOCKER_CONFIG |
(unset) | A folder with config.json mounted read-only into the helper, so a pull can use your registry logins |
NEXTDASH_DISABLE_PREFETCH |
off | 1 skips the icon prefetch at start-up |
NEXTDASH_HEALTH_STARTUP_GRACE |
15m |
How long after start-up a bookmark's first failed check is held back (a Go duration such as 15m); 0 turns it off |
NEXTDASH_DEMO |
off | 1 makes a public demo. It empties NEXTDASH_DATA_DIR on every start and reset; never set it on your own install. See deploy/demo/docker-compose.yml |
NEXTDASH_DEMO_RESET_MINUTES |
30 |
Demo only: minutes between resets |
NEXTDASH_DEMO_IDLE_MINUTES |
10 |
Demo only: reset this many minutes after the last change |
NEXTDASH_DEMO_ANALYTICS_ID |
unset | Demo only: Umami website id for the demo's visits |
NEXTDASH_RUN_AS_ROOT |
off | 1 keeps the container running as root |
NEXTDASH_BUNDLE |
on | off serves scripts and stylesheets one by one, for debugging |
NEXTDASH_STATIC_MUTABLE |
off | 1 re-hashes assets on every request, for a bind-mounted ./static |
DISABLE_ICON_SETS |
off | 1 stops fetching the app icon sets (dashboard-icons, selfh.st/icons) from jsDelivr |
DISABLE_TELEMETRY |
off | true turns analytics and the daily install count off for everyone |
NEXTDASH_DISABLE_INSTALL_PING |
off | 1 turns the daily install count off and leaves analytics alone, for test runs and CI |
DISABLE_UPDATE_CHECK |
off | true turns the daily GitHub release check off for everyone |
DISABLE_NEWS_FEED |
off | true stops fetching posts from nextdash.cc |
NEXTDASH_OFFLINE |
off | 1 closes every request nextDash makes on its own (update check, news, install count, analytics, icon sets, weather, Wikidata tags, domain expiry, Wayback dates); what you set up yourself stays on |
Features
The manual explains everything.
- Bookmarks: pages and categories, edit mode, tags and tag suggestions, Bookmarks view, inbox.
- Search and keyboard: everything by key, search, commands, finders and sums, Quick launch.
- Monitoring: uptime and collection health, network tests, alerts, status page, watch feeds.
- Widgets: 64 kinds, including a custom widget for any JSON service.
- Containers: Containers view, updates and rollback, compose stacks, Glances.
- Appearance: themes, backdrops and theme studio.
- Data: imports, backups and trash, sources, logs, an emergency page with every link that opens without the server.
What nextDash talks to
- Browser extension: load
extension/as an unpacked extension. Manual - Capture route:
GET /add?url=…&title=…saves to the inbox. Manual integrations/: shell, Raycast, Dropzone 5, Ulauncher, Alfred, Apple Shortcuts.- Bookmarklet and share sheet: manual.
- Webhooks, an MCP endpoint and an assistant; the last two are off by default.
- Sent by itself: a daily install count (random id and version), a release check on GitHub and the nextdash.cc news feed. Turn each off under Config → Behavior → Privacy & sync. None carries bookmarks, settings or addresses. Manual
Contributing
Issues and pull requests for bugs, features and translations are welcome. See CONTRIBUTING; report security problems privately.
Branch workflow
| Branch | Purpose |
|---|---|
dev |
Day-to-day development (tests, CI, scripts) |
main |
The published release, for Docker and the public repository page |
Branch from
devand open pull requests intodev.CI runs on pushes and pull requests to
dev.When a release is ready, merge
dev→mainwith:git checkout dev ./scripts/release-to-main.sh v1.11.0The script merges, removes development-only files from
main(tests, Playwright, internal scripts), tags the release, pushes, and publishes a GitHub Release withgh. One-time setup:brew install ghandgh auth login.
Do not merge dev into main by hand on GitHub.
Clone for development: git clone, then git checkout dev.
Clone for Docker or stable use: stay on the default main branch.
License
MIT
探索相关项目
加载中…