AdaGPT
toolkit
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)
AdaGPT | toolkit | |
---|---|---|
2 | 20 | |
13 | 4,695 | |
- | 1.6% | |
5.2 | 9.5 | |
10 months ago | 14 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AdaGPT
-
AdaGPT: My Learnings While Building a GitHub Action
I posted my GitHub Action, AdaGPT, for the GitHub Hackathon here on DEV.to a few days ago. While implementing this action, I learned a lot and want to take the time to share them. Here are my learnings in no particular order:
-
AdaGPT: AI support for Issues and Pull Requests right at your fingertips!
Repository Marketplace
toolkit
- Disable Annotations in Github Actions
-
Develop, test, and deploy your extensions for all popular CIs from a single codebase
Different libraries (like actions/toolkit and microsoft/azure-pipelines-task-lib) with more accessible and easy-to-use APIs are available out-of-box
-
Format repo - GitHub Action to format your code with comfort
I used the libraries from actions/toolkit to create my action. It's more comfortable than when I did it with Docker. I looked at all the libraries, and most of all: actions/core, actions/exec and actions/github.
-
OpenCommit: GitHub Action to improve commits with meaningful messages on every `git push` 🤯🔫
The Action is built using TypeScript and Node.js, popular choices for GitHub Actions due to their excellent support for asynchronous operations, a crucial requirement considering the multiple I/O operations involved. In the initial setup, I used the actions/toolkit package which provides useful utilities to streamline the creation of GitHub Actions. I picked @actions/core for basic functionalities such as inputs, outputs, and error handling, @actions/github to interact with GitHub's REST API, and @actions/exec to execute shell commands.
-
AdaGPT: My Learnings While Building a GitHub Action
The package @actions/github provides a hydrated Octokit.js client. Octokit.js is the SDK of GitHub and contains several subpackages like @octokit/rest and @octokit/graphql to interact with the REST or GraphQL API.
-
AdaGPT: AI support for Issues and Pull Requests right at your fingertips!
The GitHub Action was implemented with TypeScript using the GitHub Actions Toolkit and the OpenAI Node.js Library. The Action is activated on new comments on issues and pull requests if they mention @AdaGPT. The relevant issue number is determined from the event payload. Then all existing comments for this issue are read. If the issue is a pull request, the git diff is also read.
-
Creating GitHub Actions for community engagement
Creating actions can be an overwhelming task, so to help you on your journey, here are two indispensable resources that can assist you in getting started; Actions Toolkit and Javascript action template. Still, this article will dive into how to create an action.
-
The feature request for a "allow-failure" option on GitHub Actions now almost has one thousand thumbs up
Please support something like "allow-failure" for a given job
-
I'm leaving Github
More than 2 years of ignoring requests to add an important feature (allow-failure) to Github Actions (ref, ref. When not ignoring, completely misunderstanding the feature as if those building Github Actions are unfamiliar with core features of competing platforms.
- Official GitHub Actions Toolkit is abandoned
What are some alternatives?
openai-node - The official Node.js / Typescript library for the OpenAI API
act - Run your GitHub Actions locally 🚀
hello-world-javascript-action - A template to demonstrate how to build a JavaScript action.
fully-featured-scalable-chat-app - An example of how to architect a fully featured, scalable chat app. With user and channel management and message history.
webhooks - machine-readable, always up-to-date GitHub Webhooks specifications
github-script - Write workflows scripting the GitHub API in JavaScript
typescript-action - Create a TypeScript Action with tests, linting, workflow, publishing, and versioning
azure-pipelines-task-lib - Libraries for writing VSTS and TFS build tasks
community - Public feedback discussions for: GitHub Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more!
rest.js - GitHub REST API client for JavaScript