{"id":13752403,"url":"https://github.com/talwat/pokeget-rs","last_synced_at":"2025-05-09T19:32:03.720Z","repository":{"id":186490324,"uuid":"675245456","full_name":"talwat/pokeget-rs","owner":"talwat","description":"A better rust version of pokeget.","archived":false,"fork":false,"pushed_at":"2025-04-19T06:51:20.000Z","size":83,"stargazers_count":158,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T13:49:02.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/talwat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-06T09:23:49.000Z","updated_at":"2025-04-19T06:51:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"a43a99f4-8c5d-4beb-acc3-1761e2510b22","html_url":"https://github.com/talwat/pokeget-rs","commit_stats":null,"previous_names":["talwat/pokeget-rs"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talwat%2Fpokeget-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talwat%2Fpokeget-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talwat%2Fpokeget-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talwat%2Fpokeget-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/talwat","download_url":"https://codeload.github.com/talwat/pokeget-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253312305,"owners_count":21888618,"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-08-03T09:01:05.274Z","updated_at":"2025-05-09T19:32:03.692Z","avatar_url":"https://github.com/talwat.png","language":"Rust","funding_links":[],"categories":["Rust","Terminal","\u003ca name=\"funny\"\u003e\u003c/a\u003eFunny tools"],"sub_categories":["Fancies"],"readme":"# pokeget-rs\n\nA better rust version of pokeget.\n\n## Usage\n\n`pokeget \u003cpokemon\u003e`\n\nFor more info, run `pokeget --help`.\n\n### .bashrc\n\nIf you're using pokeget on shell startup, such as in `.bashrc`,\nthen instead of running `pokeget \u003cpokemon\u003e`, you can write the output\nto a file by doing: `pokeget \u003cpokemon\u003e \u003e file.txt`\nand then have something like `cat file.txt` in your bashrc.\n\nThis makes your shell initialization practically instant, but obviously\nwon't work with random pokemon. pokeget is already fairly fast,\nso using it on shell initialization is also not a very large bottleneck.\n\n### Examples\n\n#### Using multiple pokemon\n\n`pokeget bulbasaur pikachu random`\n\n#### Using pokedex ID's\n\n`pokeget 1 2 3`\n\n#### Using alternative forms\n\n`pokeget raichu sandslash meowth --alolan`\n\n#### Using regions\n\n`pokeget kanto`\n\n## Installation\n\n### Cargo *(recommended)*\n\nThe recommended installation method is to use cargo:\n\n```sh\ncargo install pokeget\n```\n\nand making sure `$HOME/.cargo/bin` is added to `$PATH`.\n\n### AUR\n\nIf you're on Arch, you can also use the AUR:\n\n```sh\nyay -S pokeget\n```\n\n### Git\n\nYou can also clone the repository and compile manually by doing:\n\n```sh\ngit clone --recurse-submodules https://github.com/talwat/pokeget-rs.git\ncd pokeget-rs\ncargo build --release\nmv target/release/pokeget ~/.local/bin\n```\n\nand making sure `$HOME/.local/bin` is added to `$PATH`.\n\n### Adding a directory to $PATH\n\n#### Bash \u0026 Zsh\n\nAppend this to your `.bashrc` or `.zshrc`:\n\n```sh\nexport PATH=\"\u003cpath\u003e:$PATH\"\n```\n\n#### Fish\n\nRun this in your CLI:\n\n```sh\nfish_add_path \u003cpath\u003e\n```\n\n## Updating\n\nJust rerun `cargo install pokeget` or `git pull` on the repository and then recompile.\n\n## Why?\n\nBecause the first pokeget was slow, bloated, and super complicated, so I decided to make a better version in rust.\n\nNow, instead of precomputing all the sprites and uploading them to a repo, pokeget will\nbe able to compute them on-demand which makes everything much more flexible.\nRust enables that computation to be done much more quickly than something like python.\n\nIt will also draw the sprites 2x smaller by using half squares.\n\n## What about other projects?\n\npokeget-rs has an edge over projects like the old pokeget, pokeshell, etc... since it's in rust.\n\nIt also is significantly (5.5x) faster than krabby which is another very similar project.\n\nFor more info, go to [OTHER_PROJECTS.md](OTHER_PROJECTS.md).\n\n## What about big sprites?\n\nGone. Reduced to atoms.\n\nIn all seriousness, I've just decided to not deal with them since it's significantly\nextra work that I don't want to deal with. They were rarely used, and looked ugly\nin small terminal windows, so there was little use in keeping them.\n\n## Credits\n\nThis time, the sprites are from [pokesprite](https://github.com/msikma/pokesprite) and pokeget uses them with a git submodule.\n\nSprites are embedded into the binary, so pokeget won't download them. This is a good compromise,\nsince while the binary may be large, pokeget can execute almost instantly and while offline.\n\n## License\n\npokeget uses the MIT license, so feel free to fork it and customize it as you please.\nIf you're unsure about any of the internal workings of pokeget, [open an issue](https://github.com/talwat/pokeget-rs/issues),\nand I'll answer whatever question you might have.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalwat%2Fpokeget-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalwat%2Fpokeget-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalwat%2Fpokeget-rs/lists"}