Skip to content

buildingthebear/Henry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Henry the Hypemachine

The friendliest, most supportive and persuasive robot on Telegram.

Hosted on AWS EC2 using DynamoDB, built with Python, OpenAI & Telegram Bot APIs

Local Deployment

  1. Clone the repository and navigate to the directory

        gh repo clone Build-the-Bear/Henry && cd ./Henry
  2. Create a new virtual environment

         python3 -m venv venv
         . venv/bin/activate
  3. Install the requirements

         pip3 install -r requirements.txt
  4. Make a copy of the example environment variables file

         cp .env.example .env
  5. Add your OpenAI API key to the newly created .env file

  6. Add your Etherscan API key to your .env

  7. Create your bot and add the Telegram Bot API key to your .env, then make it an admin of at least one Telegram group

  8. Create an AWS DynamoDB table named chat_info with chat_id as the primary key, and add your AWS account's access key(s) to the .env file as well

  9. Run Henry!

         python3 henry.py

Contributing

  • Fork the repo and create a new branch, then make your changes
  • Use title-case in your commit messages with a brief, comma-delimited list of changes
  • Create a pull request to the 'dev' branch with a description of changes, and expected results
  • Request review from Build-the-Bear

MIT License

About

Henry the Hypemachine

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages