Skip to content

moreeyesplz/moreeyesplz.github.io

Repository files navigation


Logo

More Eyes, Plz!

A simple way to crowdsource feedback on your GitHub commits.

Go To Site · Get MEEP Scanner ·
Report Bug · Request Feature




Table of Contents




✨ About The Project

This is a weekend project built by Jeremy and Hannah Ong as a submission to the Dev.to's GitHub Actions Hackathon. We thought that in the spirit of Dev.to and GitHub's community, that a community-led resource to help people like myself get feedback on GitHub commits would be a great submission. It went on to win the grand prize in the "Maintainer Must-Haves" category.

This README in particular will be the main documentation that explains how all the repos within More Eyes, Plz are connected.


🧩 How Does It All Work?

To best explain how all the repos within More Eyes, Plz are connected, I will provide a walkthrough of what happens after someone gets started.

  1. The meep_scanner will run on every push. It will "scan" each commit for [MEEP]. If the commit contains [MEEP], and the repo is public, then the meep_scanner will send metadata to a Google Cloud Function.
  2. The meeper will now recieve the metadata from the meep_scanner via the Google Cloud Function. This repo is where the bot credentials are hidden as enviornment variables. It will then create the issue on the meeps repository as an issue, which will feed the More Eyes, Plz! website In addition, it also creates the initial commit comment:

themeepbot initial commit message example

  1. The themeepbot is the webhook responder. It listens to the commit comments for a command. Currently the only command running is close written as [MEEP close]. When this is sent by the author, then themeepbot will close the issue and it will be removed from the website.

Although the meep_scanner is the public-facing GitHub Action that is in the marketplace, meeper, and themeepbot are also GitHub Actions.

The above walkthrough mainly outlines the backend, but I think it makes sense to talk about the frontend user flow separately.

  1. When a user first encounters the More Eyes, Plz! website, they will be taken to a landing/login page. That is because we currently do not have a GitHub access token for the user/session. After they authenticate via GitHub OAuth / Octokit, we store it in local storage until the user logs out.
  2. Once the user logs in, the site will fetch the issues from the meeps repository and the list of all tags and display them on the site. The cards re-fetch when the filter search string changes.

🔧 Built With

The frontend (website) is built with React, TypeScript, Material-UI, and unDraw. The backend (GitHub Actions) is built with Node, Octokit, and Google Cloud Functions.


🚀 Getting Started

For each repository you wish to potentially request feedback on, please performing the following steps:

1. Add topics to your repository

Topics added help others discover your requests more easily through filters. To do this, hit the settings wheel at the top right of your repository's home page. Then, add topics that pertain to your code. This could be the programming language, a framework or library you're using, or any other general tag.

GitHub Repo Topics


2. Install the MEEP Scanner action

In your repository, make the file .github/workflows/meep.yml with the following contents:

name: meep_scanner
on: [push]

jobs:
  meep_scan:
    runs-on: ubuntu-latest
    steps:
    - uses: moreeyesplz/meep_scanner@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}

This will cause the scanner to run each time you push to the repository.


3. Tag commits you'd like feedback on with [MEEP] or [meep]

When you write a commit you'd like another set of eyes on, include the text [MEEP] or [meep] somewhere in your commit message. For best results, it's recommended that you:

  • DO include some context about what you'd like insight on
  • DON'T request feedback on overly trivial changes

4. Follow the discussion!

Your commit will be listed along with the repository tags on the More Eyes, Plz! website. Feedback will be provided in the form of comments on your commit within Github. You'll receive notifications when people make comments or ask for clarification.


5. Thank your reviewers!

Don't forget to thank your reviewers with a kind note or a healthy number of emojis.


🌊 Workflow

These are internal notes for myself to remember the frontend workflow for this project:

  1. npm run start to start the react server for testing
  2. git add, git commit, git fetch, git rebase, git push to send the data to the repo.
  3. Go to the repo click on Actions, navigate to Workflows > deploy.
  4. Click the Run workflow dropdown and click Run workflow to deploy the site to production.




🚥 Roadmap

See the table below for a list of proposed features (and known issues) by repositories.

Repository Description Link
moreeyesplz.github.io Public-facing website aggregating and displaying meeps issues/features
meep_scanner GH Action that scans your public repo commits for "[MEEP]" issues/features
meeper Internal action which acceps meeps from meep_scanner issues/features
themeepbot Webhook responder for themeepbot issues/features




🤝 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request




☎️ Contact

📣 @duchess_toffee · @m_ninepoints
📫 hchai1991@gmail.com · jeremycong@gmail.com

:octocat: More Eyes, Plz! Github Repo




📚 Resources