Git Product home page Git Product logo

examples's Introduction

Introduction

This repository contains some example code for Urbit. There are generators (dojo commands) in dojo/, libraries in libs/, HTML frontends generated by %ford in ford/, and full %gall applications in gall/.

Installation

The %examples desk on ~wactex-ribmex contains all the examples in this repository. To get these examples on your urbit, you can set up a sync from ~wactex-ribmex to your own %examples desk:

|sync %examples ~wactex-ribmex %examples
activated sync from %examples on ~wactex-ribmex to %examples
sync succeeded from %examples on ~wactex-ribmex to %examples

Change your current directory to the %examples desk:

> /=examples=

if you want to use a generator:

> +hello
"hello, world."

or a library:

> /+  sorts
> test:sorts
[~[4 5 6 10] ~[4 5 6 10]]

(note that there are two spaces between '/+' and 'sorts' in the first line)

Navigate to example %ford pages at http://your-ship.urbit.org/examples/fordn (with the appropriate number for n), or http://localhost:8080/examples/pub/fordn if you're not routed through ~doznec. To start example %gall apps, use |start %examples %name.

Many of the %gall apps have front ends that can also be found at http://YOUR-SHIP.urbit.org/examples/pub/APP-NAME/fab if you're routed through ~doznec, or http://localhost:8080/examples/pub/APP-NAME/fab if you're not.

Feedback

We'd love to hear about your experience with these examples. Join us on talk, or contact Henry Ault ([email protected], ~sivtyv-barnel) with your feedback.

examples's People

Contributors

cgyarvin avatar chc4 avatar galenwp avatar juped avatar mckpm avatar ohaitch avatar othercriteria avatar philipcmonk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.