Running Octoherd scripts in the browser #31
Replies: 3 comments 9 replies
-
This is super cool! https://github.com/marketplace/repo-meister givest me a 404, I guess it's not approved yet? It seems that you created an OAuth App? Why not a GitHub App? it would give more control with the installs, with granular per-repository access.
what did you need to rewrite?
I wanted to create a browser-based runners since the beginning of @octoherd, so that is super cool to see! Do you plan to open source the project? No pressure, just curious. Besides running the scripts, it would also be nice to provide visualizations for the output logs. Our idea is that in future a script could define a list of "tasks" that it does (such as "check if starred", "star", "unstar") and then log out each time the task is performed. That way the runner can log out a summary at the end. The web runner could show all of the logs with options to filter theme out by level, or using some kind of syntax such as Anyway, there is no lack of ideas 🤣 |
Beta Was this translation helpful? Give feedback.
-
Oops, I see the Marketplace listing is not published yet. Is the coarse OAuth permission scheme holding you back from installing the tool? I'm thinking about rewriting it to a GitHub App before publishing it (for real) on the Marketplace.
In the first version all the "actions" were implemented in Java. Then I started thinking about a Python framework to facilitate 3rd party actions and then I bumped into Octoherd 😄 Now all actions are public Octoherd scripts.
Yes, planning to open source and setup a paid Marketplace plan for private organization repositories. I have some experience with that from developing https://github.com/robvanderleek/create-issue-branch
Currently the tool runs an Octoherd script in isolation for a single repo. It shows the console output of that run. You can select multiple repos to run scripts for a larger portfolio in one go. I spent some time investigating if GitHub Actions could be used to run the scripts (so the scripts run in an isolated environment under the user/org GH account). Unfortunately GH Actions does not really support one-off type of workflows and the GH token in Actions has a very limited scope (it can't be used to admin repo settings).
Thanks a lot for all the feedback so far 👍 |
Beta Was this translation helpful? Give feedback.
-
I've rewritten the app from an OAuth integration to a GitHub App: https://repomeister.com/ Due to the diverse nature of Octoherd scripts (they can be used to automate many different things 🤖) I'm still struggling a bit with the permission configuration:
Could you give the GitHub App a try? Of course I understand if you are not interested in beta-testing or simply too busy.
Actions have the benefit that the Octoherd script runs in a safe environment under full control of the user/org. However, I also want to keep a low-complexity user experience. The current workflow is 1. Choose script, 2. Choose repo, 3. Run. Creating an Action workflow or having the user set a PAT is something I would like to avoid (but maybe these steps can be automated, just not sure how). |
Beta Was this translation helpful? Give feedback.
-
I've create https://repomeister.com, a tool to run Octoherd scripts in the browser.
It's on the GitHub Marketplace and free to use for all personal repositories and public organization repositories. The current version is an "Octoherd" rewrite (I used custom action code before). The code is still hot from the oven so there might be some 🐛 here and there.
Very interested in all your feedback/questions/feature requests! Also tell me if you don't like it or you would never use such a tool.
Beta Was this translation helpful? Give feedback.
All reactions