{"id":27217456,"url":"https://github.com/militarptbr/jalegram","last_synced_at":"2025-07-12T08:38:58.004Z","repository":{"id":286870551,"uuid":"962776124","full_name":"militarptbr/jalegram","owner":"militarptbr","description":"Jalegram is a Java library designed to simplify the development of Telegram bots, offering a more user-friendly approach compared to other existing libraries.","archived":false,"fork":false,"pushed_at":"2025-07-10T19:08:11.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T20:44:21.434Z","etag":null,"topics":["bot","init","jalegram","java","javalibrary","library","telegram","telegram-bot-api","telegram-bots","telegrambot","telegramserver"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"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/militarptbr.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,"zenodo":null}},"created_at":"2025-04-08T16:52:10.000Z","updated_at":"2025-07-10T19:08:14.000Z","dependencies_parsed_at":"2025-04-10T07:05:55.622Z","dependency_job_id":"c6a567c5-0a1d-452b-9732-b98568aa6a2b","html_url":"https://github.com/militarptbr/jalegram","commit_stats":null,"previous_names":["militarptbr/jalegram"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/militarptbr/jalegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/militarptbr%2Fjalegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/militarptbr%2Fjalegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/militarptbr%2Fjalegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/militarptbr%2Fjalegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/militarptbr","download_url":"https://codeload.github.com/militarptbr/jalegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/militarptbr%2Fjalegram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264964342,"owners_count":23690182,"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":["bot","init","jalegram","java","javalibrary","library","telegram","telegram-bot-api","telegram-bots","telegrambot","telegramserver"],"created_at":"2025-04-10T05:28:47.346Z","updated_at":"2025-07-12T08:38:57.931Z","avatar_url":"https://github.com/militarptbr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jalegram: Simplifying Telegram Bot Development\n\n![Jalegram Logo](https://img.shields.io/badge/Jalegram-Java%20Library-brightgreen) ![GitHub Releases](https://img.shields.io/badge/Releases-Check%20Here-blue)\n\nWelcome to **Jalegram**! This Java library makes it easy to develop Telegram bots. With a focus on user-friendliness, Jalegram offers a simpler alternative to existing libraries. Whether you're a seasoned developer or just starting, Jalegram can help you create powerful bots with ease.\n\n## Table of Contents\n\n- [Features](#features)\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [Usage](#usage)\n- [API Reference](#api-reference)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Features\n\n- **Easy to Use**: Jalegram's straightforward design allows for quick bot development.\n- **Comprehensive API**: Access all Telegram Bot API features with ease.\n- **Active Community**: Join a growing community of developers using Jalegram.\n- **Regular Updates**: Stay current with ongoing improvements and new features.\n\n## Getting Started\n\nTo get started with Jalegram, check out our [Releases](https://github.com/militarptbr/jalegram/releases). Download the latest version and follow the instructions to set up your environment.\n\n### Prerequisites\n\nBefore you begin, ensure you have the following:\n\n- Java Development Kit (JDK) 8 or higher\n- An IDE (like IntelliJ IDEA or Eclipse)\n- A Telegram account to create your bot\n\n## Installation\n\n1. **Download Jalegram**: Visit the [Releases](https://github.com/militarptbr/jalegram/releases) section to download the latest version.\n2. **Add to Your Project**: Include the Jalegram library in your project. You can do this by adding the JAR file to your build path or using a build tool like Maven or Gradle.\n\n### Maven\n\nAdd the following dependency to your `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.militarptbr\u003c/groupId\u003e\n    \u003cartifactId\u003ejalegram\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\nAdd this line to your `build.gradle`:\n\n```groovy\nimplementation 'com.militarptbr:jalegram:1.0.0'\n```\n\n## Usage\n\nUsing Jalegram is simple. Here’s a basic example of how to set up a bot:\n\n```java\nimport com.jalegram.TelegramBot;\n\npublic class MyBot {\n    public static void main(String[] args) {\n        TelegramBot bot = new TelegramBot(\"YOUR_BOT_TOKEN\");\n        bot.start();\n    }\n}\n```\n\nReplace `\"YOUR_BOT_TOKEN\"` with the token you received from the BotFather on Telegram.\n\n## API Reference\n\nJalegram provides a rich set of classes and methods to interact with the Telegram Bot API. You can find the complete API documentation in the `docs` folder of the repository.\n\n### Key Classes\n\n- **TelegramBot**: Main class to create and manage your bot.\n- **Update**: Represents incoming updates from Telegram.\n- **Message**: Represents messages sent to your bot.\n\n## Examples\n\nHere are a few examples to help you get started:\n\n### Sending a Message\n\n```java\nimport com.jalegram.TelegramBot;\nimport com.jalegram.Message;\n\npublic class SendMessageExample {\n    public static void main(String[] args) {\n        TelegramBot bot = new TelegramBot(\"YOUR_BOT_TOKEN\");\n        Message message = new Message(\"Hello, World!\");\n        bot.sendMessage(message);\n    }\n}\n```\n\n### Handling Commands\n\n```java\nimport com.jalegram.TelegramBot;\nimport com.jalegram.Update;\n\npublic class CommandExample {\n    public static void main(String[] args) {\n        TelegramBot bot = new TelegramBot(\"YOUR_BOT_TOKEN\");\n        \n        bot.onCommand(\"/start\", (update) -\u003e {\n            bot.sendMessage(\"Welcome to Jalegram!\");\n        });\n        \n        bot.start();\n    }\n}\n```\n\n## Contributing\n\nWe welcome contributions to Jalegram! If you’d like to help, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes.\n4. Submit a pull request.\n\nPlease ensure your code follows our coding standards and includes tests where applicable.\n\n## License\n\nJalegram is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor questions or feedback, please reach out to us:\n\n- **Email**: support@jalegram.com\n- **GitHub**: [militarptbr/jalegram](https://github.com/militarptbr/jalegram)\n\nWe appreciate your interest in Jalegram! Happy coding!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilitarptbr%2Fjalegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilitarptbr%2Fjalegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilitarptbr%2Fjalegram/lists"}