a simple skeleton and sandbox to start messing around with the urbit http-api library (especially if you're a Hooner with no frontend experience (like me!))
- All examples are drawn from here.
- See other skeletons.
- Look here to explore gradually incorporating React elements into what you've built.
Files to mess around with:
/app/hapibox.hoon
/app/ex/auth.html
/app/ex/poke.html
/app/ex/scry.html
/app/ex/sub1.html
/app/ex/sub-unsub.html
/app/ex/ted.html
- Clone this repo.
- Boot up a ship (fakezod or moon or whatever you use).
|new-desk %hapibox
to create a new desk called `%hapibox.|mount %hapibox
to access the%hapibox
desk from the unix command line.- At the unix command line
rm -rf [ship-name]/hapibox/*
to empty out the contents of the desk. cp -r hapibox/* [ship-name]/hapibox
to copy the contents of this repo into your new desk.- At the dojo command line
|commit %hapibox
. - Install with
|install our %hapibox
. - Go to one of the following urls to see the examples. Mess around with the code in
/app/ex
to change the behavior of these pages.
[your-domain-name]/apps/hapibox/auth
[your-domain-name]/apps/hapibox/poke
[your-domain-name]/apps/hapibox/scry
[your-domain-name]/apps/hapibox/sub1
[your-domain-name]/apps/hapibox/sub-unsub
[your-domain-name]/apps/hapibox/ted