Skip to content
WyindPublic

About

the site code for wyind.dev.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

HI!

This is the repository for my website.

React + Vite, hand-written CSS, no analytics. Behind everything sits one canvas: a reactive ASCII field. Glyphs heat up and swirl around your cursor, scatter when you click, and keep re-scrambling a few at a time when you're not there.

Local

npm install
npm run dev      # http://localhost:5173
npm run build    # production build -> dist/
npm run preview  # serve dist/ locally

Hosting: GitHub -> Cloudflare Pages

  1. Push to GitHub. The remote is already set up:

    git push origin main
  2. Cloudflare dashboard -> Workers & Pages -> Create -> Pages -> Connect to Git -> pick this repo.

    • Private repo is fine: when prompted, give the Cloudflare Pages GitHub app access to this repository. That permission grant is the part that used to make Cloudflare angry.
  3. Build settings (auto-filled if you choose the Vite framework preset):

    • build command: npm run build
    • output directory: dist
  4. Deploy. You get <project>.pages.dev. Every push to main redeploys it, and every pull request gets its own preview URL.

  5. Custom domain (if you want one): Settings -> Domains on the Pages project.

Alternative: no Git integration

Direct upload from your machine works too:

npm run build
npx wrangler pages deploy dist

About

the site code for wyind.dev.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages