{"id":17366954,"url":"https://github.com/gabrielrf/threadlinkbot","last_synced_at":"2026-06-11T08:31:39.577Z","repository":{"id":216721517,"uuid":"741960297","full_name":"GabrielRF/ThreadLinkBot","owner":"GabrielRF","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-12T18:12:01.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T05:52:51.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GabrielRF.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-11T13:22:14.000Z","updated_at":"2024-01-11T21:34:09.000Z","dependencies_parsed_at":"2024-01-12T08:47:01.120Z","dependency_job_id":"6f569bf3-47a1-414e-a50d-11dc5d98779f","html_url":"https://github.com/GabrielRF/ThreadLinkBot","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"de1e4eafd5cd6853a33d405b7cd0290427c9e9df"},"previous_names":["gabrielrf/threadlinkbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielRF/ThreadLinkBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FThreadLinkBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FThreadLinkBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FThreadLinkBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FThreadLinkBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielRF","download_url":"https://codeload.github.com/GabrielRF/ThreadLinkBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FThreadLinkBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34190583,"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-11T02:00:06.485Z","response_time":57,"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-10-15T22:12:27.821Z","updated_at":"2026-06-11T08:31:39.554Z","avatar_url":"https://github.com/GabrielRF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" alt=\"Thread Link Logo\" width=\"30%\" height=\"auto\" src=\"https://github.com/GabrielRF/ThreadLinkBot/blob/main/imgs/icon.jpg?raw=true\"\u003e\n\n# Thread Link Bot\n\n[![Deploy](https://github.com/GabrielRF/ThreadLinkBot/actions/workflows/deploy.yml/badge.svg)](https://github.com/GabrielRF/ThreadLinkBot/actions/workflows/deploy.yml)\n\n## Motivação\n\n\u003e O que esse bot faz?\n\u003e \n\u003e Não muito, para ser sincero.\n\nEste bot surgiu após conversa em um grupo de amigos sobre a organização das conversas no Telegram. \n\nO Telegram, nativamente, possui a organização das conversas em *threads*, porém, o link para a *thread* somente é facilmente acessado a partir de qualquer mensagem **de um grupo público**. Em grupos privados, o acesso à *thread* somente é possível em sua primeira mensagem. O bot foi criado para facilitar tais casos.\n\n## Funcionamento\n\nSempre que uma mensagem tiver como primeiro caractere `#` e não fizer parte de uma *thread*, o bot enviará o link da *thread* ao grupo, deixando-o mais facilmente acessível a todos.\n\nCaso o bot seja administrador do grupo, o link da *thread* será fixado no grupo, sem que os membros sejam notificados. A mensagem será desafixada quando algum administrador do grupo enviar `/unpin` na *thread*.\n\n![Exemplo de uso do bot](https://github.com/GabrielRF/ThreadLinkBot/assets/7331540/19896dbc-474a-444a-81c7-0054304ea68b)\n\n## Colabore\n\nToda contribuição é bem vinda! Sem exceção.\n\n## Instalação e Uso\n\nO bot é um script Python que funciona usando *polling*. Ou seja, não exige muito esforço para funcionar. O único requisito é a biblioteca [PyTelegramBotAPI](https://github.com/eternnoir/pytelegrambotapi), que pode ser instalada pelo comando:\n\n```\npip install pytelegrambotapi\n```\n\nCrie um arquivo chamado `token.conf` cujo conteúdo seja o token de seu bot e execute o sript python.\n\n```\npython bot.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fthreadlinkbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielrf%2Fthreadlinkbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fthreadlinkbot/lists"}