All Projects β†’ itaditya β†’ react-preview

itaditya / react-preview

Licence: other
a GitHub App built with probot that generates preview links for react based projects.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-preview

Probot Gpg
A GitHub App that enforces GPG signatures on pull requests (no longer maintained)
Stars: ✭ 13 (-7.14%)
Mutual labels:  probot, github-api, github-app, probot-app
scalafmt-probot
πŸ€–Github bot for checking code formatting with scalafmt
Stars: ✭ 15 (+7.14%)
Mutual labels:  probot, github-api, github-app, probot-app
branch-switcher
a GitHub bot that switches the base branch of pull requests to the preferred branch
Stars: ✭ 15 (+7.14%)
Mutual labels:  probot, github-app, probot-app
Mergeable
πŸ€– All the missing GitHub automation πŸ™‚ πŸ™Œ
Stars: ✭ 475 (+3292.86%)
Mutual labels:  probot, github-app, probot-app
Stale
A GitHub App built with Probot that closes abandoned Issues and Pull Requests after a period of inactivity.
Stars: ✭ 1,070 (+7542.86%)
Mutual labels:  probot, github-app, probot-app
merge-me
A GitHub app that merges your pull requests once all required checks pass.
Stars: ✭ 19 (+35.71%)
Mutual labels:  probot, github-app, probot-app
new-pr-welcome
Welcome users when they open their first PR in your repository
Stars: ✭ 20 (+42.86%)
Mutual labels:  probot, github-app, probot-app
Todo
πŸ€–βœ… GitHub App that creates new issues from actionable comments in your code.
Stars: ✭ 685 (+4792.86%)
Mutual labels:  probot, github-app, probot-app
boring-cyborg
πŸ€– A Github bot to automatically label PRs, issues and perform all the boring operations that you don't want to do.
Stars: ✭ 66 (+371.43%)
Mutual labels:  probot, github-app, probot-app
Commitlint Bot
[NOT MAINTAINED] use https://github.com/apps/semantic-pull-requests
Stars: ✭ 157 (+1021.43%)
Mutual labels:  probot, github-app, probot-app
Auto Assign
πŸ€– A Probot app that adds reviewers to pull requests when pull requests are opened.
Stars: ✭ 140 (+900%)
Mutual labels:  probot, github-app, probot-app
issuelabeler
A GitHub bot to label issues automatically based on title and body against list of defined labels. System status (https://status.verticalaxisbd.com/)
Stars: ✭ 23 (+64.29%)
Mutual labels:  probot, github-app, probot-app
Weekly Digest
Weekly summary of activity on your GitHub repository πŸ“†
Stars: ✭ 199 (+1321.43%)
Mutual labels:  probot, github-app, probot-app
Request Info
Requests more info from PRs/Issues with either the default title or a blank body
Stars: ✭ 89 (+535.71%)
Mutual labels:  probot, github-app, probot-app
Gh Polls Bot
Automatically create polls in GitHub issues.
Stars: ✭ 187 (+1235.71%)
Mutual labels:  probot, github-app, probot-app
linter-alex
πŸ“Sensitive, considerate writing before you merge your Pull Requests
Stars: ✭ 67 (+378.57%)
Mutual labels:  probot, github-app, probot-app
probot-lambda
Test for running probot in AWS Lambda
Stars: ✭ 25 (+78.57%)
Mutual labels:  probot, probot-app
yamburger
YAML syntax got you down? That's a YAMBURGER!
Stars: ✭ 32 (+128.57%)
Mutual labels:  github-app, probot-app
First Timers Bot
A friendly bot that helps onboarding new Open Source Contributors
Stars: ✭ 239 (+1607.14%)
Mutual labels:  probot, probot-app
gitbot
The most popular Discord dev toolkit with 400k+ users πŸš€βœ¨
Stars: ✭ 59 (+321.43%)
Mutual labels:  github-api, github-app

react-preview

a GitHub App built with probot that generates preview links for react based projects.

Demo

How to Use

  • Go to the app page.

  • Install the github app on your repo.

  • If the react code is in the repo root directory then config ends here.

  • Now on any PR, comment /preview and the github bot app will reply with a preview link.

  • In case, your react code is not in the repo root. Say you have backend code in the repo root and inside that you have a folder named client/. The client folder contains the react code (along with it's package.json), then you have to tell the github app about this. Make sure the package.json containing the react dependency is directly in that folder. To do this, follow these steps -

  1. Create a folder named .github/ in repo root.
  2. Inside .github/ folder create a config.yml file.
  3. Put this code in the config.yml. Replace client with whatever your folder name is. You can also go deeper like /package/web.
reactPreviewFolder: client

If you followed the example the folder structure should look like

Folder Structure of Repo with react-preview installed

Setup for Development

# Install dependencies
npm install

# Run the bot
npm start

See docs/deploy.md if you would like to run your own instance of this app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].