- TypeScript 90.6%
- CSS 2.6%
- Astro 2.6%
- MDX 2.1%
- JavaScript 1.8%
- Other 0.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| docs | ||
| public | ||
| scripts | ||
| server | ||
| services/black-hole | ||
| src | ||
| tests/black-hole | ||
| .dockerignore | ||
| .gitignore | ||
| astro.config.mjs | ||
| CLAUDE.md | ||
| components.json | ||
| components.json.bak | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Interactives
Interactive learning tools and games hosted at interactives.neeldhara.com.
Getting Started
npm install
npm run dev
Open http://localhost:4321 with your browser to see the result.
Forgejo and Dokploy
Dokploy builds this repository from the main branch in Forgejo. The main app uses the checked-in Dockerfile to serve the static Astro site and /sync WebSocket endpoint. A separate Dokploy service builds services/black-hole/Dockerfile from the same Forgejo repository and serves the Black Hole room and experiment APIs. The main app proxies /api/black-hole/* to that service. Forgejo Actions runs the classroom synchronization test, Black Hole tests, and Astro production build on every push to main.
Black Hole is part of the /i/black-hole interactive. Mount the persistent Black Hole data volume at /data on its API service to preserve rooms, experiments, and learned policy data. The main app stores admin data in its own persistent /app/data volume. Set BLACK_HOLE_BACKEND on the main app to the Dokploy service's internal address. Live AI turns use LAYA_URL and the optional TYPESAFE_API_KEY for Jev. Set FORGEJO_TOKEN on the main app to enable admin actions that commit interactive metadata to Forgejo.
Tech Stack
- Astro
- Tailwind 4
- shadcn/ui