Skip to content
プロジェクト

概要

Open-source research workspace: search academic papers, upload PDFs, inline citations with on-PDF highlights, reader-mode Q&A, and get citation export in four formats.

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
+1
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Thesys

Python 3.11+ License: AGPL-3.0 Issues

Research workspace: search open-access papers (OpenAlex and arXiv), upload PDFs, ask questions with on-page highlights, compare two papers on a claim, and export citations.

Citations jump to the PDF. Chat needs an OpenAI API key; pairwise compare uses TypeSafe Jev.

Copy backend/.env.example to backend/.env, set OPENAI_API_KEY, EMAIL, and TYPESAFE_API_KEY (compare), then:

docker compose up --build

Open http://127.0.0.1:5000. First build is large; first ingest downloads Hugging Face weights inside the container. docker compose down keeps the thesys-data volume (papers and chat). docker compose down -v deletes it.

Full on-PDF highlights from a cited passage

Features

Chat over your research papers. Answers cite sources in the document. Click a citation to jump the preview. Full highlights the whole retrieved passage; Focused (default) paints a tighter highlight on the same passage. Toggle in the PDF header.

Focused line highlights vs Full passage

Reader mode. Open a paper full-width, select text, and ask about that span.

Reader mode

Document summaries. Follows a general format of problem statement, methodology, key findings, limitations, and metrics. Citations still jump to the highlighted passage.

Document summary

Figures and diagrams. Ingest describes plots, pipelines, and other figures so chat and summaries can cite them. Click a citation to highlight the figure on the page.

Figure citation highlight

Compare two papers. Select two library PDFs, turn Compare on, and ask about one claim. TypeSafe Jev classifies each retrieved pair as corroboratory, contradictory, or neutral; the side panel lists those pairs with confidence. Without TYPESAFE_API_KEY, compare is unavailable.

Compare two papers on a claim

Discover papers. Search open-access literature from OpenAlex and arXiv in one pool, then preview a record, open the link, or add it to the library.

Paper search

Library and export. Session files in one place. Bibliography export as BibTeX, RIS, EndNote, or CSV.

My Library

Citation export

How it runs

  • Frontend: React (Vite) on port 5000
  • Backend: FastAPI on port 8000
  • RAG: docling-rs ingest → Chroma + BGE embeddings → BGE reranker
  • OCR: off by default (DO_OCR=false); set DO_OCR=true for scanned PDFs
  • Chat: OpenAI via LangChain
  • Compare: TypeSafe Jev (TYPESAFE_API_KEY)
  • Paper search: OpenAlex + arXiv (open-access; optional OpenAlex API key)
  • Citations: CiteAs (uses EMAIL)

App data is under backend/data/. First ingest downloads embedding/rerank weights (Hugging Face). GPU helps; CPU works and is slower.

Without Docker

Needs Python 3.11+, Node.js 20+, and an OpenAI API key (or use Docker above).

python -m venv .venv
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
pip install -r requirements.txt
cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env

Set at least OPENAI_API_KEY and EMAIL in backend/.env. TYPESAFE_API_KEY is required for Compare (TypeSafe Jev). HF_TOKEN is optional (Hugging Face rate limits). OPENALEX_API_KEY is optional. DO_OCR defaults to false; set it to true to OCR scanned / image-only PDFs on ingest (slower).

cd backend
python main.py
cd frontend
npm install
npm run dev

Open http://127.0.0.1:5000. The UI talks to VITE_API_BASE_URL (default http://127.0.0.1:8000).

License

AGPL-3.0. Maintained by Sreehari. Issues and pull requests are welcome; start from an issue if the change is large.

関連プロジェクトを探す

読み込み中…