{"id":31531722,"url":"https://github.com/skwalexe/linux-on-drugs","last_synced_at":"2026-03-17T08:36:09.834Z","repository":{"id":38209263,"uuid":"466953341","full_name":"SkwalExe/linux-on-drugs","owner":"SkwalExe","description":"Gives custom drugs to your terminal 💊 - Output random colors really fast","archived":false,"fork":false,"pushed_at":"2022-06-09T03:48:07.000Z","size":3535,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T21:49:14.335Z","etag":null,"topics":["drugs","fun","linux","linux-on-drugs","rust","skwalexe"],"latest_commit_sha":null,"homepage":"https://skwalexe.github.io/linux-on-drugs/","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/SkwalExe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"SkwalExe","ko_fi":"SkwalExe","liberapay":"SkwalExe","custom":"https://www.paypal.com/paypalme/SkwalDev"}},"created_at":"2022-03-07T05:20:09.000Z","updated_at":"2025-05-24T12:17:12.000Z","dependencies_parsed_at":"2022-09-04T14:50:59.691Z","dependency_job_id":null,"html_url":"https://github.com/SkwalExe/linux-on-drugs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SkwalExe/linux-on-drugs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkwalExe%2Flinux-on-drugs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkwalExe%2Flinux-on-drugs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkwalExe%2Flinux-on-drugs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkwalExe%2Flinux-on-drugs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkwalExe","download_url":"https://codeload.github.com/SkwalExe/linux-on-drugs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkwalExe%2Flinux-on-drugs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30619217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T08:10:05.930Z","status":"ssl_error","status_checked_at":"2026-03-17T08:10:04.972Z","response_time":56,"last_error":"SSL_read: 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":["drugs","fun","linux","linux-on-drugs","rust","skwalexe"],"created_at":"2025-10-04T02:14:22.490Z","updated_at":"2026-03-17T08:36:09.824Z","avatar_url":"https://github.com/SkwalExe.png","language":"Rust","funding_links":["https://patreon.com/SkwalExe","https://ko-fi.com/SkwalExe","https://liberapay.com/SkwalExe","https://www.paypal.com/paypalme/SkwalDev"],"categories":[],"sub_categories":[],"readme":"# Linux on drugs🧪\n\n![](images/1.gif)\n\nGives custom drugs to your terminal 💊\n\nOutput random colors really fast\n\n# Installation 📦\n\n## Arch Linux 🐧\n\nLinux on drugs is in the AUR\n\n```bash\nyay -S linux-on-drugs\n```\n\n## Other 🪟🐧\n\n### With make - Linux 🐧\n\nBuild with make\n\n```bash\n# 📂 linux-on-drugs/\nmake\n```\n\nMove the binary\n\n```bash\n# 📂 linux-on-drugs/\nmake install\n```\n\n### Build from source - Linux 🐧 \u0026 Windows 🪟\n\n**Clone this repo**\n\n```bash\ngit clone https://github.com/SkwalExe/linux-on-drugs.git\n```\n\nbuild with [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)\n\n```bash\n# 📂 linux-on-drugs/\ncargo build --release\n```\n\n**[ LINUX ONLY ] :** Move the binary\n\n```bash\n# 📂 linux-on-drugs/\nsudo cp target/release/linux-on-drugs /usr/bin/linux-on-drugs\n```\n\n**On windows** the executable will be `target\\release\\linux-on-drugs.exe` you can move it wherever you want.\n\n# Usage 📝\n\n![](images/2.png)\n\n## --block-size\n\nThe `--block-size` option is used to set the size of each color block.\n\nThe number corresponds to the number of space/custom characters you want to use per color block.\n\n```bash\nlinux-on-drugs --block-size 20\n``` \n\n![](images/3.gif)\n\n## --content\n\nThe `--content` option is used to set the content of each color block.\n\nIt is a space by default but you can use any custom characters.\n\n```bash\nlinux-on-drugs --content \"*\"\n```\n\n![](images/4.gif)\n\n# How it works 🔬\n\nVery simple, the program select a color number from 1 to 255 and print a space with this background color.\n\n# Uninstall 🗑\n\n## With make\n\nRun make uninstall\n\n```bash\n# 📂 linux-on-drugs/\nmake uninstall\n```\n\n## removing the binary\n\n```bash\nsudo rm /usr/bin/linux-on-drugs\n```\n\n# Docker 🐳\n\n## Run the latest version\n\n```bash\ndocker run --rm -it ghcr.io/skwalexe/linux-on-drugs:main\n```\n\n## Test your changes 🚧\n\n### Build 🛠️\n\n```bash\n# 📂 linux-on-drugs/\ndocker build -t linux-on-drugs .\n```\n\n### Run 🏃\n\n```bash\ndocker run --rm -it linux-on-drugs [OPTIONS]\n```\n\n# Change log 📝\n\nFor version updates and bug fixes, please see our [CHANGELOG](CHANGELOG.md)\n\n# final\n\nIf you have any problem, don't hesitate to open an issue\n\n# contributing\n\n1. Start by [**forking** this repository](https://github.com/SkwalExe/linux-on-drugs/fork)\n\n2. Then clone your fork to your local machine.\n  ```git\n  git clone https://github.com/your-username/linux-on-drugs.git\n  ```\n\n3. Create a new branch\n  ```git\n  git checkout -b super-cool-feature\n  ```\n\n4. Then make your changes\n\n5. Update the changelog and version number if needed inside `Cargo.toml` (using [Semantic Versioning](https://semver.org)) and execute `cargo run` to update the version number inside `Cargo.lock`\n\n6. Once you're done, commit your changes and push them to the remote repository.\n  ```git\n  git add --all\n  git commit -m \"Add super-cool-feature\"\n  git push origin super-cool-feature\n  ```\n\n7. Then, open a pull request on GitHub from your fork.\n    1. Go to [this link](https://github.com/SkwalExe/linux-on-drugs/compare/)\n    2. Click compare across forks\n    3. On the right, on `head repository` select your fork\n    4. And on `compare` select the branch you just created\n    5. Click on `Create Pull Request` and submit your pull request\n\n\u003ca href=\"https://github.com/SkwalExe#ukraine\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/SkwalExe/SkwalExe/main/ukraine.jpg\" width=\"100%\" height=\"15px\" /\u003e\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskwalexe%2Flinux-on-drugs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskwalexe%2Flinux-on-drugs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskwalexe%2Flinux-on-drugs/lists"}