README.md (2981B)
1 # manus 2 3 A tracker for journal manuscripts, with a command line and a local web 4 interface. It keeps tasks per manuscript, previews each manuscript's sources, 5 handles revisions, and manages a shared BibTeX bibliography. 6 7 Written in Go using only the standard library. Data is plain text in GNU 8 recutils format, so it can be edited by hand and diffs cleanly in git. 9 10 ## Layout on disk 11 - `$MANUS_ROOT` (default `~/manus`) holds one directory per manuscript. 12 - `$MANUS_ROOT/.tracker/<id>.rec` holds a manuscript's fields, tasks and comments. 13 - `$MANUS_ROOT/BIBnew.bib` is the shared bibliography. 14 - If `$MANUS_ROOT` is a git repository, every change commits the files it 15 touched, and only those files. Set `MANUS_NOGIT=1` to turn this off. 16 17 ## Install 18 ``` 19 make && make install # PREFIX=/usr/local 20 ``` 21 Optional tools: `git`, `pandoc` (docx/odt previews), `pdftoppm` (PDF 22 thumbnails), `pdfinfo`/`pdftotext` (DOI from a PDF). 23 24 ## Use 25 ``` 26 manus discover # unregistered directories 27 manus init growana-model jung-canals # detects kind, source dir, main file, repo 28 manus ls # overview with task counts and health flags 29 cd ~/manus/growana-model 30 manus add "Redraw Fig. 3" -d 2026-12-15 31 manus mv '#1' doing 32 manus rel '#1' blocks '#2' 33 manus note '#1' "colour scale too dark" 34 manus set stage=submitted journal="J. Glaciol." 35 manus todos -a # import TODO/FIXME/\todo as tasks 36 manus revise -c reviews.txt # tag, worktree, carry over tasks, one task per comment 37 manus ref add 10.1017/jog.2016.1 # or a title query, or a PDF 38 manus ref check # missing/unused keys, no-DOI entries 39 manus ref export -f csl -o refs.json # cited entries for Word/Zotero coauthors 40 manus serve # http://127.0.0.1:8090/ 41 ``` 42 Run `manus help` for every command. 43 44 ## Concepts 45 - **Task status** is `todo`, `doing`, `blocked` or `done`. Use `blocked` for 46 outside waits (coauthor, editor). A task is also shown as blocked (marked `*`) 47 while a task that `blocks` it is still open. 48 - **Relations** are `blocks`, `relates`, `duplicates` and `parent`. They can 49 cross manuscripts (`other-ms#4`), and the inverse direction is derived. 50 - **Revisions** are new entries (`<id>-r1`) with `parent` set. For git sources, 51 the submitted state is tagged `submitted-r0` and the revision is checked out 52 as a `git worktree` on branch `revision-r1`. Other sources are copied. Open 53 tasks move to the revision. 54 - **Reviewer comments** (`revise -c`) are split into one task per paragraph. 55 Lines such as `Reviewer 2` or `Editor` start a new reviewer. 56 - **References** are fetched from Crossref and doi.org with scholarref's 57 conventions (key `Name2010`, abbreviated journal and given names, no 58 `url`/`month`). A DOI that is already present is never added twice. 59 Existing entries are never rewritten; new ones are appended. 60 61 ## Development 62 ``` 63 make check # tests 64 make lint # go vet, gofmt 65 ```