Infrastructure for maintaining Go Vanity hosted at go.status.im https://go.status.im/
Go to file
Jakub Sokołowski be5539575d
add legacy warning to readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-18 11:18:53 +02:00
.gitignore add .gitignore for terraform 2019-08-06 13:46:16 -04:00
Makefile formatting 2019-08-06 14:41:13 -04:00
README.md add legacy warning to readme 2021-05-18 11:18:53 +02:00
go_vanity.js fix tempalting to add redirects to package paths 2019-08-06 18:29:07 -04:00
main.tf create CloudFlare worker to host the go vanity page 2019-08-06 14:36:02 -04:00
variables.tf create CloudFlare worker to host the go vanity page 2019-08-06 14:36:02 -04:00
versions.tf create CloudFlare worker to host the go vanity page 2019-08-06 14:36:02 -04:00

README.md

⚠️ WARNING: This a legacy repo and is no longer used.

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