<!-- 
	El tiempo me dijo que es hora

	de bajarme del tren

	y tal vez

	si el tiempo algún día

	me diga que hacer
-->
# Nibis 🐤🐤

Free software platform (bloatware) where anyone can write, edit and create LaTeX PDFs with a WYSIWYG editor and a Tedi editor. 


# Editor

Download it where you want to load, open index.html with your prefered browser and enjoy.

# TogetherJS

** Extracted from TogetherJS tutorial **

TogetherJS has two main pieces:

* The [server](https://github.com/mozilla/togetherjs/blob/develop/hub/server.js), which echos messages back and forth between users.  The server doesn't do much, you may gaze upon its incredibly boring [history](https://github.com/mozilla/togetherjs/commits/develop/hub/server.js).

* The client in [`togetherjs/`](https://github.com/mozilla/togetherjs/tree/develop/togetherjs) which does all the real work.

There is a TogetherJS hub server deployed at `https://hub.togetherjs.com` - and there's little need for other server deployments.  If you want to try TogetherJS out we recommend you use our hub server.  Note if you include TogetherJS on an https site, you must use an https hub server.

The files need to be lightly "built": we use [LESS](http://lesscss.org/) for styles, and a couple files are generated.  To develop you need to build the library using [Grunt](http://gruntjs.com/).

To build a copy of the library, check out TogetherJS:

```sh
$ git clone git://github.com/mozilla/togetherjs.git
$ cd togetherjs
```

Then [install npm](http://nodejs.org/download/) and run:

```sh
$ npm install
$ npm install -g grunt-cli
```

This will install a bunch of stuff, most of which is only used for development.  The only "server" dependency is [WebSocket-Node](https://github.com/Worlize/WebSocket-Node) (and if you use our hub then you don't need to worry about the server).  By default everything is installed locally, i.e., in `node_modules/`.  This works just fine, but it is useful to install the `grunt` command-line program globally, which `npm install -g grunt-cli` does.

Now you can build TogetherJS, like:

```sh
$ grunt build buildsite --no-hardlink
```

This will create a copy of the entire `togetherjs.com` site in `build/`.  You'll need to setup a local web server of your own pointed to the `build/` directory. To start a server on port 8080, run:

```sh
$ node devserver.js
```

If you want to develop with TogetherJS you probably want the files built continually.  To do this use:

```sh
$ grunt devwatch
```

# API

By default, API uses 8080 from a local IP. You should change it in your web/js/ip.js and in api/index.js.

## Libraries

- NodeJS
- TexLive-full with XeTeX for UTF-8 support
- NPM
- All NodeJS bloatware that you can get with npm install.
- Good luck.

## Installation

```
npm install
node index.js
```

# License

AGPL V3. Publish what you use, please.
Imported code from others projects are stated as it.
