{"id":17104176,"url":"https://github.com/keyang/notebox","last_synced_at":"2025-04-13T00:50:46.894Z","repository":{"id":35215320,"uuid":"39474405","full_name":"Keyang/notebox","owner":"Keyang","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-02T09:06:37.000Z","size":464,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T18:52:14.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Keyang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-21T23:12:59.000Z","updated_at":"2019-02-04T15:35:45.000Z","dependencies_parsed_at":"2022-08-04T00:30:16.538Z","dependency_job_id":null,"html_url":"https://github.com/Keyang/notebox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Fnotebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Fnotebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Fnotebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Fnotebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Keyang","download_url":"https://codeload.github.com/Keyang/notebox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650435,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T15:35:49.357Z","updated_at":"2025-04-13T00:50:46.867Z","avatar_url":"https://github.com/Keyang.png","language":"JavaScript","readme":"# Note Box\nNote box is a sqlite3 based Node.JS application which helps taking notes\nin command line. It has following features:\n\n* Completely Offline.\n* Note tags.\n* Password protection: AES256 encryption\n* Simple Commands\n* PIPE and Stream Support\n* full text search / tag based search\n* Single db file. easy to backup and migrate.\n\n## Installation\n```\nnpm install -g notebox\n```\n\n# CheatSheet (A way to notebox ninja)\n## New note\n\n```\nnb n \"this is my note\"\n```\n\nMultiple line note\n\n```\nnb n\n```\n\nStream data from a file\n\n```\nnb n \u003c myfile\n\n```\n\nSet tags (separated by comma)\n\n```\nnb n -t tag1,tag2,tag3 \"Hell world\"\n```\n\nStore binary file with a title\n\n```\nnb n --title mypdf.pdf \u003cmypdf.pdf\n```\nUse password to protect data\n\n```\nnb -n -p pwd \"my data here\"\n```\nor input password silently\n\n```\nnb -n \"my data \" -p\n```\n\n## Search note\n\nSimple text match\n\n```\nnb s \"word or phrase\"\n```\nor by tags\n\n```\nnb s -t tag1,tag2\n```\n\nor by id\n\n```\nnb s --id \u003cid\u003e\n```\n\nlist all note\n\n```\nnb s\n```\n\nremove all found items (find and remove)\n\n```\nnb s -t personal_tag --delete\n```\n\nextract stored file\n\n```\nnb s mypdf.pdf -o raw \u003e mypdf.pdf\n```\n\nexport a password protected file\n\n```\nnb s mypic.png -p -o raw \u003emypic.png\n```\n\n## Update\n\nUse $EDITOR to change note data.\n\n```\nnb u \u003cid\u003e\n```\nUpdate password\n\n```\nnb u \u003cid\u003e -p\n```\n\n## Note Editor\nChange $EDITOR env var to the path of your editor so that you can create note,\nupdate note using the editor.\n\n## Others\n\nShrink DB file\n\n```\nnb sql \"vacuum;\"\n```\nUse different db file\n```\ndb n -d \u003cdbFile Path\u003e\n```\n\n##More\nsee\n```\nnb help\n```\n\n#Encrypted Database\nBy default, sqlite database is not encrypted. Although password protected notes are aes256 encrypted, it is nice to have whole database file encrypted.\nTo do this, once notebox is installed, goto the installation folder and re-build / configure node-sqlite in node_modules folder.\n\nHere is how:\nhttps://github.com/mapbox/node-sqlite3#building-for-sqlcipher\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyang%2Fnotebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyang%2Fnotebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyang%2Fnotebox/lists"}