Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shitaisays

A terminal-styled wall of funny AI-generated text snippets. Paste what the model said, tag the model, and upvote the most unhinged outputs.

Stack

  • Alpine.js (CDN) for the UI — no build step
  • Cloudflare Pages for static hosting
  • Pages Functions (functions/api/...) for the API
  • Workers KV for shared storage — secrets stay server-side, nothing sensitive is exposed to the browser
public/                 static site (served by Pages)
functions/api/snippets/ API: list / add / vote / delete  (Pages Functions)
wrangler.toml           project + KV binding config

Setup

  1. Create a KV namespace and copy the ids into wrangler.toml:
    npx wrangler kv namespace create SNIPPETS
    npx wrangler kv namespace create SNIPPETS --preview
  2. Seed it with an empty list (optional — the API treats missing as []):
    npx wrangler kv key put --binding SNIPPETS snippets '[]'

Run locally

npx wrangler pages dev   # serves public/ + functions/, with KV

Deploy

Either connect the GitHub repo in the Cloudflare dashboard → Pages (build output dir public/, bind the SNIPPETS KV namespace), or:

npx wrangler pages deploy

About

Terminal-styled wall of AI-generated text snippets

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages