AI Text Transformer Toolbox
March 25, 2025 ยท View on GitHub
A Linux-based application that allows users to apply various text transformations using a local large language model (LLM) via the Ollama API.
Features
- Two-sided interface with input and output text areas
- Multiple transformation options using pre-defined system prompts
- Integration with local LLMs via Ollama API
- Support for various input formats (TXT, Markdown, DOCX, PDF)
- Ability to save transformed text to files
- Persistent user preferences for model selection
Installation
- Ensure you have Python 3.8+ installed
- Install Ollama from https://ollama.com/
- Install required dependencies:
pip install -r requirements.txt
Usage
- Start the application:
streamlit run app.py
- Enter or upload text in the left panel
- Select transformation options in the center panel
- View and edit the transformed text in the right panel
- Download the transformed text as needed
System Requirements
- Linux operating system
- Python 3.8+
- Ollama installed and running locally
- Internet connection (for initial setup only)
License
This project is open source and available under the MIT License.