Giter Club home page Giter Club logo

teletenor's Introduction

teletenor logo banner image

FOSSA Status

teletenor is an inline bot for Telegram that provides inline gif suggestions retrieved from Tenor.

You can use the bot by mentioning @ttenor_bot in Telegram.

teletenor is still currently in alpha status.

AWS Lambda Deployment

teletenor-contralto is teletenor's project for deployment onto AWS Cloud using AWS SAM (Serverless Application Model).

Setup

Prerequisites

Clone teletenor

git clone https://github.com/tabby-jun/teletenor.git
cd teletenor

Create a .env file

TELEGRAM_BOT_TOKEN="bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" # You need to get this from Telegram's BotFather, under Prerequisites
TELEGRAM_INLINE_RESPONSE_CACHE_TIME=300
TENOR_DEVELOPER_KEY="LIVDSRZULELA" # You need to get this from Tenor's API Portal, under Prerequisites
TENOR_SEARCH_RESULT_LIMIT=12
TENOR_CONTENT_FILTER="low"
TENOR_MEDIA_FILTER="minimal"
MP4_MEDIA_FORMAT="mp4"
GIF_MEDIA_FORMAT="tinygif"
LOGGING_ENABLED=false
LOG_LEVEL=error
DISABLE_LAUNCH=false # true when using AWS Lambda

Install deps and start

npm install
# Or if you are using yarn
yarn install

npm start
# or
yarn start

Tentative Roadmap

  1. Locale-related Tenor searches done

  2. Register shares with Tenor done

  3. Automated Tests !important

  4. Print information during bot operation

  5. Logging and performance metrics

JavaScript Style Guide

Notes

  • (@teletenor_bot) bot has been disabled in favor of a shorter username handle (@ttenor_bot)

License

FOSSA Status

teletenor's People

Contributors

fossabot avatar thamwangjun avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

fossabot

teletenor's Issues

Confused

Hello i want to install ttenor bot on my server but it's hard and i don't get it please can you make more explain how to install on Ubuntu 16 server and if it works i will translate it to Arabic and make the bot spread out on Arabic community much i can i love the bot
My Telegram : https://t.me/K6KKK
Best regards,

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.