Git Product home page Git Product logo

shapeshifter's Introduction

Telegram photo/video bot for .NET

A .Net Core application used to send photos and videos via telegram. Booru exstensibility is there as well with the /search function. There is a lot of base functunality here that can be fleshed out in the future if I feel like it but anyone can take this base and apply it to their own project pretty easily. Grabs photos from a /command and a subreddit either with a post number (via hot) or without so it's random. Has the ability to grab gfycat videos as well from subreddits and the ability to convert videos on the fly that do not have .mp4 extension (since telegram can only send gif's and .mp4's). You can add admin groups and users to the member list so only you can use the bot or other people can as well, or you can remove that feature entirely if you wish.

Basic Usage

If you want to use this program yourself, you will need a couple things.

  • Add your own App.config to the project.
  • Add keys and values from the following list to your App.config:
telegramAdmins = memberIds
telegramKey = yourSuperSecretBotKey
redditAppId = yourRedditAppId
redditSecret = youSuperSecretRedditSecret
redditRefresh = redditRefreshToken
commandList = /commands,/seperated,/by,/a,/comma
subreddits = thesubreddits,that,you,want,seperated,bya,comma,inthe,same,order
specialCommand = /commandForVideos
specialSubreddit = yourVideoSubbredit
helpString = your help or start string, use 
 for new lines
  • Build/Publish your application for your desired platform

If there are any questions, bugs, or feature requests please open an issue on gitlab! ๐Ÿถ

shapeshifter's People

Contributors

burningsunrise avatar

Stargazers

 avatar

Watchers

 avatar

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.