cadhub icon indicating copy to clipboard operation
cadhub copied to clipboard

make github app that posts images of diff on pull requests

Open Irev-Dev opened this issue 3 years ago • 2 comments

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

Irev-Dev avatar May 01 '21 11:05 Irev-Dev

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.

Irev-Dev avatar May 03 '21 19:05 Irev-Dev

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

Irev-Dev avatar May 06 '21 10:05 Irev-Dev