Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

codius/codius-web

Repository files navigation

codius-web

Web-monetized Codius service deployment and loading pages.

Run

npm install
npm run build
PAYMENT_POINTER=$codius.example.com npm start

Environment Variables

CODIUS_HOST_URI

  • Type: String
  • Description: Root URI the Codius host

PAYMENT_POINTER

RECEIPT_VERIFIER_URI

REQUEST_PRICE

  • Type: Number
  • Description: The amount required to have been paid to serve a request. Denominated in the host's asset (code and scale).

Routes

/

Codius host's service deployment page.

This page is web-monetized. Deployment instructions are displayed when payment is verified (by successfully crediting receipt(s) to the web monetization request id balance at the receipt verifier).

The balance is expected to be debited by the Codius host's authentication token webhook (implementation) when the CREATE request is made to the Kubernetes API server.

/{ID}/402

Codius service balance reload page.

This page is web-monetized. The total paid amount and a link to the Codius service are displayed when payment is verified (by successfully crediting receipt(s) to the Codius service's balance at the receipt verifier).

About

Deploy and access Codius services from the web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published