Skip to content

issue/fix: (#51) consolidate storage #56

Open
aaravmaloo wants to merge 3 commits into
masterfrom
fix/55-refactor-consolidate-storage
Open

issue/fix: (#51) consolidate storage #56
aaravmaloo wants to merge 3 commits into
masterfrom
fix/55-refactor-consolidate-storage

Conversation

@aaravmaloo
Copy link
Copy Markdown
Collaborator

Summary

Fixes #55.
Consolidated Toofan user data from 4 mixed-format files to 3 consistent JSON-based files:

  • config.txt + pb.txt -> config.json
  • results.txt -> results.jsonl
  • races.txt -> races.jsonl (same JSONL payload, extension/path corrected)

This removes custom string parsing, unifies persistence format, and keeps append-only logs efficient.

New data layout

~/.config/toofan/
├── config.json
├── results.jsonl
└── races.jsonl

@aaravmaloo aaravmaloo self-assigned this May 12, 2026
@aaravmaloo aaravmaloo added the in-review tag indicating the PR is in review label May 12, 2026
@aaravmaloo aaravmaloo linked an issue May 12, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-review tag indicating the PR is in review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: consolidate storage to JSON format

1 participant