Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1010 Bytes

File metadata and controls

45 lines (30 loc) · 1010 Bytes

TreeWriter: AI-Assisted Hierarchical Planning and Writing for Long-Form Documents

The source code for https://arxiv.org/abs/2601.12740

Demo video

Live demo: You can create your own document and try out TreeWriter at https://treer.ai

Note: Arc browser may not work. Please use Chrome.

Related work: TreeReader --- A tool that convert any paper into a tree

img.png

Development

If you don't have pnpm installed, you can install it with:

curl -fsSL https://get.pnpm.io/install.sh | sh -

Install dependencies:

pnpm install

Start server

Then, you can start the dev server with:

pnpm dev

Minimal MongoDB install (macOS Homebrew example):

brew tap mongodb/brew
brew install mongodb-community@7.0

to run mongodb (path depends on yourself)

mongod --dbpath /usr/local/var/mongodb