VisDoc is a tool to convert the onboarding documentation of OSS projects (contributing guides) to task trees.
This repository contains the backend of the VisDoc framework. To get the code for the frontend, please refer to this repository.
This project was written using Python 3.9.6. Create a virtual environment inside the root folder:
python3 -m venv visdoc_env
source visdoc_env/bin/activate
VisDoc uses OpenAI APIs to make API calls. Set your OpenAI API key as a environment variable:
export OPENAI_API_KEY='YOUR_KEY'
Or if you want to permanently add the key to environment variables, modify your ./zshrc or ./bashrc files and add the key.
Use pip to install the requirements.
pip install -r requirements.txt
Finally, to run the Flask Server:
python3 app.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.