Giter VIP home page Giter VIP logo

pixelbot's Introduction

Pixelbot

A Telegram bot that replaces faces with pixels, skull of satoshi, liotta faces, clowns or random cat-pics and can run via github actions or in a local VM.

Screenshot 2023-12-07 at 13 48 39 Screenshot 2023-12-07 at 13 48 12 Screenshot 2023-12-07 at 13 48 05 photo_2024-05-24_22-47-22 Screenshot 2023-12-07 at 12 48 05 Screenshot 2023-12-07 at 12 48 05 Screenshot 2023-12-07 at 12 48 05

Behaviour in a DM with the bot

  • on first button-press the original pic disappears
  • a keyboard with buttons pops up
  • choose an option to get an obfuscated version
  • press those buttons until happy with the result

Behaviour in groupchats where the bot is added

  • bot does not detect faces or react to pics
  • unless any user replies to a pic with the command /pixel
  • the keyboard with buttons pops up and every user can use them
  • cancel option removes the buttons (and leaves pic untouched)
Screenshot 2024-05-26 at 06 20 45 Screenshot 2024-05-26 at 06 20 57

Install as github action

  • Fork
  • Set up a repo secret in your repo under settings -> secrets -> actions -> TELEGRAM_BOT_TOKEN -> [yourtoken]
  • go to Actions and run

Every change in code will trigger a new action to run. Go to actions before updating your code and cancel the running thread.

Screenshot 2023-12-05 at 20 18 28

It will then self-build up all dependencies given in requirements.txt and run the bot :) Enjoy.

Screenshot 2023-12-05 at 20 18 36 Screenshot 2023-12-05 at 20 18 47

To Do

  • catch more faces
  • support more input formats
  • moooooaaar masks

If you like this bot ⚡️tip me here

image

pixelbot's People

Contributors

arbadacarbayk avatar michilis avatar

Watchers

 avatar  avatar  avatar

Forkers

j0sh21 michilis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.