paper-ai-release-24-07-21/README_en.md
Shi Sheng 3868ad4acf
docs: 更新了中英文的README文件 (#39)
* Update README.md

* Update README.md

* Update README_en.md

* Update README.md

* Update README.md

* Update README.md

* Update README_en.md

* Update README.md

* Update README_en.md
2024-04-20 09:33:12 +08:00

4.0 KiB

the fastest way to create a paper with real references

paper-ai

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


Features

Using AI for Paper Writing

  • 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.

Editing and Modifying

  • Directly edit and modify the AI-generated content in the editor.
  • Use the provided tools to adjust text style and layout.

Demo

You can view a fully working demo at paperai.life.

Deploy to Vercel

Deploy with Vercel

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

  1. Using docker pull command
docker pull 14790897/paperai:latest
  1. 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

Environment variable description

  1. 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.
  2. 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.
  3. NEXT_PUBLIC_SEMANTIC_API_KEY sets the semantic scholar key to increase the number of requests
  4. NEXT_PUBLIC_PUBMED_API_KEY sets the pubmed key to increase the number of requests

Clone and run locally

# 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

Reference

  1. semantic scholar api: https://api.semanticscholar.org/api-docs/#tag/Paper-Data/operation/get_graph_paper_relevance_search
  2. pubmed api: https://www.ncbi.nlm.nih.gov/books/NBK25500/
  3. i18n: https://locize.com/blog/next-app-dir-i18n/

LICENSE

This repository is licensed under the MIT License

See the LICENSE file for details.