Skip to content

niblyx-malnus/hapibox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

hapibox

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

Installation

  1. Clone this repo.
  2. Boot up a ship (fakezod or moon or whatever you use).
  3. |new-desk %hapibox to create a new desk called `%hapibox.
  4. |mount %hapibox to access the %hapibox desk from the unix command line.
  5. At the unix command line rm -rf [ship-name]/hapibox/* to empty out the contents of the desk.
  6. cp -r hapibox/* [ship-name]/hapibox to copy the contents of this repo into your new desk.
  7. At the dojo command line |commit %hapibox.
  8. Install with |install our %hapibox.
  9. 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

About

http-api sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published