A Telegram bot written in Java that serves anime and NSFW content from various APIs.
- Fetch and serve content from multiple sources:
- Rule34 API for NSFW content
- Waifu API for both SFW and NSFW anime content
- Support for multiple media formats:
- Static images
- GIF animations
- Video clips
- Easy-to-use commands
- Java 21 or higher
- Telegram Bot API Token
- Maven (for dependency management)
- Clone the repository:
git clone https://github.com/rojikaru/hentaibot.git
cd hentaibot
-
Configure your bot token:
- Create a
application.properties
file in thesrc/main/resources
directory - Add your Telegram bot token:
BOT_TOKEN=YOUR_BOT_TOKEN_HERE BOT_NAME=YOUR_BOT_USERNAME
- Create a
-
Build the project:
mvn clean package
- Start the bot:
java -jar target/hentaibot-1.0.jar
- In Telegram, start a chat with your bot and use the following commands:
/start
- Initialize the bot/help
- Display available commands/sfw
- Get SFW anime content/nsfw
- Get NSFW content (age verification required)/tags [tag1 tag2...]
- Search content by tags
The bot can be configured through the application.properties
file:
# API Settings
RULE_34_API=https://api.rule34.xxx/
WAIFU_API=https://api.waifu.pics/
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This bot serves NSFW content and is intended for adults only. Please ensure compliance with your local laws and Telegram's terms of service.
This project is licensed under the MIT License - see the LICENSE file for details.