GithubHelp home page GithubHelp logo

brandom's Introduction

brandom

A tool for generating "random" strings from bottoms.

Warning

This application makes use of a Discord selfbot via discord.py-self. Discord selfbots are banned by the Discord Terms of Service.

Getting started

  1. Find a bottom (that doesn't mind being called a girl)
  2. Install application dependencies:
    pip install -r requirements.txt
    
    or, using Poetry:
    poetry install
    
  3. Install an ASGI web server of choice (examples use Hypercorn):
    pip install hypercorn
    
  4. Run the bot:
    $ USER_ID=<id of the bottom you found> TOKEN=<token> hypercorn main:app
    [2023-03-12 00:01:16 +0000] [25877] [INFO] Running on http://127.0.0.1:8000 (CTRL + C to quit)
    Logged on as notarealuser#0000
    
  5. Make your first request:
    $ curl -v http://localhost:8000/random
    *   Trying 127.0.0.1:8000...
    * Connected to localhost (127.0.0.1) port 8000 (#0)
    > GET /random HTTP/1.1
    > Host: localhost:8000
    > User-Agent: curl/7.87.0
    > Accept: */*
    > 
    * Mark bundle as not supporting multiuse
    < HTTP/1.1 200 
    < content-length: 88
    < content-type: application/json
    < date: Sun, 12 Mar 2023 00:08:41 GMT
    < server: hypercorn-h11
    < 
    * Connection #0 to host localhost left intact
    "kanfjsjnfkskfhmslahdjskdbwmmsnfbskdj 🥺🥺"
    
    or, use the web interface provided by FastAPI at https://<hostname>/docs

bottom.png

brandom's People

Contributors

gltile-two-electric-boogaloo avatar

Stargazers

 avatar lxhom avatar

Watchers

 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.