#Arc
Arc is designed for saving and annotating things. Specifically, interesting texts found online.
Usage:
arc add <url>
should cause the system to :
- download the specified file,
- detect the mimetype
- extract the text into a .txt version for searc purposes
- extract or guess at the title
- open $EDITOR with the title pre-loaded for editing, and ready to accept annotation
- save the article under the specified title id, storing a log in a master file
arc search <txt>
should cause the system to do a full-text search for content which matches (via grep
)
arc open <id>
should cause the system to open the specified text in the appropriate program, where can be a partial id, the system soft-matching to the simplest choice for the input
arc comment <id>
should cause the system to open the comments file for editing, and render it on closing.
arc browse <id>
should cause the system to open the annotations for the specified text in the browser
arc sync <location> <cmd>
should cause the system to sync its contents with a specified remote repository, using
rsync -e "<cmd>"
to make the connection (these variables can be edited directly at the
top of the script.)