{"id":13902928,"url":"https://github.com/vihu/gogo","last_synced_at":"2025-04-15T10:33:34.771Z","repository":{"id":54568641,"uuid":"334553909","full_name":"vihu/gogo","owner":"vihu","description":"Terminal bookmark manager","archived":false,"fork":false,"pushed_at":"2024-02-26T00:41:35.000Z","size":86,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T22:05:52.193Z","etag":null,"topics":["bookmarks","cli","rust","terminal"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gogo","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vihu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-31T02:11:02.000Z","updated_at":"2025-01-23T06:02:07.000Z","dependencies_parsed_at":"2024-11-08T10:43:36.573Z","dependency_job_id":"eadfdeb2-6072-48cc-a7ad-0c5d9e823837","html_url":"https://github.com/vihu/gogo","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"46039a8d8817d793c869cf9db32aeb278b9697d0"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihu%2Fgogo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihu%2Fgogo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihu%2Fgogo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihu%2Fgogo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vihu","download_url":"https://codeload.github.com/vihu/gogo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249051949,"owners_count":21204923,"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":["bookmarks","cli","rust","terminal"],"created_at":"2024-08-06T22:01:30.237Z","updated_at":"2025-04-15T10:33:34.526Z","avatar_url":"https://github.com/vihu.png","language":"Rust","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"# gogo\n\n![build](https://github.com/vihu/gogo/actions/workflows/rust.yml/badge.svg) ![release](https://github.com/vihu/gogo/actions/workflows/release.yml/badge.svg)\n\nA mnemonic terminal url opener. Also a personal minimal terminal bookmark\nmanager.\n\nIf you live mostly in the terminal and want quick access to some of your most\nfrequently visited websites, this little tool can help you achieve that.\n\nAn example scenario:\n\n1. I often visit `https://crates.io`.\n2. I often search for a crate on crates.io.\n\nTo do so in the terminal, I run **once** `gogo add cr https://crates.io`.\nThis allows me to do:\n\n```shell\n$ gogo cr\nopening: \"https://crates.io\"\n```\n\nSome websites support `/search?q={query}`, for those you can also do:\n\n```shell\n$ gogo search cr serde\nopening: \"https://crates.io/search?q=serde\"\n```\n\n#### Requirements\n\n- Install [rust](https://www.rust-lang.org/tools/install) (tested with 1.46+).\n- Export `GOGODB_PATH` env var to something like: `/path/to/gogo.sqlite`.\n- Supply a browser executable with `gogo set_browser /path/to/browser`.\n\nPS: For MacOS browser, try this (Firefox as an example):\n\n```shell\n$ gogo set_browser /Applications/Firefox.app/Contents/MacOS/firefox-bin\n```\n\n#### Installation\n\n```shell\n$ cargo install gogo\n```\n\n#### Tips\n\n- `gogo ls` will print an ascii table:\n\n```shell\n$ gogo ls\n+-----------+--------------------+\n| key       | val                |\n+-----------+--------------------+\n| cr        | https://crates.io  |\n+-----------+--------------------+\n```\n\n- `gogo check` will print the url for mnemonic:\n\n```shell\n$ gogo check cr\nvalue: \"https://crates.io\"\n```\n\n- `gogo import /path/to/exported_csv` and `gogo export` work as expected and\n  output a CSV file.\n\n- If you switch systems, just satisfy the requirements and copy over your\n  `gogo.sqlite` db to your new machine.\n\n#### Help\n\nThe help is self documenting:\n\n```shell\n$ gogo --help\nA mnemonic url opener\n\nUsage: gogo [mnemonic] [COMMAND]\n\nCommands:\n  open         Open url using mnemonic\n  set_browser  Allow setting preferred browser\n  rm           Remove mnemonic\n  check        Check mnemonic\n  import       Import CSV\n  ls           List mnemonic url mapping\n  get_browser  Get currently configured browser\n  export       Export database to CSV\n  search       Construct /search?q= query for known mnemonic\n  add          Add url mnemonic mapping\n  help         Print this message or the help of the given subcommand(s)\n\nArguments:\n  [mnemonic]  The mnemonic to open\n\nOptions:\n  -h, --help     Print help information\n  -V, --version  Print version information\n```\n\nAll subcommands have their own help sections, for example:\n\n```shell\n$ gogo add --help\nAdd url mnemonic mapping\n\nUsage: gogo add \u003cname\u003e \u003cval\u003e\n\nArguments:\n  \u003cname\u003e  url name\n  \u003cval\u003e   url value\n\nOptions:\n  -h, --help  Print help information\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihu%2Fgogo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvihu%2Fgogo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihu%2Fgogo/lists"}