{"id":17773959,"url":"https://github.com/svenfuchs/trsh","last_synced_at":"2025-04-01T16:18:21.267Z","repository":{"id":66032293,"uuid":"127795597","full_name":"svenfuchs/trsh","owner":"svenfuchs","description":"Experimental Travis CI Shell using API v3 in Go","archived":false,"fork":false,"pushed_at":"2018-06-24T21:19:55.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T10:28:17.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/svenfuchs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-02T18:25:06.000Z","updated_at":"2022-11-21T03:26:38.000Z","dependencies_parsed_at":"2023-04-13T21:32:05.419Z","dependency_job_id":null,"html_url":"https://github.com/svenfuchs/trsh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftrsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftrsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftrsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftrsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenfuchs","download_url":"https://codeload.github.com/svenfuchs/trsh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246668904,"owners_count":20814744,"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-10-26T21:47:33.004Z","updated_at":"2025-04-01T16:18:21.240Z","avatar_url":"https://github.com/svenfuchs.png","language":"Go","readme":"# Trsh\n\nExperimental Travis CI Shell (tr'sh, pronounced `ˈtrɪʃ`) in Go leveraging API\nv3 for demo and educational purposes. Also uses [led-go](https://github.com/svenfuchs/led-go)\nas a readline replacement.\n\n![trsh](https://user-images.githubusercontent.com/2208/41823678-84553fb2-7804-11e8-9bd9-45f2105f18a7.gif)\n\n### Build\n\n```\n$ go build -o trsh\n```\n\n### Interactive shell\n\n```\n$ ./trsh\ntrsh ~ repository find slug=svenfuchs/trsh\nGET /repo/svenfuchs%2Ftrsh ...\n{\n  \"id\": 18503283,\n  \"name\": \"trsh\",\n  \"slug\": \"svenfuchs/trsh\",\n  \"description\": \"Playing with a Travis CI API v3 client in Go\",\n  // ...\n}\n\ntrsh ~ user find id=8 | .login\n\"svenfuchs\"\n```\n\n### Arguments\n\n```\n$ ./trsh user find id=8\nGET /user/8 ...\n{\n  \"id\": 8,\n  \"login\": \"svenfuchs\",\n  \"name\": \"Sven Fuchs\",\n  // ...\n}\n```\n\n### Stdin\n\n```\n$ echo -e \"user find id=8\\nrepository find slug=svenfuchs/led-go\" | ./trsh\nGET /user/8 ...\n{\n  \"id\": 8,\n  \"login\": \"svenfuchs\",\n  // ...\n}\nGET /repo/svenfuchs%2Fled-go ...\n{\n  \"id\": 8,\n  \"name\": \"led-go\",\n  // ...\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Ftrsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenfuchs%2Ftrsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Ftrsh/lists"}