bento-web Svelte Themes

Bento Web

Website for the Discord bot Bento Bot

Bento Web

This website is for Bento Bot a Discord bot with server moderation tools and various entertaining commands.

The Bento Bot website is created with Astro and Svelte, with CSS from tailwindcss.

Getting Started

Dependencies

  • An external API with routes that provides the data as shown in the interfaces. Documentation on workarounds when contributing etc. will be added soon™️

Installing Bento web

  • git clone https://github.com/thebentobot/bento-web.git or download ZIP.
  • npm install assuming you have installed node.js
  • Create a dotenv file with the environment variables:
API_URL=
API_KEY=

Running Bento web

  • npm run dev

Database workflow

This repo uses Drizzle Kit to generate SQL and Wrangler to apply it to Cloudflare D1. See docs/database.md for full details.

Quick reference:

  • Generate SQL from schema: npm run db:generate
  • Apply locally: npm run db:execute:local -- --file ./drizzle/<migration>.sql
  • Apply remotely: npm run db:execute -- --file ./drizzle/<migration>.sql

Development

This website is mainly developed by Christian.

Pull requests are very welcome if the features/changes makes sense and are up to par in quality.

License

This project is licensed under the AGPL-3.0 License

The avatar illustration is done by Dan.

Top categories

Loading Svelte Themes