Waste collection schedule for Boguty-Pianki, Poland as ICS (iCalendar) file.
Project inspired by HLTV Events by Jack LaFond
Inside of your Astro project, you'll see the following folders and files:
├── .config/ # tool configs
│ ├── .oxlintrc.json
│ ├── Caddyfile
│ └── Corefile
├── public/
├── src/
│ ├── components/
│ ├── layouts/
│ ├── lib/
│ ├── pages/
│ │ └── index.astro
│ └── styles/
│ └── global.css # TailwindCSS config
├── data.jsonl # schedule in JSONL format used when generating .ics
└── package.json
Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.
There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the public/ directory.
brew install caddy coredns- update A record and your local IP address in Corefile and Caddyfile
- update
server.allowedHostsin astro.config.ts - set your local DNS on phone
bun coredns(in one terminal)bun caddy(in another terminal)bun dev
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
bun install |
Installs dependencies |
bun dev |
Starts local dev server at localhost:4321 |
bun lint |
Lint code changes |
bun build |
Build your production site to ./dist/ |
bun preview |
Preview your build locally, before deploying |
bun astro ... |
Run CLI commands like astro add, astro check |
bun astro -- --help |
Get help using the Astro CLI |
This project was created using bun init in bun v1.3.4. Bun is a fast all-in-one JavaScript runtime.
