Skip to content

InterEthos/still-our-internet-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conventional Commits Cloudflare Pages Alpine.js Astro Bun

Still Our Internet Website

This is the repository for the Still Our Internet static site, visible on stillourinternet.org. This site is optimized for performance, a11y, SEO, and a minimal Javascript footprint.

InterEthos

Stack

  • Astro 6 — static output, client-side routing via <ClientRouter />
  • Alpine.js — lightweight interactivity, no build step
  • Plain CSS — vanilla css using new(ish) features as a loose framework
  • Bun — package manager and script runner

Quickstart

bun install    # requires node 22+
bun dev        # local development
bun build      # outputs to ./dist
bun preview    # preview the ./dist build locally

Deployment

Assuming a static site host like Cloudflare Pages, Github Pages, Netlify, etc.

  • Build command: bun run build
  • Set output directory: dist
  • Ensure Node version is set to 22 or higher in environment settings
  • Add any environment variables (none by default, except maybe the node-version)

Directory structure

/
├── public/
│   ├── _headers
│   ├── favicon/
│   ├── fonts/            # Self-hosted webfonts
│   └── robots.txt
│
├── src/
│   ├── assets/
│   │   ├── fonts/        # Source fonts (processed by Vite)
│   │   └── images/       # Images processed by Astro's <Image /> component
│   │
│   ├── components/
│   │   ├── Footer.astro
│   │   ├── Header.astro
│   │   ├── Nav.astro
│   │   └── SEO.astro     # <title>, meta, canonical, OG, Twitter card
│   │
│   ├── config/
│   │   └── site.ts       # Site-wide constants
│   │
│   ├── layouts/
│   │   └── BaseLayout.astro
│   │
│   ├── pages/
│   │   ├── index.astro
│   │   ├── (other pages).astro
│   │   └── 404.astro
│   │
│   └── styles/
│       ├── reset.css
│       ├── variables.css
│       └── global.css
│
├── astro.config.mjs
├── tsconfig.json
└── package.json

About

Website for Still Our Internet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from undone-labs/astro-starter