Giter Site home page Giter Site logo

tmi-rs's People

Contributors

stkfd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

00mjk

tmi-rs's Issues

Internal connection pool

If you want to connect to more than roughly 90-100 channels you need to create multiple separate connections, otherwise TMI will close the connection.
Note that there is no official documentation on this, it just seems to be from empirical evidence, for example from Chatterino users with a lot of tabs, bordering the 100 mark.

Is it feasible to support this kind of "sharding" internally as part of the library?

Configurable rate limiting

Implement configurable rate limiting (see https://github.com/pajbot/tmi-rate-limits) for the different scenarios where messages may be sent.

  1. Bucket based rate limiting for:
  • Non-privileged users
  • Moderator/Broadcaster/VIP user
  • Known Bot
  • Verified Bot
  • Custom Buckets
  1. Per-channel limiter to respect global 1 second slow mode or current channel slowmode if applicable

Crates.io release

Currently blocked on:

  • PR #9
  • Tokio-Tungstenite 0.10.0 release on crates.io to remove the git dependency

Add convenience matchers for common event types

Add convenient match functions to filter for common event types like channel messages, whispers, timeouts, bans, etc.

Should be implemented in a way that allows for easy creation of user provided matchers that function identically.

Middleware/Filter support

Add a way to filter or modify messages in the send and receive pipelines. Could be used to implement a bypass for the 30s same-message filter on Twitch.

Reconnect

Is it possible to make this library automatically reconnect on failed connection?

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.