{"id":47793762,"url":"https://github.com/pybites-open-source/pybites_rust","last_synced_at":"2026-04-03T16:01:10.863Z","repository":{"id":316089247,"uuid":"1060679483","full_name":"PyBites-Open-Source/pybites_rust","owner":"PyBites-Open-Source","description":"Download the Pybites Rust exercises - https://rustplatform.com/","archived":false,"fork":false,"pushed_at":"2026-02-15T12:18:20.000Z","size":89,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T14:44:58.930Z","etag":null,"topics":["exercises","rust"],"latest_commit_sha":null,"homepage":"https://rustplatform.com/","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/PyBites-Open-Source.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T11:22:17.000Z","updated_at":"2026-02-15T12:18:22.000Z","dependencies_parsed_at":"2025-09-22T17:30:29.012Z","dependency_job_id":null,"html_url":"https://github.com/PyBites-Open-Source/pybites_rust","commit_stats":null,"previous_names":["markgreene74/pybites_rust","pybites-open-source/pybites_rust"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/PyBites-Open-Source/pybites_rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Fpybites_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Fpybites_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Fpybites_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Fpybites_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PyBites-Open-Source","download_url":"https://codeload.github.com/PyBites-Open-Source/pybites_rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Fpybites_rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31362673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["exercises","rust"],"created_at":"2026-04-03T16:00:28.728Z","updated_at":"2026-04-03T16:01:10.845Z","avatar_url":"https://github.com/PyBites-Open-Source.png","language":"Rust","readme":"# pybites_rust\n\n## Exercise downloader\nExercise downloader for https://rustplatform.com/\n\n### Quickstart\n\n- install the exercise downloader, open a terminal and run:\n    ```shell\n    cargo install pybites-rust-download\n    ```\n- `cd` to the directory where you want to save the exercises\n- run the downloader (free exercises only):\n    ```shell\n    pybites-rust-download\n    ```\n- to download **all** exercises (requires premium), set your API key:\n    ```shell\n    PYBITES_API_KEY=your-api-key-here pybites-rust-download\n    ```\n    Or export it in your shell profile so you don't have to pass it every time:\n    ```shell\n    export PYBITES_API_KEY=your-api-key-here\n    ```\n    You can find your API key on your [profile page](https://rustplatform.com/profile/).\n\n### Navigating exercises\n\nOnce downloaded, use [fzf](https://github.com/junegunn/fzf) to quickly jump between exercise directories:\n\n```bash\ncdf() {\n  local dir\n  dir=$(find . -type d | fzf --reverse --prompt='cd to\u003e ') || return\n  cd \"$dir\"\n}\n```\n\nAdd this to your shell profile, then type `cdf` to fuzzy-search and `cd` into any exercise.\n\n### Compile it manually\n\nMaybe you want to have a look at the code and make some changes.\n\n- clone the repo and `cd` to the main directory of the project\n- compile the downloader\n    ```shell\n    cd exercise_downloader \u0026\u0026 \\\n        cargo build --release\n    ```\n- cd back to the project main directory\n    ```shell\n    cd ..\n    ```\n- run the downloader from the project main directory\n    ```shell\n    ./exercise_downloader/target/release/pybites-rust-download\n    ```\n- the downloader will create `exercises` in the current directory\n\n### Makefile\n\nAlternatively, use the Makefile. Be aware that this will create `exercises` in the project main directory, where the `Makefile` is located.\n\n```shell\nmake download-exercises\n```\n\n### Examples\n\n\u003cdetails\u003e\u003csummary\u003e(Open to see some output examples ...)\u003c/summary\u003e\n\nUsing `cargo` to install from crates.io.\n\n```shell\n➜ cargo install pybites-rust-download\n  Installing pybites-rust-download v0.1.4\n\n(...)\n\n   Compiling pybites-rust-download v0.1.4\n    Finished `release` profile [optimized] target(s) in 15.61s\n  Installing /my/home/.cargo/bin/pybites-rust-download\n   Installed package `pybites-rust-download v0.1.4` (executable `pybites-rust-download`)\n\n➜\n```\n\nUsing `make` to compile and execute the exercise downloader.\n\n```shell\n➜ make download-exercises\nmake build-executable \u0026\u0026 \\\nexercise_downloader/target/release/pybites-rust-download \u0026\u0026 \\\necho ... all done\nmake[1]: Entering directory '/my/home/github/pybites_rust'\ncd exercise_downloader \u0026\u0026 \\\ncargo build --release\n    Finished `release` profile [optimized] target(s) in 0.06s\nmake[1]: Leaving directory '/my/home/github/pybites_rust'\nDownloading the exercises from Pybites Rust (rustplatform.com) ✅\n'exercises' will be created in the current directory (/my/home/github/pybites_rust/exercises)\n21 exercises found!\n\n\"Strings and Slices\" ✅\n\"URL Query Parameter Parser\" ✅\n\"Hello Rustacean\" ✅\n\"Vectors and Vec\" ✅\n\"Variables and Mutability\" ✅\n\"Json Serialization\" ✅\n\"Simple Calculations\" ✅\n\"Working with Enums\" ✅\n\"Vowel Counter\" ✅\n\"Using Structs in Rust\" ✅\n\"Fibonacci Sequence\" ✅\n\"Primitive Types\" ✅\n\"Basic Tokenizer\" ✅\n\"Reverse a String\" ✅\n\"Variable Assigment and Mutability\" ✅\n\"Ownership and Borrowing\" ✅\n\"Scopes and Shadowing\" ✅\n\"Function Return Values\" ✅\n\"Result Handling\" ✅\n\"Basic Struct\" ✅\n\"Control Flow\" ✅\n... all done\n```\n\n\u003c/details\u003e\n\n### Credits\n\nOriginally created by [Giuseppe Cunsolo](https://github.com/markgreene74).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites-open-source%2Fpybites_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybites-open-source%2Fpybites_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites-open-source%2Fpybites_rust/lists"}