{"id":15669730,"url":"https://github.com/mallozup/blacktango","last_synced_at":"2026-05-06T13:08:26.904Z","repository":{"id":141721108,"uuid":"175308012","full_name":"MalloZup/blacktango","owner":"MalloZup","description":"console client for software maintainers","archived":false,"fork":false,"pushed_at":"2019-03-30T12:01:52.000Z","size":13,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T08:36:49.290Z","etag":null,"topics":["api-client","elixir","erlang","functional-programming","github","graphql"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/MalloZup.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":"2019-03-12T22:49:59.000Z","updated_at":"2023-12-03T03:36:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"211659b5-3c0d-4216-a8f0-28abb9d90564","html_url":"https://github.com/MalloZup/blacktango","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"e32759e5dc71f73955c0079eac983a8e2c7c4bd9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalloZup%2Fblacktango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalloZup%2Fblacktango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalloZup%2Fblacktango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalloZup%2Fblacktango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MalloZup","download_url":"https://codeload.github.com/MalloZup/blacktango/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277373,"owners_count":20751549,"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":["api-client","elixir","erlang","functional-programming","github","graphql"],"created_at":"2024-10-03T14:41:01.486Z","updated_at":"2026-05-06T13:08:26.848Z","avatar_url":"https://github.com/MalloZup.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blacktango\n\nInteractive, minimalistic CLI for interacting with various APIs outside in the world.\n\nFor `software` mantainers which want to keep opensource projects healthy.\n\n# Quickstart:\n\n#### Erlang/Elixir instal:\n\nFollow the upstream doc for installing `elixir/erlang`.\n\nhttps://elixir-lang.org/install.html\n\n1) clone this repo and ensure you have `elixir` installed.\n\n2) On cloned repo create `.github_ops.yaml` file with content\n```yaml\n---\ntoken: \"your_TOKEN\"\ngithub_repos: [\"MalloZup/kubeojo\", \"MalloZup/blacktango\", \"MalloZup/bacheca\"]\n# used by Github.comment_prs_and_issues\ntolleration_days: 30\n```\nDefine a list of GitHub repos where you want to perform actions.\n- `tolleration_days` is positive number see API `Github.comment_prs_and_issues`\n\n\n3) run `iex -S mix` for launching the console\n\nNow let's look at `Blacktango API` calls.\n\n## Blacktango API/Usage:\n\nAssuming you are in console mode, see step 3 of quickstart, type in your terminal\n\n`Github.comment_prs_and_issues`\n\nWhat does this command do?\nOn a high-level perspective it will help to keep projects healthy, reminding people on older issues or PR with a gently comment on GitHub PR/ISSUE, if they are working on it.\n\nIt ill write a comment on GitHub Pull-requests and Issues, reminding that the issue is older then the 30 days. ( You can make the value bigger or smaller see `tolleration_days:`)\n\n`example`: if you have 4 project with 4000 issues older then 30 days, blacktango will automatically leave a comment on the issue that say that the issue is older then 30/more days, and maybe it should be closed\n\nhere is a live example: ( data is faked but you will have this)\n\n```elixir\niex(2)\u003e Github.comment_prs_and_issues\nchecking Issues\nadding comment to GitHub Issue https://github.com/MalloZup/il-bar-bro/issues/740\nchecking Pull-Requests\nadding comment to GitHub PR https://github.com/MalloZup/tania/pull/705\nadding comment to GitHub PR https://github.com/MalloZup/gino/pull/719\n```\n\n# Goals and roadmap:\n\n## version 0.0.2\n\nFeel free to spend an issue if you have ideas.\n\n- add milestone check:\n   Write a comment for issues with a milestones that has expired.\n\n\n- investigate on graphql 100 issue\n\n\n\n# API: Currently supported: \n- (GitHub API v4 `graphql`).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallozup%2Fblacktango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmallozup%2Fblacktango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallozup%2Fblacktango/lists"}