Giter Club home page Giter Club logo

code-questions-bot's Introduction

Code Questions Bot made-with-python & Tweepy

contributions welcome Open Source Love png3

Maintenance open issues closed pull requests GitHub contributors

Follow on Twitter

Vicki wrote this about Building the Code Question Bot

Mission

Have fun & meet other devs while learning and helping each other learn.

Screeenshot of tweets by @codeQBot "What does API Stand for" and "What is exception handling? why use it?"

Contributing

If you would like to contribute, feel free to make a pull request.

First time? I suggest starting with adding a question to questions.py. Check out issue #5 for more details.

If you need more of a step-by-step, skim through this article about making your first contribution.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Who Has Contibuted?

All contributions are greatly appreciated.

image of contributors generated by https://contributors-img.web.app/ pulling from https://github.com/VickiLanger/code-questions-bot/graphs/contributors

Reference Stuff

Why are you doing it like this?

I could streamline this bot a lot by using txt files as input. However, one of the goals of this bot is to help Code Newbies get their first open source contributions. I want people to have the chance to make simple changes while actually learning the process of how git is working.

code-questions-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

code-questions-bot's Issues

set up index.html

  • accesibility

  • head: twitter tags

  • head: facebook tags

  • make it pretty?

Questions that need answers

This will be a running issue to let people know how to add answers to questions


In each of the questions files, there are some questions that do not have answers next to them.

All questions should have an answer. If it's not reasonable to write the answer, you can add just a link.


All questions added should look like the below

'question goes here',  # short answer goes here, add a link if it's not a short answer

Proposed workflow:

  1. Fork this repo
  2. Add answers to applicable question file keeping to the existing style/conventions:
    • Each question should have an answer
    • After the trailing comma, there should be 2 spaces then # then another space
    • follow the example above
  3. Once you are done and checked for typos, commit it & push your work to your fork
  4. Submit a PR against this repo

Someone will look it over and, if deemed appropriate, will merge your PR.

Thanks for contributing!


Don't forget to follow the bot on Twitter to see the hard work you put in.

Verbiage for Inclusion and Safety

I have these questions set up for the bot to ask, but I've commented most out. I don't want them to inadvertently hurt people. If you fit into these groups of people, please help.

Goals:

  • As inclusive as possible
  • Avoid hurting people
  • Avoid outing people
  • Avoid other issues

Need help with:

  • as inclusive as possbile
  • wording
  • appropriateness
    'What badass ladies are you following that everyone else should follow? \nWhy? \nTag \'em',
    # 'What badass dudes are you following that everyone else should follow? \nWhy? \nTag \'em',
    # 'What badass trans* peeps are you following that everyone else should follow? \nWhy? \nTag \'em \nnote: do not out someone who isn't out',
    # 'What badass POC are you following that everyone else should follow? \nWhy? \nTag \'em',
    # 'What badass underrepresented peeps are you following that everyone else should follow? \nWhy? \nTag \'em',

If you'd like to help but prefer to be more private, DM on Twitter Vicki_Langer or email me at [email protected]

Add Exception Handling

Need to add exception handling to tweet.py

try:
    api.update_status(question)
except:
    # not sure what would go here?
finally:
    api.update_status('I seem to not be working properly. Bug @Vicki_Langer about getting me fixed or help her out by submitting a pull request https://github.com/VickiLanger/code-questions-bot')

Don't forget to follow the bot on Twitter to see the hard work you put in.

Add UI for adding questions

  • create an issue to receive the input questions
  • create a simple UI to gather questions
  • make the questions add to an issue

Don't forget to follow the bot on Twitter to see the hard work you put in.

Add questions to questions files in questions_dir

This will be a running issue to let people know how to submit questions

Want to contribute code-related questions for the bot to ask? This is your chance. Go for it.


A few rules:

  • Questions must be code related
  • The goal is to create conversation and substance. Avoid yes/no answers.
  • Add questions to the questions file that makes the most sense.
    • a back end question would go in questions_backend.py
    • a pop culture question would go in questions_pop_culture.py
  • Must fit in Twitter's 280 character limit

All questions added should look like the below

'question goes here',  # short answer goes here, add a link if it's not a short answer

Proposed workflow:

  1. Fork this repo
  2. Add question to applicable question file keeping to the existing style/conventions:
    • Each question should be in its own line
    • Surrounded by single quotes (')
    • Keep the trailing comma
  3. Once you are done and checked for typos, commit it & push your work to your fork
  4. Submit a PR against this repo

Someone will look it over and, if deemed appropriate, will merge your PR.

Thanks for contributing!


Here's some things to help spark ideas
wordcloud


Don't forget to follow the bot on Twitter to see the hard work you put in.

Profile Picture

Part of #1
We need a recognizable profile pic for twitter.
We also need a header pic
Here's some idea I was playing with:

1
2
Code Question Bot header graphic

Missing Logo.png File

Describe the bug
Currently on the Github page, there is a img tag in the Navbar with src="logo.png".

It looks like the logo file wasn't uploaded to the repo.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://vickilanger.github.io/code-questions-bot/
  2. Notice the Logo is a broken image link in the nav bar

Expected behavior
The Logo should be displayed.

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Edge (Chromium Beta)
  • Version 80.0.361.50

Stop the repeating questions!

Is your feature request related to a problem? Please describe.
Some questions are being asked repeatedly

Describe the solution you'd like
I'd like the questions to not be repeated so often

Describe alternatives you've considered

  • read docs on random() to see if there is a better way
  • remove each question from the list until they've all been asked, then add them back in
  • track questions being in a database

Additional context
https://twitter.com/vicki_langer/status/1230321697439571969?s=20


Don't forget to follow the bot on Twitter to see the hard work you put in.

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.