Coder Social home page Coder Social logo

examples's Introduction

All examples in this repository are obsolete as of late 2020 (with most in /wip/ obsolete even earlier). Please consult the developer's guide or community projects like Urbit Lab.

Introduction

This is an open repository for Urbit example code.

There are generators (short Dojo commands), libraries (to be loaded into Dojo), Landscape and Gall applications, and marks and structures that these example appilcations use.

Give these a try by following the installation instructions below, and peruse the list.

Installation

First, you'll need a running urbit. Install Urbit, then boot a ship.

For development purposes, fake ships are best. If you need live network connectivity, comets are recommended.

Get started!

Some applications are working examples of Landscape applications with specific types of functionality you can play around with. Others are generators, libraries for Dojo, and more.

The top folder directory is listed per example; each example has folders you copy into your Urbit ship (eg. /app, /lib, /mar). Once you've copied the example into your ship, |commit %home (or whatever %desk you're using) to update your ship filesystem.

Getting started with Landscape tiles

Landscape tiles also use the React framework and require compilation if you want to change them -- find their source in the /src folder, npm install their dependencies, change the Urbit ship location in the .urbitrc file to your ship location, and npm run serve.

If you just want to try out the Landscape tile examples, then all you need to do is copy the other folders into your ship.

You'll find Landscape running on http://localhost:PORT, PORT being 80, 8080, 8081, and so on, depending on your operating system's free ports; see your ship's boot message for a notification as to what port HTTP is available on. If you haven't used Landscape before, you'll need to enter +code on your ship to get the password to authenticate yourself with on the Landscape interface.

See also the Urbit documentation for more information.

Examples

Each example has more information in its directory -- click an example below to learn more about it.

Learn a lot, and have fun!

The number one goal for this repository is for it to be fun! People are always around on Chat. Help each other out, and don't hesitate if you have an idea for a contribution. We'd love to make this both a learning resource and a record of what people in the community are coming up with.

Give us feedback via email after you've played around with these for a little bit. Let us know about your ideas, requests, and/or problems and we'll try and get back to you quickly. Pull requests are more than welcome.

examples's People

Contributors

0x70b1a5 avatar baudtack avatar cgyarvin avatar chc4 avatar eglaysher avatar fang- avatar galenwp avatar hoclun-rigsep avatar jfranklin9000 avatar jglukasik avatar joemfb avatar juped avatar matildepark avatar mattlevan avatar mattnewport avatar mckpm avatar mope avatar ngzax avatar ohaitch avatar othercriteria avatar philipcmonk avatar risruc-habteb avatar sonatagreen avatar techieagnostic avatar yosoyubik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Update main readme

This isn't formally related to the 151-ization of everything, but now that's complete things have changed a little and we need to update the readme.

lack of CONTRIBUTING.md

Relatedly, the unix sync instructions used to maintain(/mirror) wactex-ribmex should also live in this repository, but are only currently accessible in history.

Generator with optional arguments

+make from the old (and inscrutable) dojo.md is cool in that it shows off optional arguments. Problem is, it's a super-dense one-liner. I'd expand / comment it.

Here is an old copy when we get around to it.

:examples-sink and :examples-source are broken

Something’s wrong with the subscription between both the :examples-sink and :examples-source apps; I assume their types are messed up after some update.

Check out: http://urbit.org/docs/arvo/subscriptions/ for more detailed instructions on how to use/understand the two apps.

Here's the error i got after having started both apps:

activated app home/examples-source
[%subscribed-to pax=/sole]
> |start %examples-source
>=
[linked to [p=~mictyd-banlur q=%examples-source]]
; ~doznec is ok
[unlinked from [p=~mictyd-banlur q=%examples-source]]
gall: %examples-source: no poke arm for sole-action
[%drum-coup-fail ~mictyd-banlur 1 p=~mictyd-banlur q=%examples-source]
    activated app home/examples-sink
> |start %examples-sink
>=
> :examples-source 7
>=

Adapt web examples

Without hymn.hooks many of the ford examples are irrelevant. The %g examples probably have to be restructured.

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.