Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/probot/probot
🤖 A framework for building GitHub Apps to automate and improve your workflow
https://github.com/probot/probot
github-apps probot
Last synced: 7 days ago
JSON representation
🤖 A framework for building GitHub Apps to automate and improve your workflow
- Host: GitHub
- URL: https://github.com/probot/probot
- Owner: probot
- License: isc
- Created: 2016-09-16T20:56:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T23:21:31.000Z (19 days ago)
- Last Synced: 2024-10-19T17:44:03.448Z (16 days ago)
- Topics: github-apps, probot
- Language: TypeScript
- Homepage: https://probot.github.io
- Size: 12.2 MB
- Stars: 8,934
- Watchers: 121
- Forks: 950
- Open Issues: 70
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- my-awesome-list - probot
- awesome - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (others)
- awesome-starred-test - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- awesome-github-star - probot
- awesome - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- jimsghstars - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- awesome - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- awesome - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
- awesome-starts - probot/probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow (TypeScript)
README
Probot
A framework for building GitHub Apps to automate and improve your workflow
---
If you've ever thought, "wouldn't it be cool if GitHub could…"; I'm going to stop you right there. Most features can actually be added via [GitHub Apps](https://docs.github.com/en/developers/apps), which extend GitHub and can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. Apps are first class actors within GitHub.
## How it works
**Probot is a framework for building [GitHub Apps](https://docs.github.com/en/developers/apps) in [Node.js](https://nodejs.org/)**, written in [TypeScript](https://www.typescriptlang.org/). GitHub Apps can listen to webhook events sent by a repository or organization. Probot uses its internal event emitter to perform actions based on those events. A simple Probot App might look like this:
```js
export default (app) => {
app.on("issues.opened", async (context) => {
const issueComment = context.issue({
body: "Thanks for opening this issue!",
});
return context.octokit.issues.createComment(issueComment);
});app.onAny(async (context) => {
context.log.info({ event: context.name, action: context.payload.action });
});app.onError(async (error) => {
app.log.error(error);
});
};
```## Building a Probot App
If you've landed in this GitHub repository and are looking to start building your own Probot App, look no further than [probot.github.io](https://probot.github.io/docs/)! The Probot website contains our extensive getting started documentation and will guide you through the set up process.
This repository hosts the code for the npm Probot package which is what all Probot Apps run on. Most folks who land in this repository are likely looking to get started [building their own app](https://probot.github.io/docs/).
## Contributing
Probot is built by people just like you! Most of the interesting things are built _with_ Probot, so consider starting by [writing a new app](https://probot.github.io/docs/) or improving one of the [existing ones](https://github.com/search?q=topic%3Aprobot-app&type=Repositories).
If you're interested in contributing to Probot itself, check out our [contributing docs](CONTRIBUTING.md) to get started.
Want to discuss with Probot users and contributors? [Discuss on GitHub](https://github.com/probot/probot/discussions)!
## Ideas
Have an idea for a cool new GitHub App (built with Probot)? That's great! If you want feedback, help, or just to share it with the world you can do so by [creating an issue in the `probot/ideas` repository](https://github.com/probot/ideas/issues/new)!