Skip to content

ThaddeusJiang/save_it

Repository files navigation

Save it

License DeepWiki

Telegram Playground

Save images and videos from internet.

Features

  • Save images and videos by link
  • Search images in chat
  • Find similar images

supported services

Usage

Save

Just send a link to the bot.

demo.mp4

Search

messages:

/search cat
/search dog
/search girl
/similar photo
CleanShot.0006-10-23.at.15.20.18.mp4

Self hosting

One-Click for Zeabur

Deploy on zeabur

Build with

  • Elixir
  • ex_gram a powerful Elixir library for building Telegram Bots.
  • cobalt a media downloader.
  • ffmpeg for HLS video downloading.
  • Typesense Lightning Fast, Open Source Search

Development

# Install
mix deps.get
# Setup
docker compose up

After startup:

  • Typesense: http://localhost:8108/health
  • typelens: http://localhost:3000
  • typelens auth:
    • username: test@example.com
    • password: pass123456
# Run
export TELEGRAM_BOT_TOKEN=<YOUR_TELEGRAM_BOT_TOKEN>

iex -S mix run --no-halt

Typesense migrations

# Create/update collections (idempotent)
mix ts.migrate

# Drop and recreate photos collection
mix ts.reset

Packages

 
 
 

Contributors

Languages