搜索真实文献并生成引用对应文献的AI论文
Go to file
2024-05-11 08:39:02 +08:00
.github/workflows ci: fork仓库自动更新 2024-02-27 11:28:01 +08:00
.vscode chore: sentry,i18n,buyvip 2024-02-12 13:28:16 +08:00
app fix: 图片源替换 2024-04-24 07:48:25 +08:00
components fix: 如果api是旧域名就改为新域名 2024-05-11 08:39:02 +08:00
pages feat: sentry 2024-02-11 22:49:17 +08:00
public chore: 取消service worker 2024-02-21 21:23:21 +08:00
supabase chore: email template 2024-02-14 21:37:52 +08:00
utils feat: 完成linuxdo oauth 2024-03-13 20:51:58 +08:00
.env.local fix: linuxdo登录环境变量 2024-04-02 10:41:55 +08:00
.env.production fix: 前端环境变量需要使用NEXT_PUBLIC_ 2024-03-13 21:07:10 +08:00
.gitattributes Initial commit 2024-01-16 10:54:40 +08:00
.gitignore fix: 本地开发需要环境变量 2024-04-01 15:39:51 +08:00
CHANGELOG.md chore: release 1.9.0 2024-03-13 21:22:58 +08:00
dictionaries.js feat: i18n中文英文 2024-02-12 20:55:14 +08:00
docker-compose.yml chore: docker-compose部署方式 2024-02-27 17:07:35 +08:00
Dockerfile ci: dockerfile 2024-02-11 18:37:02 +08:00
getPaper.py Initial commit 2024-01-16 10:54:40 +08:00
LICENSE docs: readme image license 2024-01-23 15:17:09 +08:00
middleware.ts feat: 完成linuxdo oauth 2024-03-13 20:51:58 +08:00
next.config.js chore: 优化掉不用的包 2024-02-29 22:32:42 +08:00
package-lock.json chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#34) 2024-04-19 08:30:11 +08:00
package.json chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#34) 2024-04-19 08:30:11 +08:00
postcss.config.js init 2024-01-18 15:46:18 +08:00
README_en.md docs: 更新了中英文的README文件 (#39) 2024-04-20 09:33:12 +08:00
README.md docs: 更新了中英文的README文件 (#39) 2024-04-20 09:33:12 +08:00
sentry.client.config.ts fix: GitHub登入可以插入信息 2024-03-07 10:08:17 +08:00
sentry.edge.config.ts feat: 可选的对文献相关性检验 2024-02-20 10:52:33 +08:00
sentry.server.config.ts feat: 可选的对文献相关性检验 2024-02-20 10:52:33 +08:00
tailwind.config.js style: 通告和加载提示 2024-02-25 14:21:32 +08:00
tsconfig.json feat: lemonsqueezy1 2024-02-05 23:11:47 +08:00
vercel.json others: vercel 2024-01-21 23:20:23 +08:00

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.