Notica
| Schemes | notica://, noticas:// |
| Cargo feature | service-notica |
| Service | https://notica.us/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | no title (merged into the body) |
| Body length | 32,768 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | yes |
URL formats
{schema}://{token}
{schema}://{host}/{token}
{schema}://{host}:{port}/{token}
{schema}://{user}@{host}/{token}
{schema}://{user}@{host}:{port}/{token}
{schema}://{user}:{password}@{host}/{token}
{schema}://{user}:{password}@{host}:{port}/{token}
{schema}://{host}{path}/{token}
{schema}://{host}:{port}/{path}/{token}
{schema}://{user}@{host}/{path}/{token}
{schema}://{user}@{host}:{port}{path}/{token}
{schema}://{user}:{password}@{host}{path}/{token}
{schema}://{user}:{password}@{host}:{port}/{path}/{token}
{schema} is one of notica://, noticas://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{host} | Hostname | string | no | ||
{password} | Password | string | no | secret | |
{path} | Path | string | no | / | |
{port} | Port | int, 1 to 65535 | no | ||
{token} | Token | string | yes | secret; must match ^\?*(?P<token>[^/]+)\s*$ | |
{user} | Username | string | no |
Query parameters
No service-specific parameters.
Prefixed parameters:
+name=value: HTTP Header
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
notica://aaaaaa
notica://localhost/bbbbbb
noticas://localhost/jjjjjj
notica://user@localhost/cccccc
notica://user:pass@localhost/dddddd/
noticas://localhost:8080/path/555555
noticas://user:pass@localhost:8080/666666
notica://user:pass@localhost/a/path/rrrrrr/
Rejected URLs:
notica://
notica://:@/
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'notica://aaaaaa'
Notes
Notica (notica://, noticas://): browser notifications through Notica.