{"id":19264238,"url":"https://github.com/cphyc/small-scripts","last_synced_at":"2026-06-18T13:31:28.947Z","repository":{"id":17773515,"uuid":"20639713","full_name":"cphyc/Small-scripts","owner":"cphyc","description":"Basic small scripts for everyday-life basic tasks!","archived":false,"fork":false,"pushed_at":"2015-12-03T21:04:12.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T19:15:11.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cphyc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-09T08:37:53.000Z","updated_at":"2015-04-28T08:51:34.000Z","dependencies_parsed_at":"2022-09-24T19:03:32.320Z","dependency_job_id":null,"html_url":"https://github.com/cphyc/Small-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cphyc/Small-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2FSmall-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2FSmall-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2FSmall-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2FSmall-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cphyc","download_url":"https://codeload.github.com/cphyc/Small-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2FSmall-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34493355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T19:40:29.310Z","updated_at":"2026-06-18T13:31:28.737Z","avatar_url":"https://github.com/cphyc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Small-scripts\n\nBasic small scripts for everyday-life basic tasks!\n\n\n##battery.sh\n\n\n[shell] Get the battery status through acpi and get from it the percentage of remaining power in it.\nSyntax:\n    \n    bash battery.sh\n\n##dring.py\n\n[python3] Similar to the \"at\" command be only requires a python3 distribution (should also work with python2).\n\nDependencies:\n\n    python3 (or python2 if you really want ...)\n    \nSyntax: \n\n    python3 dring.py (hh:mm | hh mm) \u003cany command here\u003e\n    \nExample:\n\n    python3 dring.py 08:30 mplayer ~/Music/Summertime.mp3\n    \n##grooveshark.sh\n\n[bash] Very basic control of Grooveshark through command line (and therefore with keyboard shortcuts if you configure it). It basically get the id of a window containing \"Grooveshark\" and sends the command you want to it. If not found, opens a new firefox window (you can change it by changing Firefox into any other browser).\n\nDependencies:\n\n    xdotool\n\nSyntax:\n\n    bash grooveshark.sh \u003ccommand\u003e\n    \nExample:\n    \n    # Next song\n    bash grooveshark.s ctrl+Right\n    \n    # Pause\n    bash grooveshark.sh space\n    \n    # Lower volume\n    bash grooveshark.sh ctrl+Down\n    \n##flac2mp3.sh\n\n[shell] Finds all flac files in directory and convert it to mp3, conserving the id3 tags. You need to have installed flac and some codex for mp3.\n\nSyntax:\n    \n    bash flac2mp3.sh\n    \n    \n##synergy.sh\n\n[bash] Establish a synergy client-server between two computers. The server is behind a firewall or any uncrossable device.\nLaunch this script on the server side and replace the paramaters by those who fits. The client_adress has to be a reachable adress for the server.\nTODO : support error and don't display a successfull message in all cases (which is really stupid).\n\nDependencies : \n\n    synergy, ssh, zenity (optional)\n\nSyntax:\n\n    bash synergy.sh\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcphyc%2Fsmall-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcphyc%2Fsmall-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcphyc%2Fsmall-scripts/lists"}