Giter Site home page Giter Site logo

stampy's Introduction

stampy banner image

stam.py

This repository contains the code for Stampy The Safety Bot (@Stampy). Stampy’s primary purpose is to share questions from Rob Miles YouTube comments section and responses from Rob Miles AI Discord. Questions from YouTube that are interesting spark conversations on discord. Responses to the YouTube question on Discord can then be posted by Stampy as a reply to the YouTube comment.

You can also directly interact with Stampy on Discord (see invite link below). Ask it a question by messaging Stampy <YOUR QUESTION> on any channel.

Discord

Discussion and planning is primarily done on Discord. You are welcome to join via this invite.

Developer Set-up

  1. Install Requirements:
  2. Fork and then clone the repo
    • To fork, click the fork button on top of this page and accept default settings.
    • To clone run git clone https://github.com/<USERNAME>/stampy.git
  3. Create stampy python conda environment
    • Change directory to where you downloaded the stampy github repository: cd stampy
    • Run conda env create -f environment.yml This will create an anaconda python kernel with all the dependencies required to run the current version of stampy.
  4. Get access to appropriate channels in Discord. In the #stampy-dev channel, ask to be given access to:
    • #stampy-dev-priv channel to access the .env information
    • Stampy's Test Server
  5. Set Environment Variables
    • In the #stampy-dev-priv channel, go to pinned messages, and copy the message that starts with DISCORD_TOKEN
    • Create .env in the root of the stampy repository (so dotenv can find it)
    • Paste the message into .env
    • Add coda api token to .env: first create a coda account, then create a token in account settings, then add CODA_API_TOKEN="your-token-here" to .env
  6. Verify that your setup is working
    • Run conda activate stampy
    • Then run python3 stam.py or python stam.py from the base directory of the repository.
      • Alternatively, if you prefer to restart stampy on any file save (and if you have NodeJS installed), you can run npx nodemon stamp.py.
    • Go to Stampy's Test Server, then #stampy-dev-priv channel.
    • You should see a message from Stampy saying I just (re)started from git branch master by <your name>!
    • If you ask Stampy a question (e.g. Stampy, what is AI), you should see messages in your terminal processing this question.

How to Contribute

Check out the currently open github issues and pull requests, if you see something open you can help out with add a comment. Most coordinations is done through live voice calls in the discord.

If you make a change to source code, please create a new branch first, then commit your changes there. Open a pull request on github and ask for other developers to review your code before merging.

See TUTORIAL.md for a step-by-step tutorial detailing how to add features.

stampy's People

Contributors

robertskmiles avatar chriscanal avatar tayler6000 avatar jmccuen avatar augustusceasar avatar aprillion avatar matthewbaggins avatar ulissemini avatar lovkush-a avatar plexish avatar bmillwood avatar yevagorbachev avatar ccstan99 avatar jakkdl 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.