cadhub
cadhub copied to clipboard
make github app that posts images of diff on pull requests
Resources I've found so far. Offical Github tutorial, although it uses ruby https://docs.github.com/en/developers/apps/setting-up-your-development-environment-to-create-a-github-app
here's a medium post using node
https://medium.com/@knidarkness/creating-a-github-app-with-node-js-3bda731d45b9
One thing interesting about that is there's on official github npm package for thing stuff @octokit/app
General info about apps https://docs.github.com/en/developers/apps
The content attachement dos will be useful for displaying something that looks more app like. https://docs.github.com/en/developers/apps/using-content-attachments This feature is in public beta so might change. Edit: I don't think this will be very useful, I think attachements is a bad term for this feature I was hoping I could attached files, (like 3d meshes) bit its more about being pinged if someone with your app install also links to your website.
So I've spent a couple days playing with Github apps that I feel pretty grounded in what the task involves, but I don't think now is the time to build it as more tooling on cadhub side itself needs to be done. The following should help later when I come back to this.
This guide: https://kurthutten.com/blog/getting-start-with-a-serverless-github-app/
This repo: https://github.com/Irev-Dev/serverless-github-app-starter
and the branch kurt/github-app-303