Julien Lengrand-Lambert 0494975e83 Latest version of slideS
2021-03-19 10:42:36 +01:00
2021-03-19 10:42:36 +01:00
2021-03-19 10:42:36 +01:00
2021-03-19 10:42:36 +01:00
2021-03-19 10:42:36 +01:00
2021-03-05 15:17:18 +01:00
2021-03-05 15:17:18 +01:00
2021-03-05 15:17:18 +01:00
2021-03-16 18:26:01 +01:00

Github Templates

This repository was created for my talk at Javaland 2021 about Voice apps.

The app presented here is an Alexa voice app that allows the user to create repositories from Github templates. It was created using the Alexa Skills Kit

Structure :

The structure of this repository is the typical structure of a Java generated ask app.

  • skill-package contains all the information about the skill itself, as well as the 'front-end' of the app
  • lambda contains the Java code and represents the 'back-end' of the app. It is uploaded as an AWS lambda.

Some interesting files :

Running the code

This code is specifically wired to run on my environment. However, you can try it in a few steps.

  • Make sure to be logged in the AWS CLI locally.
  • In the skill.json file, empty out the "apis" object.
  • Make sure that the ask-resources.json file "type" key contains your default AWS region.
  • Once you have deployed the lambda using ask deploy, create the GITHUB_LOGIN and GITHUB_OAUTH environment variables so the lambda can interact with your Github account.
  • If you want to be able to run GithubDataGrabber, create a .githubconfig file in the root of the repository with the GITHUB_LOGIN and GITHUB_OAUTH values.

note : You can find more information about the Github API here.

note2: Using environment variables is fine for testing, but for actual production usage there are better ways to interact with the Github API.

Slides of the talk

See slides.

Author

Description
No description provided
Readme 11 MiB
Languages
Java 100%