What is medium-ai?
medium-ai is an open-source AI-powered text editor whose design is inspired by Medium. It offers regular rich text editor features along with AI-powered autosuggestion and text editing. The project is independent and not affiliated with Medium.com.
Key Features
- AI Autosuggestion: Predicts possible ideas while typing and offers suggestions.
- AI Edit: Allows text editing based on user instructions.
Getting Started
- Clone the repository:
git clone https://github.com/wingedrasengan927/medium-ai
- Access the project directory:
cd medium-ai
Frontend Installation
- Access the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the dev server:
npm run dev
Backend Installation
- Create an OpenAI API key and save it in a
.env
file inbackend/app/config
:OPENAI_KEY=your_api_key
- Create and activate a virtual environment using Anaconda:
conda create -n medium-ai python==3.9 anaconda conda activate medium-ai
- Install backend dependencies:
cd backend pip install -r requirements.txt
- Start the backend server:
python main.py
End Notes
medium-ai is still in its early stages and may have bugs. Contributions and suggestions are welcome. Remember to frequently back up your articles.
Acknowledgements
License
This project is licensed under the MIT License.