Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: Shareable settings via URL

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
frontend

Direzione di ricerca

Start by reading the ROADMAP entry and tracing how settings are initialized, stored, and used by the export controls. Then identify where the existing Copy button and startup logic are implemented. Done means the proposed settings can be encoded in the URL hash, restored on startup, and shared with a link while keeping code client-side; the issue does not name specific files or tests.

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

Descrizione

enhancement
Problem

There is no way to share or bookmark a configuration. Every page load starts from the same defaults, so a specific setup (code, language, theme, font, scale, frame options) cannot be linked to a colleague, saved as a bookmark, or embedded in documentation. The ROADMAP lists this under "Gaps found while reading the repo".

Proposed solution

Encode the current settings into the URL hash (for example #code=<base64>&lang=rust&theme=dracula&scale=2) and read them back on startup. A "Copy link" button next to the existing Copy button, or a share action in the export section. The hash keeps everything client-side and avoids server round-trips.

Scope suggestion for a first version: code, language, theme, font, scale, window frame, line numbers, background preset. Omit localStorage-backed UI theme and filename template.

Alternatives considered
  • Query string parameters: same idea, but the hash never reaches a server, which matches the privacy-first posture.
  • Export/import a JSON settings file: more friction for casual sharing.
  • Do nothing: the tool remains session-only by design, but the ROADMAP explicitly lists this as a gap.
Project constraints
  • This keeps everything client-side (no backend, no server-side processing; code never leaves the browser).
  • This does not introduce a DOM-screenshot library (html2canvas, dom-to-image); rendering stays on Canvas2D/SVG.
  • This respects resolution honesty: the export canvas is drawn at true scale and never upscaled after the fact.
Lingua principale
Rust
Stelle
1
Fork
0
Merge medio
2g 2h
PR unite (30g)
8

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 suradet-ps/codeframe

Tutte le issue di suradet-ps/codeframe

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.