https://github.com/pablopunk/doce.dev
Delicious Open Code Environments.
https://github.com/pablopunk/doce.dev
ai builder homelab hosting selfhosted vibe-coding website
Last synced: about 2 months ago
JSON representation
Delicious Open Code Environments.
- Host: GitHub
- URL: https://github.com/pablopunk/doce.dev
- Owner: pablopunk
- License: agpl-3.0
- Created: 2025-11-04T18:28:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-04-13T20:25:10.000Z (about 2 months ago)
- Last Synced: 2026-04-13T22:27:02.347Z (about 2 months ago)
- Topics: ai, builder, homelab, hosting, selfhosted, vibe-coding, website
- Language: TypeScript
- Homepage: https://doce.dev
- Size: 42.8 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# doce.dev - Self-Hosted AI Website Builder
Doce stands for:
- **D**elicious **O**pen **C**ode **E**nvironments
- **D**eploy **O**n **C**ontainers **E**asily
- **D**eploy **O**rchestrated **C**ontainers
- **D**eploy **O**nce **C**rash **E**verywhere
- **D**on't **O**ver **C**omplicate **E**nvironments
- ...
## docker-compose.yml
Deploy doce.dev on your own infrastructure using Docker Compose:
```yaml
# docker-compose.yml
services:
doce:
image: ghcr.io/pablopunk/doce.dev:latest
container_name: doce
restart: unless-stopped
ports:
- "4321:4321"
volumes:
- ./data:/app/data # DB and project files
- /var/run/docker.sock:/var/run/docker.sock # Required since we use containers to run project previews
```
That's still the whole deployment story. Internally, `doce` now runs:
- the Astro app
- one central `opencode` server
- the queue worker
Project previews still run in isolated Docker Compose stacks, but OpenCode itself is now global and shared.
## How it works
- Provider auth lives in the central OpenCode runtime, not per project
- Project files live under `data/projects//preview`
- Preview containers bind-mount those project folders directly
- The UI proxies project-scoped requests to the single OpenCode server
- API-key and subscription-style auth methods are surfaced from upstream OpenCode
## Notes
- `./data` contains the SQLite database, OpenCode state, and all project files
- If you delete `./data`, doce.dev starts from scratch with a clean database and no projects/providers
- The bundled OpenCode runtime currently uses a permissive permission config intended for trusted self-hosted usage
## License
Copyright (C) 2025 Pablo P Varela
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
See [LICENSE](./LICENSE) for the full text.