Skip to content

URL capture and post to Slack using Headless Browser in Kotlin/JS and running with Cloud Functions for Firebase.

License

Notifications You must be signed in to change notification settings

sakebook/kotlin-js-headless-chrome

Repository files navigation

kotlin-js-headless-chrome

URL capture and post to Slack using Headless Browser in Kotlin/JS and running with Cloud Functions for Firebase.

image

Environment

  • Kotlin v1.4.21
  • Gradle v6.3
  • dukat v0.5.8-rc.3
  • Node v12

Build

$ ./gradlew clean compileKotlinJs

Debug

Running local server.

You need replace SlackConfig.

$ ./gradlew clean cKJ packaging && cd functions && npm install && npx @google-cloud/functions-framework --target=capture ; cd -

Deploy

You need setup gcloud.

$ ./gradlew clean 
$ rm -rf functions
$ gcloud builds submit . --config cloudbuild.yaml

Copyright (c) 2020 sakebook Licensed under the Apache License.

About

URL capture and post to Slack using Headless Browser in Kotlin/JS and running with Cloud Functions for Firebase.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published