• Stars
    star
    168
  • Rank 218,241 (Top 5 %)
  • Language
    HTML
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Crossbar.io Examples

Crossbar.io Examples

This repository contains example code and applications for Crossbar.io.The examples are self-contained and ready to run. Each of the example directories contains an Crossbar.io configuration. In order to run the example, just got to its directory and do crossbar start.

Getting started

If you are new here, we recommend you to start with our Getting started page.

Overview of Examples

This overview may not be complete - so check the repository listing if you're looking for something not listed here.

To give you a better idea of a small working WAMP application there is

For a slightly more complex (and realistic) application:

The following examples cover specific features of WAMP/Crossbar.io

And finally, there are examples using specific devices or technologies:

Adapting for other languages

Most of the examples are for Python and JavaScript, even though often what is shown would work with other languages and WAMP client libraries. This is purely due to lack of resources. We want you to use Crossbar.io with whatever language or languages you want.

Anybody is very welcome to adapt example code for other languages.

Similarly, you're welcome to add examples that you think provide value to other users.

To do either, just send us a pull request.

Keeping things up to date

As you'll probably notice sooner or later, Crossbar.io is a work in progress. Core functionality is stable, but there is a lot of development going on around it. We try to keep these examples working. If you find that something is broken, then please file an issue (or fix it and send us a pull request).

Additional Examples

For historic reasons, the Autobahn|Python repository also contains some examples for using WAMP. The most relevant to the general Crossbar.io user can be found in this directory. These are almost always for both Python and JavaScript (using Autobahn|JS).

Some of the instructions here still assume a basic router in Autobahn|Python which has since been removed, but in principle they should run with Crossbar.io. The chance of running across an outdated example here are higher, however. Should you find such an example, please file an issue (or fix it and send us a pull request).

More Repositories

1

autobahn-python

WebSocket and WAMP in Python for Twisted and asyncio
Python
2,463
star
2

crossbar

Crossbar.io - WAMP application router
Python
2,044
star
3

autobahn-java

WebSocket & WAMP in Java for Android and Java 8
Java
1,511
star
4

autobahn-js

WAMP in JavaScript for Browsers and NodeJS
JavaScript
1,431
star
5

autobahn-testsuite

Autobahn WebSocket protocol testsuite
Python
928
star
6

autobahn-cpp

WAMP for C++ in Boost/Asio
C++
249
star
7

txaio

Utilities to support code that runs unmodified on Twisted and asyncio
Python
58
star
8

autobahn-js-browser

Browser release builds of AutobahnJS
JavaScript
39
star
9

zlmdb

Object-relational in-memory database layer based on LMDB
Python
28
star
10

iotcookbook

Crossbar.io IoT Cookbook
JavaScript
17
star
11

autobahn-c

C
14
star
12

txaio-etcd

A Twisted client for etcd3
Python
14
star
13

cookiecutter-crossbar

Cookiecutter project templates for Crossbar.io
JavaScript
2
star
14

cookiecutter-autobahn-python

Cookiecutter project templates for AutobahnPython
Python
2
star
15

cookiecutter-autobahn-cpp

Cookiecutter project templates for AutobahnC++
C++
2
star
16

pyside2reactor

Twisted reactor for Pyside2 ("Qt for Python")
Python
2
star
17

cookiecutter-autobahn-java

Cookiecutter project templates for AutobahnJava
1
star
18

cookiecutter-autobahn-js

Cookiecutter project templates for AutobahnJS
JavaScript
1
star
19

cookiecutter-wampsharp

Cookiecutter project template for a WampSharp/C# based microservice for use with Crossbar.io
C#
1
star
20

zkmoloch

Solidity
1
star
21

cookiecutter-nexus-go

Cookiecutter project template for a Nexus/Go based microservice for use with Crossbar.io
Go
1
star