x/denote@0.2.1
A minimal profile page generator for Deno Deploy that denotes you
$ # to install denote cli
$ deno install --allow-read --allow-write --allow-net --no-check --force https://deno.land/x/denote/cli/denote.ts
$ # to install example config
$ denote init ./denote.yml
$ # to see in local server
$ denote serve ./denote.yml
$ # to create or update the page
$ denote register ./denote.yml --name your-name --token your-token
$ # to remove the page
$ denote unregister --name your-name --token your-token
name
: The name of your page (https://denote.deno.dev/[name]
). This must be
unique in Denote and matched with /^[a-z][a-z0-9_-]{2,64}$/
.token
: The secret token. This is hashed and saved. This must matched with
/^[!-~]{8,128}$/
.You can call API manually with any tools like curl
. The endpoint is
https://denote.deno.dev/
.
POST
request to register your data. You can use this to create and update.
name
, token
and config
(the config JSON object) are required.
name
and token
that you saved are required when you update.
DELETE
request to unregister your data. name
and token
that you saved are
required.
The config data has these keys.
https://denote.deno.dev/[name]
) is used. This is also used in the
title of html.See also
example.yml that
generated by denote init
and
denote.yml that
running on Demo.
Visit icongram to search available icons.