轻量级豆包阅读器。 将需要朗读的内容paste到页面中,然后在豆包中点击“全文阅读”,即可朗读。 Built with Flask and TailwindCSS.
- Clone the repository:
git clone https://github.com/yourusername/simple-txt-reader.git
cd simple-txt-reader- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Start the application:
python app.py-
Open your web browser and navigate to
http://localhost:5000 -
The application will display the contents of
read.txt. You can:- Click "Toggle Edit Mode" to switch between viewing and editing
- Make changes in edit mode
- Click "Save Changes" to update the content
simple-txt-reader/
├── app.py # Main application file
├── read.txt # Text file to be displayed
├── requirements.txt # Python dependencies
├── templates/ # HTML templates
│ └── index.html # Main page template
└── README.md # Project documentation
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.