No description
- TypeScript 63.3%
- Svelte 29.7%
- JavaScript 4.9%
- CSS 1.2%
- Dockerfile 0.5%
- Other 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Adds a Bearer-key surface so a machine caller can read the estate without a session cookie. /api/v1 was already public in hooks for the CI deploy endpoint; the route is what enforces the key, so this extends the same pattern to reads. - lib/server/api-auth.ts: requireApiKey(request, permission) with read, deploy and admin, where an admin key satisfies everything - lib/server/v1/views.ts: pure merge and log shaping, unit tested - GET /api/v1, /stacks, /stacks/:name, /stacks/:name/logs, /system - demuxes Docker's multiplexed log frames instead of stringifying the buffer 13 new unit tests, 133 total, svelte-check clean. |
||
| .forgejo/workflows | ||
| .plans | ||
| .vscode | ||
| scripts | ||
| sidecar | ||
| src | ||
| static | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc | ||
| alerting.todo.yaml | ||
| code-review-report.md | ||
| debug-api.todo.yaml | ||
| docker-compose.dev.yml | ||
| docker-compose.prod.yml | ||
| docker-compose.test.yml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| monitoring-ui.todo.yaml | ||
| package-lock.json | ||
| package.json | ||
| portainer-features.todo.yaml | ||
| README.md | ||
| registry-images.todo.yaml | ||
| svelte.config.js | ||
| tsconfig.json | ||
| ui-cleanup.todo.yaml | ||
| vite.config.ts | ||
| vitest.config.ts | ||
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
npx sv@0.16.1 create --template minimal --types ts --install npm odin-ui
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.