Blinkogram is an easy to use integration service for syncing messages and images from a Telegram bot into your Blinko.
- Telegram Bot
Download the binary files for your operating system from the Releases page.
Create a .env file in the project's root directory and add the following configuration:
SERVER_ADDR=https://blinko.up.railway.app
BOT_TOKEN=your_telegram_bot_token
BOT_PROXY_ADDR=https://api.your_proxy_addr.comThe SERVER_ADDR should be your self hosted server address that the Blinko is running on.
-
Download and extract the released binary file;
-
Create a
.envfile in the same directory as the binary file; -
Run the executable in the terminal:
./blinkogram
-
Once the bot is running, you can interact with it via your Telegram bot.
Or you can start the service with Docker:
-
Build the Docker image:
docker build -t blinkogram . -
Run the Docker container with the required environment variables:
docker run -d --name blinkogram \ -e SERVER_ADDR=https://blinko.up.railway.app \ -e BOT_TOKEN=your_telegram_bot_token \ blinkogram
-
The Blinkogram service should now be running inside the Docker container. You can interact with it via your Telegram bot.
Or you can start the service with Docker Compose. This can be combined with the blinko itself in the same compose file:
- Create a folder where the service will be located.
- Clone this repository in a subfolder
git clone https://github.com/wolfsilver/blinko-telegram blinkogram - Create
.envfileSERVER_ADDR=https://blinko.up.railway.app BOT_TOKEN=your_telegram_bot_token
- Create Docker Compose
docker-compose.ymlfile:services: blinkogram: env_file: .env build: blinkogram container_name: blinkogram
- Run the bot via
docker compose up -d - The Blinkogram service should now be running inside the Docker container. You can interact with it via your Telegram bot.
/start <access_token>: Start the bot with your Blinko access token.- Send text messages: Save the message content as a memo.
- Send files (photos, documents): Save the files as resources in a memo.
/search <words>: Search for the memos.