{"id":16241686,"url":"https://github.com/5ht/nynpo","last_synced_at":"2025-10-15T07:23:58.547Z","repository":{"id":145086813,"uuid":"123101334","full_name":"5HT/nynpo","owner":"5HT","description":"Nynpo Telegram Bot","archived":false,"fork":false,"pushed_at":"2018-02-27T10:19:04.000Z","size":323,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T06:52:44.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/5HT.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-02-27T08:57:48.000Z","updated_at":"2022-06-17T15:20:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fa8d0cb-bff8-485c-90a6-f243d9c4505e","html_url":"https://github.com/5HT/nynpo","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/5HT%2Fnynpo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5HT%2Fnynpo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5HT%2Fnynpo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5HT%2Fnynpo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5HT","download_url":"https://codeload.github.com/5HT/nynpo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819948,"owners_count":21001394,"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-10T14:08:20.162Z","updated_at":"2025-10-15T07:23:53.509Z","avatar_url":"https://github.com/5HT.png","language":"Erlang","readme":"Nynpo Telegram Bot\n==================\n\nSample of [N2O_ASYNC](https://mqtt.n2o.space/man/n2o_async.htm) usage as Telegram Bot that counts number of users in particular channel or group and records it to files in CSV format. Extend it to your needs.\n\nOptions\n-------\n\n```erlang\n  {nynpo, [{bot,\"548231922:AAHmXMMr38XGtH0tJMDUdiByheT2mZ7qkVI\"},\n           {timer,{0,0,5}},\n           {rooms,[\"CanYaCommunity\",\"HaskellRu\",\"RuHaskell\"]}]},\n```\n\nBot is your API key, timer is granularity of tracking, rooms is a list of room you want to track.\n\nRun\n---\n\n```sh\n$ brew install erlang\n$ ./nynpo repl\n```\n\n```sh\n$ cat HaskellRu\n2018/2/27, 10:52:40, \"HaskellRu\", -1001043143583, 670\n2018/2/27, 10:52:47, \"HaskellRu\", -1001043143583, 670\n2018/2/27, 10:52:52, \"HaskellRu\", -1001043143583, 670\n2018/2/27, 10:52:57, \"HaskellRu\", -1001043143583, 670\n```\n\nBuild\n-----\n\n```sh\n$ ./nynpo dep com pla\n$ ./nynpo release script nynpo\n```\n\nTha last command will recreate `nynpo` escript executable runnable by Erlang ERTS.\n\nCredits\n-------\n* Maxim Sokhatsky\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ht%2Fnynpo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5ht%2Fnynpo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ht%2Fnynpo/lists"}