make github app that posts images of diff on pull requests #303

Open
opened 2021-05-01 13:11:22 +02:00 by Irev-Dev · 2 comments
Irev-Dev commented 2021-05-01 13:11:22 +02:00 (Migrated from github.com)

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

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 commented 2021-05-03 21:32:19 +02:00 (Migrated from github.com)

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.

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 commented 2021-05-06 12:07:44 +02:00 (Migrated from github.com)

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

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`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: h3n3/cadhub#303