From: https://github.com/martinsookael/multiverse Try it out: https://www.multiverse.im
The most dynamic chat meets the world’s fastest meme-generator*
Command line based chat, use commands to bring out gif-s and create memes.
It's currently pretty hackable. I'd love to find the equilibrium between hackable and secure.
Using command line enables fast creation of functionality without being stuck in the design and user implementation phase. It's easy - you don't have to use any buttons, you use commands. Espesialy good for tiny screens - like mobile for example.
- Assuming you have node and npm installed and also bower (
npm install bower -g
) - download the package - https://github.com/martinsookael/multiverse/archive/master.zip or
- git clone git@github.com:martinsookael/multiverse.git .
- sudo npm install
- I tend to get "node-gyp rebuild 2> builderror.log" but nevertheless the stuff seams to work
- go to conf.js and set "usesDb" to "false" if you don't plan to use database. Also the port can be set from there.
npm start
this also resolves the bower dependencies for the frontend- go to yourdomain:3001 or however you configured it.
- basic configuration and database is in conf.js
- /public/stylesheets/fonts.styl - I use it to keep several installations with different fonts.
HEROKU: heroku labs:enable websockets heroku addons:add mongolab
DATABASE:
Either start with:
"USER='xxx' PASS='xxx' HOST='xxx' DB='xxx' DBPORT=xxx COLLECTION='xxx' node t.js"
or edit conf.js with accurate database credidentials.
Core functionality:
- create meme
- create meme with text
- create shortcut
- up/down buttons
- private messaging
- change rooms (command line / url / front page)
Functionality:
- "is writing"
- "has seen"
- private message seen
- desktop notifications
- sound
- serialwriter - writes seven last messages on log in or on command "l"
- preview
All yet unnamed fronted functionality, usually won't break:
- url-s to links (broken, looses all of text)
- images to inline images
- scroll to bottom of page if something is posted (sometimes broken)
- working in iframe - like www.multiverse.im/#/r/one?iframe=1
- m, sc, w, logout, h, l, soundon, soundoff,
- avatars
10th July 2014 - 4m4t3ur cakeday in Reddit. We made a post and got a bunch of awesome feedback.
05th July 2014 - Code now being re-opensourced.
25 - 26 Apr 2014 Garage48 Health and Wellness hackathlon: Added: Angular support, First API, routing, meme help and other stuff
22nd Oct 2013 Android App + Heroku hosting + www.multiverse.im Since the Android app was together with the web app so the code got really messy. Stoped keeping it open sourced.
12th of Oct 2013 Now works with MongoDb.
around 10th of Oct Now supports memeing
5th of Oct 2013 Now detects width for Android devices. Now detects links to images and URLs and autogenerates them.
14th of Sept 2013 added support for listing online users and printing who is connected and who not. Also first (hidden) support for users. Users and rooms are from this tutorial - http://psitsmike.com/2011/10/node-js-and-socket-io-multiroom-chat-tutorial/
Also first very primitive soundnotifications. I found this tutorial useful here: http://www.storiesinflight.com/html5/audio.html
13th of Sept 2013 added socket.io support. Should now be multiplayer.
1st of June 2013 added express. Node.js now used to display statical page. Old mockup still there in in public/mockup.html
Spring 2013 Humble beginnings: https://github.com/451ee/t