{"id":17095044,"url":"https://github.com/5aaee9/strap","last_synced_at":"2026-04-10T16:46:55.321Z","repository":{"id":134681511,"uuid":"148460079","full_name":"5aaee9/Strap","owner":"5aaee9","description":"Telegram Bot framework in Java","archived":false,"fork":false,"pushed_at":"2018-11-29T04:56:30.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T00:12:36.145Z","etag":null,"topics":["telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/5aaee9.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":"2018-09-12T10:03:44.000Z","updated_at":"2019-07-27T07:14:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"90c7775d-ac62-4074-a59f-e457b50fe51d","html_url":"https://github.com/5aaee9/Strap","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/5aaee9%2FStrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5aaee9%2FStrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5aaee9%2FStrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5aaee9%2FStrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5aaee9","download_url":"https://codeload.github.com/5aaee9/Strap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245137838,"owners_count":20566831,"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":["telegram-bot"],"created_at":"2024-10-14T14:25:36.607Z","updated_at":"2026-04-10T16:46:50.278Z","avatar_url":"https://github.com/5aaee9.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strap\r\nYet, another Telegram Bot Framework\r\n\r\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FIndexyz%2FStrap.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FIndexyz%2FStrap?ref=badge_shield)\r\n[![](https://jitpack.io/v/Indexyz/Strap.svg)](https://jitpack.io/#Indexyz/Strap)\r\n\r\n## Create First Plugin\r\n```java\r\nimport me.indexyz.strap.annotations.Command;\r\nimport me.indexyz.strap.annotations.Events;\r\nimport me.indexyz.strap.define.CommandContext;\r\n\r\n@Events\r\npublic class FirstPlugin {\r\n    @Command(\"start\")\r\n    public static void start(CommandContext context) {\r\n        context.reply(\"Hello, World\");\r\n    }\r\n}\r\n```\r\n\r\nBuild it and put jar in plugins. Then run strap with java.\r\n\r\nAfter first run, edit `config.properties` and put your bot Token into it.\r\n\r\nThen it will response your command!\r\n\r\n## Gradle Plugin\r\n```grovy\r\nallprojects {\r\n    repositories {\r\n        maven { url 'https://jitpack.io' }\r\n    }\r\n}\r\n\r\ndependencies {\r\n    implementation 'com.github.Indexyz:Strap:master-SNAPSHOT'\r\n}\r\n```\r\n\r\n## License\r\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FIndexyz%2FStrap.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FIndexyz%2FStrap?ref=badge_large)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5aaee9%2Fstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5aaee9%2Fstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5aaee9%2Fstrap/lists"}