{"id":15493611,"url":"https://github.com/gridhead/switcheroo","last_synced_at":"2025-04-22T20:13:01.677Z","repository":{"id":46570392,"uuid":"317591079","full_name":"gridhead/switcheroo","owner":"gridhead","description":"An easy-to-use CPU governor switcher - Run things fast or save some juice!","archived":false,"fork":false,"pushed_at":"2022-10-28T20:34:33.000Z","size":21,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T20:12:45.927Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/t0xic0der/switcheroo","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gridhead.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-12-01T15:51:59.000Z","updated_at":"2024-03-17T05:19:23.000Z","dependencies_parsed_at":"2023-01-20T07:40:01.376Z","dependency_job_id":null,"html_url":"https://github.com/gridhead/switcheroo","commit_stats":null,"previous_names":["gridhead/switcheroo","t0xic0der/switcheroo"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridhead%2Fswitcheroo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridhead%2Fswitcheroo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridhead%2Fswitcheroo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridhead%2Fswitcheroo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gridhead","download_url":"https://codeload.github.com/gridhead/switcheroo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250316058,"owners_count":21410476,"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":["hacktoberfest"],"created_at":"2024-10-02T08:08:24.112Z","updated_at":"2025-04-22T20:13:01.654Z","avatar_url":"https://github.com/gridhead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# switcheroo\nAn easy-to-use CPU governor switcher - Run things fast or save some juice!\n\n## Usage\n1. Download a binary release according to your device's system architecture.\n2. Make the binary release executable by running `chmod +x switcheroo`.\n3. View the help and support section for script usage by running `./switcheroo -help`.\n    ```shell script\n    $ ./switcheroo -help\n    [ i ] SWTICHEROO - Run things fast or save some juice!\n          © 2019-2020 Akashdeep Dhar \u003ct0xic0der@fedoraproject.org\u003e\n          -crnt - Know the currently selected CPU governor\n          -help - Read about the scriplet and its creator\n          -list - List the collection of all available CPU governors\n          -setn - Change CPU governor by name - requires superuser\n    ```\n4. List all available CPU governors for your device by running `./switcheroo -list`.\n    ```shell script\n    $ ./switcheroo -list \n    [ ✓ ] Available CPU governors were successfully read\n          conservative\n          ondemand\n          userspace\n          powersave\n          performance\n          schedutil\n    ```\n5. Know about the currently selected CPU governor by running `./switcheroo -crnt`.\n    ```shell script\n    $ ./switcheroo -crnt\n    [ ✓ ] performance is the currently selected CPU governor\n    ```\n6. Switch to another CPU governor of your choice by running `./switcheroo -setn \u003ccpu-governor-name\u003e` with root permissions.\n    ```shell script\n    $ sudo ./switcheroo -setn powersave\n    [ ✓ ] powersave replaces performance as your current CPU governor\n    ```\n    or\n    ```shell script\n    # ./switcheroo -setn powersave\n    [ ✓ ] powersave replaces performance as your current CPU governor\n    ```\n\n## Downloads\n1. For generic desktop PCs, [click here](https://github.com/t0xic0der/switcheroo/releases/download/v0.1.0/switcheroo-v0.1.0-amd64).\n2. For Raspberry Pi 3B and 4B, [click here](https://github.com/t0xic0der/switcheroo/releases/download/v0.1.0/switcheroo-v0.1.0-aarch64).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridhead%2Fswitcheroo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgridhead%2Fswitcheroo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridhead%2Fswitcheroo/lists"}