{"id":22531250,"url":"https://github.com/p3yman/aha","last_synced_at":"2025-04-09T16:54:37.426Z","repository":{"id":57174711,"uuid":"298169074","full_name":"p3yman/aha","owner":"p3yman","description":"💡  A simple CLI tool to save your awesome aha moments right where you live!","archived":false,"fork":false,"pushed_at":"2020-09-30T05:27:40.000Z","size":85,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-19T18:31:28.182Z","etag":null,"topics":["cli","idea","javascript","terminal"],"latest_commit_sha":null,"homepage":"","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/p3yman.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":"2020-09-24T04:30:42.000Z","updated_at":"2023-12-01T13:49:32.000Z","dependencies_parsed_at":"2022-08-28T20:52:27.439Z","dependency_job_id":null,"html_url":"https://github.com/p3yman/aha","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/p3yman%2Faha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p3yman%2Faha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p3yman%2Faha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p3yman%2Faha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p3yman","download_url":"https://codeload.github.com/p3yman/aha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074126,"owners_count":21043478,"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":["cli","idea","javascript","terminal"],"created_at":"2024-12-07T08:06:47.605Z","updated_at":"2025-04-09T16:54:37.401Z","avatar_url":"https://github.com/p3yman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💡 Aha!\n\n`aha` is a simple CLI tool to save your awesome aha moments right where you live!\n\n![carbon](https://user-images.githubusercontent.com/2673262/94447107-1e5ab680-01b2-11eb-846d-3a1f95b80aee.png)\n\n## Installation\nYou can install it globaly from npm:\n```shell\n$ npm install --global aha-moment\n```\nNow it's available using `aha` command.\n\n## Usage\nYou have a small CRUD actions with this tool.\n\n---\n\n### Add\nUsing add you can create new aha moment in the local database.\n\nYou can use this quick create way:\n```bash\n$ aha add \"What a great idea!\"\n```\n\nOr you can just run `aha add` and create a new aha moment by answering some questions. Just enter a title and select a status and you are good to go.\n\n![Screen Shot 2020-09-28 at 17 04 39](https://user-images.githubusercontent.com/2673262/94443120-7a6f0c00-01ad-11eb-8acb-068e1a967249.png)\n\n### List\nTo see a list of saved moments, use `aha list` command.\n\n![Screen Shot 2020-09-28 at 17 17 48](https://user-images.githubusercontent.com/2673262/94444023-8b6c4d00-01ae-11eb-8d3a-606e9b288442.png)\n\n### Show\nYou can see the details of an aha moment using `aha show` command:\n```bash\n$ aha show 17\n```\n\nWhich `17` is the moment's ID.\n\n![Screen Shot 2020-09-28 at 17 49 27](https://user-images.githubusercontent.com/2673262/94447992-19e2cd80-01b3-11eb-9245-d8d5eea65ac2.png)\n\n\n### Remove\nTo remove an aha moment, use `aha remove` command.\n\nYou can do it in a quick way:\n```bash\n$ aha remove 24\n```\n\nWhich `24` is the moment's ID.\n\nOr you can just run `aha remove` and choose from available moments.\n\n![Screen Shot 2020-09-28 at 17 23 10](https://user-images.githubusercontent.com/2673262/94444719-4a286d00-01af-11eb-9196-6335e2e08acf.png)\n\nIn both ways, you should confirm the delete action. Default is no.\n\n### Edit\nYou can edit each moment. Just run the `aha edit`. Select the right moment and update it.\n\n![Screen Shot 2020-09-28 at 17 30 09](https://user-images.githubusercontent.com/2673262/94445575-43e6c080-01b0-11eb-92d1-a8e2faa6084f.png)\n\nIf you know the ID you can make the process faster:\n```bash\n$ aha edit 24\n```\nThen you can change the title and the status.\n\n### Clear\nTo clear all the saved moments you can use `aha clear`.  Be careful that this command is not undoable. Just run the command, confirm deleting and it's done.\n\n![Screen Shot 2020-09-28 at 17 32 11](https://user-images.githubusercontent.com/2673262/94445798-8d371000-01b0-11eb-9b1d-b48b8af2f07d.png)\n\n---\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n\n## License\n\n[MIT License](https://mit-license.org/) © [Peyman Eskandari](https://github.com/p3yman/)\n\n\n## TODO\n- [x] list\n- [x] add\n- [x] show\n- [x] remove\n- [x] clear\n- [x] edit\n- [ ] add-note\n- [ ] remove-note\n- [ ] clear-notes\n- [ ] export\n- [ ] import\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp3yman%2Faha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp3yman%2Faha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp3yman%2Faha/lists"}