{"id":29792582,"url":"https://github.com/pwelty/slate","last_synced_at":"2026-04-13T02:02:19.423Z","repository":{"id":306659888,"uuid":"1018136634","full_name":"pwelty/slate","owner":"pwelty","description":"A Python-powered personal dashboard with YAML configuration, server-side rendering, and beautiful themes. Self-hosted, secure, and fast - bringing   together all your services in one interface.","archived":false,"fork":false,"pushed_at":"2025-07-26T20:01:58.000Z","size":2969,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T00:01:18.513Z","etag":null,"topics":["dashboard","homelab","personal-dashboard","python","self-hosted","server-side-rendering","tailscale","themes","widgets","yaml"],"latest_commit_sha":null,"homepage":"https://www.paulwelty.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwelty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-11T17:06:08.000Z","updated_at":"2025-07-26T20:02:01.000Z","dependencies_parsed_at":"2025-07-27T00:01:27.417Z","dependency_job_id":"52d2bb04-6167-4598-8faf-565b57798085","html_url":"https://github.com/pwelty/slate","commit_stats":null,"previous_names":["pwelty/slate"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pwelty/slate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelty%2Fslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelty%2Fslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelty%2Fslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelty%2Fslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwelty","download_url":"https://codeload.github.com/pwelty/slate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwelty%2Fslate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451492,"owners_count":24089312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dashboard","homelab","personal-dashboard","python","self-hosted","server-side-rendering","tailscale","themes","widgets","yaml"],"created_at":"2025-07-28T02:00:30.401Z","updated_at":"2026-04-13T02:02:19.411Z","avatar_url":"https://github.com/pwelty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slate\n\n[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![GitHub release](https://img.shields.io/github/v/release/pwelty/slate.svg)](https://github.com/pwelty/slate/releases)\n\n**A self-hosted dashboard that outputs pure HTML and CSS. No JavaScript. No framework. No runtime.**\n\nSlate fetches data from your services at build time and renders a static HTML file. The result works on anything with an HTML renderer — standard browsers, e-ink displays, screen readers, kiosk screens, `curl`.\n\n![Slate Dashboard](src/screenshots/slate%20db%20v1.png)\n\n## How it works\n\n1. You define your dashboard layout and widgets in YAML\n2. Slate's Python build step fetches data from your services (weather, tasks, bookmarks, etc.)\n3. Everything is rendered into a single static HTML+CSS file\n4. Serve it from anywhere — any web server, a CDN, a NAS, a Raspberry Pi\n\n**API keys stay on the server.** They're used at build time, never shipped to the browser. Rebuild on a cron to keep data fresh.\n\n## Why Slate instead of Dashy, Homepage, Homarr, etc.?\n\nEvery other self-hosted dashboard is a client-side application. Your browser loads a JavaScript bundle, makes API calls to your services, and renders the results. That means:\n\n- Your API keys are in the browser\n- Every page load triggers a cascade of network requests\n- You need CORS proxies or middleware for most integrations\n- Nothing renders without a JavaScript runtime\n\nSlate takes a fundamentally different approach. All data fetching happens server-side at build time. The output is flat HTML and CSS — no JavaScript required. This makes it:\n\n- **Secure** — API keys never leave the server\n- **Fast** — no client-side fetching, no loading spinners, instant render\n- **Universal** — works on any device that can render HTML\n- **Simple** — no runtime, no proxy, no CORS configuration\n- **Resilient** — the last successful build always works, even if a service is down\n\n## Quick start\n\n```bash\ngit clone https://github.com/pwelty/slate.git\ncd slate\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n\ncp config/dashboard-example.yaml config/dashboard.yaml\n# Edit config/dashboard.yaml with your services and API keys\n\npython3 src/scripts/dashboard_renderer.py\npython3 src/scripts/serve.py\n# Open http://localhost:5173\n```\n\n## Configuration\n\nYour dashboard is defined in `config/dashboard.yaml`:\n\n```yaml\ndashboard:\n  title: \"My dashboard\"\n  theme: \"paper\"\n\ncomponents:\n  - id: \"weather\"\n    widget: \"weather\"\n    position: { row: 1, column: 1, width: 4, height: 2 }\n    config:\n      location: \"30033\"\n      apiKey: \"YOUR_OPENWEATHER_KEY\"\n      units: \"fahrenheit\"\n\n  - id: \"tasks\"\n    widget: \"todoist\"\n    position: { row: 1, column: 5, width: 4, height: 2 }\n    config:\n      apiToken: \"YOUR_TODOIST_TOKEN\"\n      limit: 8\n```\n\n## Available widgets\n\n| Widget | Description |\n|--------|-------------|\n| **weather** | Current conditions via OpenWeatherMap |\n| **forecast** | Multi-day weather forecast |\n| **radar** | Weather radar map |\n| **todoist** | Tasks with priority indicators |\n| **trilium** | Recent notes from Trilium |\n| **linkwarden** | Bookmarks from Linkwarden |\n| **obsidian** | Notes via Obsidian Local REST API |\n| **pihole** | Pi-hole ad blocking stats (v5 and v6+) |\n| **rss** | RSS feed aggregation |\n| **clock** | Date and time (rendered at build) |\n| **link** | Service shortcuts |\n| **text** | Custom content |\n| **image** | Image display |\n| **status-summary** | System health overview |\n\n## Themes\n\nThemes are YAML files that define colors, typography, and spacing. Pick one in your config:\n\n| Theme | Description |\n|-------|-------------|\n| **paper** | Clean, classic, document-like |\n| **dark** | Professional dark |\n| **light** | Minimal light |\n| **ocean** | Deep blue |\n| **tokyo-night** | Developer favorite |\n| **synthwave** | 80s neon |\n| **retro** | Terminal aesthetic |\n| **minimal-dark** | Stripped-down dark |\n\nCreate your own by copying any theme YAML and editing the values.\n\n## Development\n\n```bash\n# Auto-rebuild on file changes\npython3 scripts/auto-rebuild.py\n\n# Manual build\npython3 src/scripts/dashboard_renderer.py\n\n# Serve locally\npython3 src/scripts/serve.py\n```\n\n## Deployment\n\nThe build output is a static `dist/` directory. Serve it however you want:\n\n```bash\n# Simple Python server\ncd dist \u0026\u0026 python3 -m http.server 8080\n\n# Nginx, Apache, Caddy — just point at dist/\n\n# Docker\ndocker-compose up\n\n# Tailscale for secure remote access\ntailscale serve / http://localhost:5173\n# Access at https://slate.yourname.ts.net\n```\n\nRebuild on a schedule (cron, systemd timer, etc.) to keep widget data fresh.\n\n## Creating widgets\n\nWidgets are YAML files in `src/widgets/`. Each defines a schema, optional data processing (Python), HTML template, and CSS:\n\n```yaml\nextends: \"widget\"\n\nmetadata:\n  type: \"api\"\n  description: \"My custom widget\"\n\nschema:\n  apiKey:\n    type: \"string\"\n    required: true\n\ndataProcessing:\n  generateData: |\n    import requests\n    response = requests.get(\"https://api.example.com\",\n                            headers={\"Authorization\": config['apiKey']})\n    result = response.json()\n\nwidget-body: |\n  \u003cdiv class=\"my-widget\"\u003e{{ result.data }}\u003c/div\u003e\n\ncss: |\n  .my-widget { color: var(--color-text); }\n```\n\nSee [widget definitions](docs/WIDGET_DEFINITIONS.md) for the full specification.\n\n## Documentation\n\n- [Configuration guide](docs/CONFIGURATION.md)\n- [Widget reference](docs/WIDGET_DEFINITIONS.md)\n- [Widget YAML specification](docs/WIDGET_YAML_SPECIFICATION.md)\n- [Theming architecture](docs/THEMING_ARCHITECTURE.md)\n- [Contributing](docs/CONTRIBUTING.md)\n\n## Alternatives\n\nSlate is one of many self-hosted dashboard projects. These are excellent and may be a better fit depending on your needs:\n\n- [Dashy](https://dashy.to/) — highly customizable, 50+ widgets, extensive theming\n- [Homepage](https://gethomepage.dev/) — modern design, 100+ service integrations\n- [Homarr](https://homarr.dev/) — GUI configuration, user management\n- [Heimdall](https://github.com/linuxserver/Heimdall) — simple application launcher\n- [Homer](https://github.com/bastienwirtz/homer) — minimal static homepage\n\nSlate's approach is different: server-side data fetching with pure HTML+CSS output, no JavaScript runtime required.\n\n## Contributing\n\nContributions are welcome — bug reports, widgets, themes, documentation.\n\n- [Issues](https://github.com/pwelty/slate/issues)\n- [Discussions](https://github.com/pwelty/slate/discussions)\n\n## License\n\nMIT License © 2025 Paul Welty\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwelty%2Fslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwelty%2Fslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwelty%2Fslate/lists"}