feat: Add share-link backend and wire up the sheet
Add a small Go + SQLite service (server/) that stores character-sheet JSON blobs and returns short, content-addressed IDs, so sheets can be shared via a compact ?s=<id> link instead of an oversized inline payload. CharacterSheet.tsx now POSTs to the service on share and fetches by ID on load, falling back to the self-contained ?c= inline link when the backend is unreachable. Legacy ?c= links still decode. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
7
server/.gitignore
vendored
Normal file
7
server/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Compiled binary
|
||||
/share-svc
|
||||
|
||||
# SQLite database + WAL/SHM sidecars
|
||||
*.db
|
||||
*.db-wal
|
||||
*.db-shm
|
||||
Reference in New Issue
Block a user