Skip to content
PommeMCPublic

About

pomme.rs, the Pomme website

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pomme Website License

The official Pomme website, built with Astro 5, powered by Bun, and styled with plain CSS.


Getting Started

How to get the project running on your local machine for development.

Prerequisites

Local Development

  1. Clone the repository. If you plan to make changes, create a fork first!

    git clone https://github.com/PommeMC/Website.git
    cd Website
  2. Install all required dependencies.

    bun install
  3. Start the development server.

    bun run dev

    The site will be available at http://localhost:4321

Building

bun run build

This command builds a production-ready deployment into the dist directory. The site runs as a Cloudflare Worker, deployed by the Deploy workflow in .github/workflows on every push to master and every night.

Preview the production build

bun run preview

Project Structure

website/
├─ src/
│  ├─ pages/         # Astro route files
│  ├─ components/    # Astro components
│  ├─ layouts/       # Shared layout templates
│  ├─ styles/        # Brand tokens, a small reset and per-page CSS
│  └─ content/       # Markdown or MDX content
├─ public/           # Static assets (favicon, icons, etc.)
├─ astro.config.mjs  # Astro configuration
└─ package.json

Development Notes

This project uses Astro 5, which introduces faster rebuilds, partial hydration improvements, and first-class hybrid rendering.

Interactive bits (nav menu, download picker, hero parallax, comparison slider) are small inline scripts; no client-side framework is shipped.

Styles are plain CSS: brand.css holds the colour and type tokens every page shares, global.css a small reset, and each page or area has its own file.

Bun handles dependency management and script execution, replacing Node for faster dev cycles.

Pages are statically generated by default, with selective SSR where necessary.

Contributing

Fork the repository and create a new branch:

git checkout -b feat/my-change

Make your edits and run locally:

bun run dev

Ensure the build passes:

bun run build

Submit a pull request targeting the main branch.

License

The supporting code is GPL-3.0 licensed.

About

pomme.rs, the Pomme website

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages