github-script VS workflows

Compare github-script vs workflows and see what are their differences.

github-script

Write workflows scripting the GitHub API in JavaScript (by actions)

workflows

Workflows make it easy to browse, search, execute and share commands (or a series of commands)--without needing to leave your terminal. (by warpdotdev)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
github-script workflows
11 3
3,933 592
2.2% 2.4%
6.4 7.1
26 days ago 2 months ago
TypeScript Rust
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

github-script

Posts with mentions or reviews of github-script. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.
  • Github Actions - Output
    1 project | dev.to | 22 Aug 2023
    It's also possible to use output through the github-script action.
  • How to Terraform with Comments (And You Can DIY!*)
    3 projects | dev.to | 22 May 2023
    I wrote a custom script to parse PR comments as input commands to interface with Terraform CLI, returning the output as bot comments. Each step of the workflow relies on GitHub Actions, including actions/github-script to interact with GitHub's API (while brushing up on my JavaScript!).
  • actions-rs Github Actions need more maintainers!!! OR to be replaced
    7 projects | /r/rust | 21 Nov 2022
    You can generate what to annotate with a few lines of shell and then use gihub-script
  • GitHub Actions by Example
    13 projects | news.ycombinator.com | 24 Jan 2022
    Nice idea, worth mentioning other features:

    * Reusable workflows (note: matrix strategy doesn't work here): https://docs.github.com/en/actions/using-workflows/reusing-w...

    * Composite actions: https://docs.github.com/en/actions/creating-actions/creating...

    * Script as action: https://github.com/actions/github-script

    * Using GitHub Packages and artifacts: https://docs.github.com/en/actions/publishing-packages/about...

    * Using docker-compose-like services that run alongside of the container: https://docs.github.com/en/actions/using-containerized-servi...

    And many, many more :)

  • Automating Data Analytics Environments
    7 projects | dev.to | 7 Dec 2021
    actions/github-script@v5
  • Automatically cross-publish posts from my blog to dev.to
    2 projects | dev.to | 7 Dec 2021
    This workflow makes use of the awesome github-script that makes working with API's a breeze!
  • Paste of screenshots on GitHub isn't working with Chrome
    1 project | /r/xfce | 8 Sep 2021
    GitHub support hasn't been helpful so far. If you use Chrome on Linux, type xfce4-screenshooter or flameshot and grab a screenshot. Then navigate to any issue or PR, for example, https://github.com/actions/github-script/issues/187 and in the comment box at the bottom, type Ctrl-V. Either you'll see your image get uploaded or you won't. You don't need to save nor submit the comment.
  • Build GitHub Actions with a Docker Container
    2 projects | dev.to | 16 Feb 2021
    Note at the end of the bash, and we are leveraging a curl command to talk directly to the GitHub API. This curl command is meant for simplicity. All of this could have been done using the octokit.rest.js library or better github-script.
  • Automate your PR reviews with GitHub Action scripting in JavaScript
    3 projects | dev.to | 14 Feb 2021
    In this post, I am going to focus on the API and actions/github-script. This action makes it easy to quickly write a script in your workflow that uses the GitHub API and includes the workflow run context.
  • My First Github Workflow
    3 projects | dev.to | 6 Sep 2020
    My new github action follows a simple workflow: Whenever a user opens a pull request to the repository with the configured workflow, a comment is made on the PR with a greeting to the user and another comment with the statistics about the repository and PR are posted. Used the github-scripts (https://github.com/actions/github-script) action to get the API and context to write my own script in the workflow. It was a very fun exercise for me. Thankyou Dev Team for this cool contest!

workflows

Posts with mentions or reviews of workflows. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-05.
  • Show HN: Commands.dev, a searchable collection of commands from across the Web
    1 project | news.ycombinator.com | 11 May 2022
    Hi HN,

    I’m Aloke, one of the co-creators of commands.dev (https://www.commands.dev/) and an engineer at Warp (https://www.warp.dev/).

    Commands.dev is a curated, open-source collection of popular terminal commands that lets you quickly search for hard-to-remember terminal commands by title, tag, and description. Each of these pages are also indexed by Google to provide a consistent, well-formatted alternative to the variety of sources these commands turn up now, like StackOverflow.

    As an engineer who uses the terminal frequently, I often have trouble remembering the exact command I want to execute if it’s not easily searchable within my terminal. Some commands that I run infrequently don’t match up with the underlying task they perform, which makes it even harder to find. For example, to undo my last git commit, I have to search for “git reset”, which I never remember because I’m always thinking “undo”ing my last commit instead of “reset”ing.

    We built commands.dev so that there would be a centralized place to quickly find and search commands based on their name, description, or category. If you are a Warp user, these commands are also integrated directly into Warp as a feature we call Workflows (https://docs.warp.dev/features/workflows) so that you can quickly search and execute them directly from the terminal.

    These commands are open-source (https://github.com/warpdotdev/workflows) and we would love contributions to make commands.dev even more useful. So far, we’ve already had 85 commands created by 22 unique contributors.

    I’m excited to hear what you think of commands.dev! Our team sincerely hopes this will become a go-to tool on the Internet to consult when developers need to remember a difficult command, either directly on the site or by discovering a commands.dev page when searching Google for help with a command.

    If you’re interested, join Warp’s Discord (www.warp.dev/discord) and follow us on Twitter (www.twitter.com/warpdotdev).

  • Show HN: Warp, a Rust-based terminal for the modern age
    39 projects | news.ycombinator.com | 5 Apr 2022
    It's a good question, one that we are discussing a bunch.

    We are planning to first open-source our Rust UI framework, and then parts and potentially all of our client codebase. The server portion of Warp will remain closed-source for now.

    You can see how we’re thinking about open source here: https://github.com/warpdotdev/Warp/discussions/400 TLDR;

    As a side note, we are open sourcing our extension points as we go. The community has already been contributing new themes [https://github.com/warpdotdev/themes]. And we’ve just opened a repository for the community to contribute common useful commands. [https://github.com/warpdotdev/workflows]

What are some alternatives?

When comparing github-script and workflows you can also consider the following projects:

dependabot-core - 🤖 Dependabot's core logic for creating update PR's.

Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.

devhub - TweetDeck for GitHub - Filter Issues, Activities & Notifications - Web, Mobile & Desktop with 99% code sharing between them

glkitty - port of the OpenGL gears demo to kitty terminal graphics protocol

checkout - Action for checking out a repo

warp - Secure and simple terminal sharing

take-action - This is an action to assign yourself to an issue for a repo you are not a contributor to.

setup-tflint - A GitHub action that installs Terraform linter TFLint

gh-action-terminal

upterm - A terminal emulator for the 21st century.

toolkit - The GitHub ToolKit for developing GitHub Actions.

accesskit - UI accessibility infrastructure across platforms and programming languages