tiny-press / docs /enhancements.md
sriharsha-cr's picture
Project files
ebc3bf5

A newer version of the Gradio SDK is available: 6.18.0

Upgrade

Enhancements

The hackathon MVP covers the core loop well. Here's where it could go next.

Quick wins

  • Batch compression β€” let users paste multiple texts and compress them all at once
  • Export history β€” download past runs as a CSV straight from the History tab
  • Named presets β€” save favourite token budget + model combinations and reuse them
  • .env support β€” load config from a .env file instead of setting env vars manually

Worth building next

  • Iterative compression β€” if the quality score drops below a threshold, automatically retry with a slightly relaxed budget
  • Custom focus instructions β€” let the user say "keep all numbers" or "preserve action items only" before compressing
  • Chunked compression β€” handle inputs that exceed the model's context window by splitting, compressing each chunk, then merging
  • REST API β€” a simple /compress endpoint via Flask so other tools can call TinyPress programmatically

Longer term

  • VS Code extension β€” compress selected text without leaving the editor
  • CLI tool β€” tinypress compress --budget 500 input.txt for terminal users
  • Hosted version β€” a SaaS wrapper with usage tracking and team history
  • Domain-specific fine-tuning β€” train a compressor specialised for legal, medical, or code content

🏠 README.md