Git Product home page Git Product logo

riddea's Introduction

Description

This Telegram bot was developed for viewing various anime content, including NSFW pictures. You can also upload any of your images to the database so that other users can appreciate your taste.

Installation

Requirements

  • Node.js >= v14
  • PostgreSQL database
  • Token from Telegram bot
  • Any S3 server
  • Yarn installed

Installing

  • Clone this repository: git clone https://github.com/Riddea/Riddea.git
  • Install Node.js requirements yarn
  • Rename .env.example to .env in every folder you can find, and configurate file
  • Build production code yarn build
  • Run production code yarn start

Contributing

This project opened for contribution and any suggestions! You can create a new Issue or make an Pull request with your code changes.

LICENSE

This code has MIT license. See the LICENSE file for getting more information.

riddea's People

Contributors

dependabot[bot] avatar lwjerri avatar satont avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

satont

riddea's Issues

Make normal pagination

Currently, the bot has a very bad pagination system for uploaded messages.

  1. When the user opens the latest image, remove the "Next" button.
  2. When the user opens the first image, remove the "Back" button.
  3. Switch from new Map() to npm.js package telegraf-inline-menu

Documentation problems

/v1​/users​/{userId}​/collections
Missed field id in collection.

/v1/collections/{id}/images
Return other JSON object:

{
"nextPage": true,
"data": [
  "datafile1"
]
}

/v1/collections/{id}
Missed field id in collection.

Add command cooldown

With the new update, the bot reaches the message limit and we need to make the session cooldown for the user.

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.