Skip to content

profullstack/opensourcelegends.com

Repository files navigation

Open Source Legends

Trading cards for the people who built the software the world runs on.

A collectible card series celebrating the legends of open source — open-licensed artwork and stats, limited physical foil packs, and on-chain collectibles. The marketing site is Next.js 16 (App Router) + React 19 + TypeScript, using CSS Modules (no Tailwind).

Develop

pnpm install
pnpm dev         # http://localhost:3000
pnpm build       # production build
pnpm start       # serve the production build

Database (Turso / libSQL)

The waitlist is stored in Turso (SQLite). Configure two env vars — copy .env.local.sample to .env.local and fill in the token:

TURSO_DATABASE_URL=libsql://opensourcelegendscom-profullstack.aws-us-west-2.turso.io
TURSO_AUTH_TOKEN=...        # turso db tokens create opensourcelegendscom

Create the schema once (and after schema changes):

npm run db:migrate         # applies db/schema.sql

Set the same two vars in the Railway service. POST /api/waitlist inserts email signups into the waitlist table.

Project layout

src/
  app/
    page.tsx            # landing page
    cards/              # the full set gallery
    collect/            # physical packs · NFT mint · print-your-own
    contribute/         # how to nominate / add a legend
    globals.css         # design tokens + utilities
    layout.tsx          # header/footer shell + metadata
  components/
    LegendCard.tsx      # the trading-card component (matches the print design)
    Header / Footer / WaitlistForm
  data/
    legends.ts          # the card data — one typed record per legend
    site.ts             # site config (name, links, license)
public/
  crest.svg             # the Open Source Legends crest
  cards/                # optional portrait art: /cards/<slug>.jpg
docs/                   # print proofs / design references

Add a legend

Append a typed record to src/data/legends.ts (see the spec on the /contribute page) and, optionally, drop portrait art at public/cards/<slug>.jpg. Cards with no portrait render a monogram fallback. Then open a pull request.

License

Card art and data are CC BY-SA 4.0. Code is MIT.

A Profullstack project.

About

Trading cards for the people who built the software the world runs on.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors