Giter Site home page Giter Site logo

repo-finder-bot's Introduction

repo-finder-bot

Find the best repos to contribute to, right from Discord!

forthebadge made-with-python

Add to your server

Add Repo Finder Bot

FAQs

  • Hmm. What's this?

This is the Repo Finder Bot, a bot designed to help people find good GitHub repositories to contribute to.

  • How does it work?

Simple. Whenever you execute the rf.repo [topic] command in your server, the bot uses the GitHub API to find a good repository matching the topic and then send an array of details related to it.

You can also search for multiple topics, eg: rf.repo [topic1] [topic2].

You can even search repos of specific languages and topics using the rf.repolang [languages] [topics] command.

  • What sort of details?

A whole array of details, including basic info ranging from the amount of stars and forks to the latest issues contributed to the repo.

Here's an example:

Screenshot

  • Why are there no slash commands?

There was a slight trouble trying to fetch data using slash commands but don't worry, slash commands will be added soon!

  • Why is the code so bad?

It works.

I'll fix it.

  • Cool bot, can I add it to my server?

Of course you can! Just click this link and select the server of your choice.

  • How can I contribute?

Just check out the Issues pane for potential issues and submit a PR to solve them. Of course, you can always submit regular PRs not linked to an issue and I'd be happy to accept them!

  • How do I run the bot myself?
  1. Clone this repository
  2. Create a Discord bot token from here
  3. Create a GitHub personal access token from here (Make sure to copy it immediately! You "lose" it once you refresh or close the tab)
  4. Make a new file called .env inside the repo folder and paste the below code block in the file
GH_TOKEN="[paste Github token here]"
TOKEN="[paste Discord bot token here]"
DEV_GUILD=[paste your bot testing server ID here]
  1. Run pip install -r requirements.txt to install packages. You'll require Python 3.6 or better
  2. Once that's done, run the bot by executing python3 main.py in the terminal

If you aren't sure how to obtain your server ID, check out this article

If you get errors related to missing token environment variables, run source .env

Icons made by Freepik from Flaticon.

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.