{"id":16476706,"url":"https://github.com/siadat/eton","last_synced_at":"2025-03-21T07:30:22.027Z","repository":{"id":31614721,"uuid":"35179738","full_name":"siadat/eton","owner":"siadat","description":"eton is a note-taking cli tool","archived":false,"fork":false,"pushed_at":"2021-02-24T14:51:02.000Z","size":39,"stargazers_count":53,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T00:15:20.735Z","etag":null,"topics":["go","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siadat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-06T19:54:48.000Z","updated_at":"2025-02-23T06:55:00.000Z","dependencies_parsed_at":"2022-09-07T04:10:26.891Z","dependency_job_id":null,"html_url":"https://github.com/siadat/eton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Feton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Feton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Feton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Feton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siadat","download_url":"https://codeload.github.com/siadat/eton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244757014,"owners_count":20505301,"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":["go","sqlite"],"created_at":"2024-10-11T12:43:23.665Z","updated_at":"2025-03-21T07:30:21.723Z","avatar_url":"https://github.com/siadat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eton\n\neton is a note-taking cli tool.\n\n  * sqlite database storage\n  * fast search\n  * quick and direct access to a note using a unique alias\n  * mark important notes\n\n## Install or upgrade\n\n    go get -u github.com/siadat/eton\n\n## Usage examples\n\n```shell\n# display the help message\neton -h\n```\n\n### new\n\n```shell\n# quick add\neton new 'eton is simple'\neton new 'https://...'\neton new '[ ] try eton'\n\n# create a new note using $EDITOR\neton new\n\n# add from STDIN\nps aux |eton new -\n\n# add files\neton addfile file1.txt file2.txt\nfind -type f |eton addfile -\n```\n\n### edit\n\n```shell\n# edit last item\neton edit\n\n# edit items\neton edit processes 1\n```\n\n### alias\n\n```shell\n# set a unique alias\neton alias 3 procs\n\n# use the alias, so you don't need to remember its id\neton cat procs\neton edit procs\neton show procs\n\n# rename an alias\neton alias procs processes\n\n# remove an alias\neton unalias processes\n```\n\n### mark\n\n```shell\n# mark an item\neton mark processes\n\n# unmark an item\neton unmark processes\n```\n\n### ls\n\n```shell\n# list recent items\neton ls\n\n# filter items containing words \"eton\" AND \"simple\"\neton ls eton simple\n\n# list all items\neton ls -a\n\n# only list marked items (short mode)\neton ls -s\n\n# pass items to xargs as filenames:\neton ls '[ ]' -l |xargs -i less {}\n```\n\n### more\n\n```shell\n# alias matching is fuzzy for these commands: cat, show, edit, mark, unmark\neton cat prs\n\n# view items 1, 2, and 3 using less\neton show 1 2 3\n\n# Notes are stored in `~/.etondb`\necho 'SELECT * FROM attributes LIMIT 10;' |sqlite3 ~/.etondb\n```\n\nSet `$EDITOR` environment variable to edit notes in your prefered editor, e.g., `export EDITOR=vim`.\n\nI would love to hear how you use eton. Make pull requests, report bugs, suggest ideas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiadat%2Feton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiadat%2Feton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiadat%2Feton/lists"}