Giter Site home page Giter Site logo

3job / telebot Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 1.0 552 KB

Telebot is a Telegram bot framework in Go. Fork from https://github.com/tucnak/telebot

Home Page: https://crare.pkg.one

License: MIT License

Go 100.00%
telebot telegram-bot api bot framework go go-telebot golang telegram sdk

telebot's Introduction

Crare

Provides fasthttp and net/http dual network libraries at the same time!

Use this branch if you want to try out the latest features. If you're after stability, then use the original project.

If you need some examples, I'll put them in this organization.

This is a fork of https://github.com/tucnak/telebot . This library requires minimum go1.21.3

GoDoc GitHub Actions Discuss on Telegram FOSSA Status Go Report Card

go get -u github.com/3JoB/telebot/v2

Docs

Read the documentation here, it's still a work in progress but will be ready soon.

Contributing

  1. Fork it
  2. Clone v2: git clone -b github.com/3JoB/telebot
  3. Create your feature branch: git checkout -b v2
  4. Make changes and add them: git add .
  5. Commit: git commit -m "add some feature"
  6. Push: git push origin v2
  7. Pull request

License

Crare is distributed under MIT.

FOSSA Status

telebot's People

Stargazers

 avatar

Forkers

fossabot

telebot's Issues

Roadmap

TEP is a fork of https://gopkg.in/telebot.v3. TEP can follow BotAPI updates faster, as well as some more radical optimizations (of course, there may be wrong modifications, and it is not necessarily stable. , because I often forget to test and I don't like unit tests).

Now I will push the latest roadmap here, and it will be continuously updated. If you have any nice features, please try merging them into telebot first instead of TEP. Only if your merge is rejected by telebot or there is no response for a long time, you should send a merge request to TEP.

By the way, some methods of telebot and TEP are different, please do not copy and paste directly.


Tasks

  • Upgrade the network framework to resty-ilo to coexist with fasthttp
  • PoolingContext
  • Modify Raw value passing to avoid more copies.
  • Remove or avoid regular expressions.
  • Optimize the way errors exist.
  • The middleware uses a method like Next() to continue.

New Docs

Some people may have doubts, why can't I run by the code written by Readme.md? Or cannot be correctly migrated from V1 to V2?

This is because V2 has made destructive changes to Handler and middleware, and I am writing new documents, so Readme will not continue to update. In the future, it will be discarded and requires turning to a new site.

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.