{"id":24999012,"url":"https://github.com/tomasfarias/clips","last_synced_at":"2025-03-29T18:12:12.748Z","repository":{"id":113435227,"uuid":"270546901","full_name":"tomasfarias/clips","owner":"tomasfarias","description":"A Discord bot to query Twitch.tv clips","archived":false,"fork":false,"pushed_at":"2020-06-20T23:24:04.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-07T18:21:16.687Z","etag":null,"topics":["discord-bot","go","twitch-api"],"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/tomasfarias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-06-08T05:53:52.000Z","updated_at":"2024-06-19T06:30:00.400Z","dependencies_parsed_at":null,"dependency_job_id":"d8fe75e6-d45f-47ef-8f8e-0aa29636004b","html_url":"https://github.com/tomasfarias/clips","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/tomasfarias%2Fclips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasfarias%2Fclips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasfarias%2Fclips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasfarias%2Fclips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasfarias","download_url":"https://codeload.github.com/tomasfarias/clips/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223331,"owners_count":20743167,"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":["discord-bot","go","twitch-api"],"created_at":"2025-02-04T18:52:48.671Z","updated_at":"2025-03-29T18:12:12.730Z","avatar_url":"https://github.com/tomasfarias.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clips [![Build Status](https://travis-ci.com/tomasfarias/clips.svg?branch=master)](https://travis-ci.com/tomasfarias/clips) [![Go Report Card](https://goreportcard.com/badge/github.com/tomasfarias/clips)](https://goreportcard.com/report/github.com/tomasfarias/clips)\n\nA Discord bot to look for Twitch clips!\n\n## Requirements\n\nThe bot requires a Twitch Application Client ID and Client Secret, which can be found in the [Applications console](https://dev.twitch.tv/console/apps). From the Discord side, we require a Token for our Bot user which we can obtain by navigating into the bot users of our application in the [Developer Portal](https://discord.com/developers/applications). These credentials correspond to the following flags:\n  * `-t`: Discord Bot token\n  * `-c`: Twitch Client ID\n  * `-s`: Twithc Client Secret\n\nIt is recommended to define the credentials in an `.env` instead of directly passing them as command line arguments.\n\n## Running with Docker\n\nDefine your credentials in an `.env` file:\n\n```\nTOKEN=discord-token\nCLIENT_ID=twitch-client-id\nCLIENT_SECRET=twitch-client-secret\n```\n\nBuild and run the container pointing to your `.env` file:\n\n```\ndocker build --tag clips:1.0 .\ndocker run -d --env-file /path/to/.env --name clips clips:1.0\n```\n\nOnce it's running, your Discord Bot user will need to be invited to your Discord server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasfarias%2Fclips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasfarias%2Fclips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasfarias%2Fclips/lists"}