This tool allows you to interact with the local API of LM Studio to create optimized tutorials suitable for articles and guides. It provides an easy-to-use interface for generating tutorials based on user input and converts them into HTML format for convenient sharing.
Note: The usage of LM Studio API is free and does not require an internet connection.
-
Clone the repository:
git clone https://github.com/saladinlorenz/tutorial-writer.git cd tutorial-writer
-
Download and Setup LM Studio:
- Download LM Studio from lmstudio.ai.
- Ensure you have at least version 0.2.16 of LM Studio.
- Set up LM Studio according to the installation instructions provided.
-
Download a Model:
- Download the gemma-2b-it.fp16 model or any other model suitable for your needs.
-
Run the Script:
python run.py
-
Input Your Request:
- Follow the prompts to input your request for a tutorial. Enter your query when prompted.
-
Save Tutorial:
- The generated tutorial will be saved as an HTML file and logged in a text file.
- Python 3.x
- LM Studio API (running locally)
git clone https://github.com/saladinlorenz/tutorial-writer.git
cd tutorial-writer
This project is licensed under the MIT License.