🌐 Web generator: type a username, see your black hole

Aperta
#12 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, javascript, node.js
Ambito
api, full-stack

Direzione di ricerca

Start with scripts/preview.js to understand the existing pipeline, then inspect api/hole.js, public/index.html and public/app.js. Build the API response and interactive generator described in the issue, including tests for invalid users and unknown themes. Done means the page works on mobile, the image endpoint returns SVG with the specified cache header, and the README links to the live generator.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted iteration-2

Idea

No setup at all: a page where you type your username, pick theme and mode, watch the hole live and copy one Markdown line:

![My black hole](https://<host>/api/hole?user=your-username&mode=languages)

Where to start

  • api/hole.js (Vercel function): validate the query, call the same pipeline as scripts/preview.js, answer image/svg+xml with Cache-Control: s-maxage=14400.
  • public/index.html + public/app.js: input, theme/mode/style pickers, live <img> preview and a copy button.
  • Optional GITHUB_TOKEN env var for higher limits.

Done when

  • /api/hole with tests for bad input (invalid user, unknown theme)
  • Page works on mobile
  • README links to the live generator
Lingua principale
JavaScript
Stelle
0
Fork
0
Merge medio
1m
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FelipeBeltranING/commit-horizon

Tutte le issue di FelipeBeltranING/commit-horizon

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.