Coder Social home page Coder Social logo

gmxus / proxybot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from savely-krasovsky/proxybot

0.0 1.0 0.0 17 KB

Ready to deploy SOCKS5 server and Telegram Bot with embedded database to store users credentials.

License: MIT License

Go 100.00%

proxybot's Introduction

ProxyBot

Ready to deploy SOCKS5 server and Telegram Bot with embedded database to store users credentials. Great for deployment and using in small communities and chats.

Config

To start using bot you need _config.yml file:

# Required params
token: telegram_bot_token
addr: fdqn_or_ip

# Optionally you can change port, but 1080 is default
port: 1080

# In private mode, bot will require adding user manually, else it will just register anyone automatically
private: true

# Also you can change limit of maximum users, 100 is default
limit: 100

# Connections limit per user
connsperuser: 10

# Setting admin id will give access to admin commands
adminid: 123456

# Only for development with restricted api.telegram.org
proxy:
    addr: fdqn_or_ip
    port: 1080
    username: user
    password: pass
    
# Verbose logs
verbose: false

Commands

  • /start - automatically registers new user (if bot is not in private mode) or just shows you actual credentials
  • /redeem {invitation code} - redeems invitation code and registers user
  • /update {username} {password} - updates user's creds, without args generates default pair
  • /remove - totally removes user from database

Admins only:

  • /make_invitation - makes invitation that can be redeemed only once

proxybot's People

Contributors

savely-krasovsky avatar

Watchers

James Cloos 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.