gh-workflow-gui
gh-workflow-gui copied to clipboard
A prototype for a GUI editor for Github workflows
GH Workflow GUI
This is a prototype for a GUI editor for Github workflows, originally written for the DEV Actions Hackathon. It allows you to "compose" a Github workflow in a graphical flow-like interface.
Features
Some stuff that is implemented and works:
- Searching for and adding actions as steps
- Moving steps around and deleting them
- Connecting/disconnecting steps and their inputs/outputs
- Adding custom input environment variables
- Editing Bash and Python scripts (and detecting
::set-outputin those) - Getting the result as YAML
Some stuff that isn't done, but should be:
- Importing an existing workflow
- Better search
- Editing workflow triggers
- Multiple jobs
- Input expression editor
- Various bugfixes and cleaner code (well, it's a hackathon after all, right?)
- Me actually learning how to properly combine Vue/TypeScript so that
npm run buildworks
Screenshots
First you need to find and some actions:

Then you have to connect them (note the manually created input environment variable and automatically detected output variable on the Python step):

And done, you can now "collect" your YAML:

Project setup
npm install
In order for search to work you need to create a personal access token and replace
------- YOUR AUTH TOKEN HERE ------- in main.ts with it.
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build