Skip to content

A service for launching a bot that broadcasts (pronounces) donation events to Clubhouse.

License

Notifications You must be signed in to change notification settings

kirillkuzin/donatehouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👋 donatehouse

A service for launching a bot that broadcasts donation events to Clubhouse room.

Used clubhouse-py and Agora Python SDK.

Right now, this only works for donation alerts.

⚠️ Attention ⚠️

You use this service at your own risk and should understand that your account may be blocked.

Usage

You must have a verified account that has passed the procedure for joining the Clubhouse (via an invite).

To get started, create a Clubhouse room from your primary account. After that, create a donation alerts application (here) and add "http://127.0.0.1:8000/code" to redirect uri list of your application.

Run

  1. Clone this repository
  2. Setup virtual environment, if you need
  3. Install dependencies pip install -r requirements.txt
  4. Run uvicorn server uvicorn donatehouse.main:app

Setup

  1. Go to http://127.0.0.1:8000/index in your browser
  2. Enter the phone number from your account (you must have an access to this phone number)
  3. After redirect, enter the confirmation code that will be sent in the SMS
  4. Enter the room id (you can find it in the share link)
  5. Enter the language that the robot will speak (ru, en, etc.)
  6. After redirect, enter the application id and application secret from your donation alerts application (you can find it here)
  7. Log in to donation alerts if need it
  8. Now you can invite your user to become a speaker. After a while, he will accept the invitation and you will be able to accept donations via your donation link

For reset configuration, delete the file "donatehouse/setting.ini". Also you can edit this file for faster setup.

❤️ Help

The most useful pull requests will be UI-altering ones, but the repository is open to any help.