{"id":21344505,"url":"https://github.com/s00d/autorun","last_synced_at":"2025-03-16T03:21:48.049Z","repository":{"id":185581133,"uuid":"673774050","full_name":"s00d/autorun","owner":"s00d","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-02T12:51:37.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T02:33:59.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/s00d.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}},"created_at":"2023-08-02T11:47:27.000Z","updated_at":"2023-08-02T11:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"648c13c6-55b1-41f2-beaa-b3dd6beb6464","html_url":"https://github.com/s00d/autorun","commit_stats":null,"previous_names":["s00d/autorun","s00d/autorun-go"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fautorun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fautorun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fautorun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fautorun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s00d","download_url":"https://codeload.github.com/s00d/autorun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243819312,"owners_count":20352868,"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-11-22T01:19:29.912Z","updated_at":"2025-03-16T03:21:48.030Z","avatar_url":"https://github.com/s00d.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autorun go\n\n[![GoDoc](https://godoc.org/github.com/s00d/autorun?status.svg)](https://godoc.org/github.com/s00d/autorun)\n\nA Go library to run a command after login.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"github.com/s00d/autorun\"\n)\n\nfunc main() {\n\tautostart := autorun.NewAutoRun()\n\n\tif autorun.IsEnabled() {\n\t\tlog.Println(\"App is already enabled, removing it...\")\n\n\t\tif err := autorun.Disable(); err != nil {\n\t\t\tlog.Fatal(err)\n\t\t}\n\t} else {\n\t\tlog.Println(\"Enabling app...\")\n\n\t\tif err := autorun.Enable(); err != nil {\n\t\t\tlog.Fatal(err)\n\t\t}\n\t}\n\n\tlog.Println(\"Done!\")\n}\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fautorun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs00d%2Fautorun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fautorun/lists"}