The fastest way to write a paper with true references
Website Documentation (detailed tutorials, highly recommended) · bilibili Video Tutorial
Features · Demo · Deploy to Vercel · Clone and run locally
- AI Write Feature: Click "AI Write" for a normal dialogue interaction. AI will provide writing suggestions or answer questions based on your input.
- Paper2AI Feature: Click "Paper2AI" to search for papers in Semantic Scholar or arxiv based on entered keywords. The system will integrate the information into your paper.
- Directly edit and modify the AI-generated content in the editor.
- Use the provided tools to adjust text style and layout.
You can view a fully working demo at paperai.life.
The above will also clone the repo to your GitHub, you can clone that locally and develop locally.
If you wish to just develop locally and not deploy to Vercel, follow the steps below.
- Using
docker pull
command
docker pull 14790897/paperai:latest
- Run Docker
docker run -d -p 3000:3000 \
-e NEXT_PUBLIC_AI_URL=CUSTOM_AI_URL \
-e NEXT_PUBLIC_OPENAI_API_KEY=CUSTOM_API_KEY \
14790897/paperai:latest
Replace CUSTOM_AI_URL
and CUSTOM_API_KEY
to your own AI URL and API key
- NEXT_PUBLIC_OPENAI_API_KEY sets the key. Simply leave the corresponding position in the settings interface (the gear in the upper right corner) blank, the predetermined variable will be used.
- NEXT_PUBLIC_AI_URL sets the upstream url. Simply leave the corresponding position in the settings interface (the gear in the upper right corner) blank, the predetermined variable will be used.
- NEXT_PUBLIC_SEMANTIC_API_KEY sets the
semantic scholar
key to increase the number of requests - NEXT_PUBLIC_PUBMED_API_KEY sets the
pubmed
key to increase the number of requests
# Clone the repository
git clone https://github.com/14790897/paper-ai.git
# Enter the project directory
cd paper-ai
# Install dependencies
npm install
# Run the project
npm run dev
- semantic scholar api: https://api.semanticscholar.org/api-docs/#tag/Paper-Data/operation/get_graph_paper_relevance_search
- pubmed api: https://www.ncbi.nlm.nih.gov/books/NBK25500/
- i18n: https://locize.com/blog/next-app-dir-i18n/
This repository is licensed under the MIT License
See the LICENSE file for details.