Disclaimer: This project is no longer maintained. Feel free to fork and improve it if you'd like - it is vaporware after all.
Vaporware wishes to thank all the contributors: ryjm, yungcalibri, vcavallo and of course rabsef-bicrym
%mask
allows a pilot to log into their urbit with MetaMask from a public
page.
This application is ideal for being included in a hosting custom pill such that a new user can log into their urbit for the first time, unassisted.
- Navigate to
https://<your-ship-url>/apps/mask/login
- "Connect" MetaMask to the account that holds this Azimuth point
- Click "Log in" and sign the message from MetaMask
- You will be redirected to your logged-in ship via standard urbit cookies.
- Navigate to the same URL as above, but specify query parameters:
appRoute
- the app's path to be appended to your ship URLdesk
- the human-readable name to display in the %mask UI- Full contrived example:
https://<your-ship-url>/apps/mask/login?appRoute=/apps/groups&desk=%25urbit-groups
.- This would show "Connect your wallet to access the installed vaporware: %urbit-groups" (the latter bit here coming from the
desk
parameter) and upon successfully signing, would be redirected tohttps://<your-ship-url>/apps/groups
(theappRoute
specified) - Note, the
%25
in the 'desk' parameter renders a literal%
sign in the UI
- This would show "Connect your wallet to access the installed vaporware: %urbit-groups" (the latter bit here coming from the
- Optionally pass the
vapor
query parameter with any value to present the desk as 'vaporware'
- Follow steps 2-4 above
- Zuse kelvin 412
There are some scripts in bin/
for helping with building and serving the
public-ui
interface. In particular, bin/serve-interface.sh <your urbit port. like 8081>
is helpful if you have multiple local ships running and need to
point the UI at one.
desk
- [TODO: details about the urbit desk]
public-ui
is a simple Vue3 app that supplies a basic public-facing login page,
which is served by eyre.
See public-ui/README.md
for more.
Use deploy.sh
to build the UI and copy the index.js
file to the desk
directory. TODO: make this deploy script do all the things, instead of just
index.js
Coming soon
admin-ui
is a Vue3 app, served as a glob/urbit app to allow the ship operator
to configure %mask
.
See admin-ui/README.md
for more.