Skip to content
Infrastructure for maintaining Go Vanity hosted at go.status.im
JavaScript HCL Makefile
Branch: master
Clone or download
jakubgs add wrangler usage to todo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Latest commit 622ff5b Aug 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
go_vanity.js
main.tf
variables.tf create CloudFlare worker to host the go vanity page Aug 6, 2019
versions.tf

README.md

Description

This repo defines the infrastructure necessary for https://go.status.im/.

Details

This is achieved by use of CloudFlare Workers which are a:

serverless execution environment that allows you to create entirely new applications ... without configuring or maintaining infrastructure.

The whole scrip is go_vanity.js which simply generates some basic HTML which includes the necessary <meta> tags for Go Vanty imports which look like this:

<meta name="go-import" content="go.status.im/whisper git https://github.com/status-im/whisper">

Configuration

Just edit the PACKAGES variable in go_vanity.js:

const PACKAGES = {
  'go.status.im/something': 'https://github.com/status-im/status-something', /* added */
  'go.status.im/protocol':  'https://github.com/status-im/status-protocol-go',
}

Todo

  • Start using wrangler if the JS script gets too complex
  • Maybe use a templating engine like a civilized human being
  • Make the index page more fancy?

Links

You can’t perform that action at this time.