Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frikadellios/rsbun
Reactive Static Astro/Bun website with i18next & tailwind
https://github.com/frikadellios/rsbun
astro bun i18next tailwind website-template
Last synced: about 2 months ago
JSON representation
Reactive Static Astro/Bun website with i18next & tailwind
- Host: GitHub
- URL: https://github.com/frikadellios/rsbun
- Owner: Frikadellios
- Created: 2023-10-18T17:13:55.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-23T15:08:31.000Z (about 1 year ago)
- Last Synced: 2024-04-13T14:14:59.718Z (9 months ago)
- Topics: astro, bun, i18next, tailwind, website-template
- Language: TypeScript
- Homepage: https://rsbun-3ozdh.kinsta.page/
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro Starter Kit with Bun.sh
# [hosted by Kinsta](https://kinsta.com/?mkrc=GEAEKF)For Kinsta hosting:
```sh
yarn install
yarn dev --host
yarn build```
For local development:
```sh
bun install
bun run dev
bunx --bun run build
```
For Cloudflare - comming soon## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```text
/
├── public/
│ └── locales/
│ └── en/translate.json
│ └── uk/translate.json
│ └── ru/translate.json
├── src/
│ └── pages/
│ └── contacts.astro
│ └── services.astro
│ └── info.astro
│ └── about.astro
│ └── index.astro
└── package.json
```Any static assets, like images, can be placed in the `public/` directory.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `yarn install` | Installs dependencies |
| `yarn dev` | Starts local dev server at `localhost:4321` |
| `yarn build` | Build your production site to `./dist/` |
| `yarn preview` | Preview your build locally, before deploying |
| `yarn add astro ...` | Run CLI commands like `astro add`, `astro check` |For Bun.sh and local development:
| Command | Action |
| :------------------------------------------------------| :----------------------------------------------- |
| `bun install` | Installs dependencies |
| `bun run dev` or `bunx --bun astro dev` | Starts local dev server at `localhost:4321` |
| `bun run build` or `bunx --bun astro build` | Build your production site to `./dist/` |
| `bun run preview` | Preview your build locally, before deploying |
| `bunx astro add ...` or `bun install` | Run CLI commands like `astro add`, `astro check` |## 👀 Want to learn more?
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).