Convos is the simplest way to use IRC. It is always online, and accessible to your web browser, both on desktop and mobile. Run in on your home server, or cloud service easily. It can be deployed to Docker-based cloud services, or you can just run it as a normal Mojolicious application, using any of the Deployment Guides.
We got a live demo that is free to try.
The backend server will keep you logged in and logs all the activity in your archive.
All chats will be logged and indexed, which allow you to search in earlier conversations.
The chat contains profile pictures which can be retrieved from Facebook or from gravatar.com. The avatar used when talking with Convos is lovingly delivered by Robohash.org.
Links to images and video will be displayed inline. No need to click on the link to view the data.
Convos requires a Redis server to function. If you are
deploying on OSX you can use homebrew, or if you are on
Ubuntu or similar install Redis using apt-get install redis-server
. Note
that we require Redis 2.6+. If your distro version is too old, you can easily
build Redis from source.
To install convos we provide a simple script. All it requires in addition to redis is a working build environment with make, Perl and a C compiler. Copy/paste this to the command line:
$ curl -L https://convos.by/install.sh | bash -
Then just follow the instructions. If you're worried about running a script directly from a web server, just download it and inspect it before you run it.
It's also possible to run Convos from a checked out git repo:
$ git clone https://github.com/Nordaaker/convos.git
$ cd convos
$ ./vendor/bin/carton install
$ ./vendor/bin/carton exec script/convos daemon --listen http://*:8080
You can either run convos as a single process or a in a preforked environment. The single process is the simplest to maintain, but preforked is perfect when you need to scale.
# single process
$ ./vendor/bin/carton exec script/convos daemon
# prefork
$ ./vendor/bin/carton exec hypnotoad script/convos
Try adding "-h" at the end for command line options.
Running it with hypnotoad
will start a full featured, UNIX optimized, preforking
non-blocking webserver. Run the same command again, and the webserver will hot
reload the source code without losing any connections. By default it will
listen to http://*:8080/
but you can easily change this using
environment variables.
See also:
- Environment variables for configuration
- Mojolicious Guides for production deployment.
For convenience, we include a Dockerfile so you can build a Docker image easily if you want a custom config, or pull our image directly from the docker index.
If you are interested in deploying Convos on Digital Ocean, you should follow this guide.
Note: By default Convos will use the Mojo IOLoop, which is pure perl. In production you might want to install EV - we automatically use it if it is installed, and it performs much better.
To get the latest version of convos, you can run the install script above again from the parent directory of your convos-release directory, and it will download a newer version and overwrite your installation. Before you do this, make sure to stop the running application, then start it again once you've updated. Note that if we've changed the schema, Convos will ask you to upgrade it before you can start the app. to do this, run
$ ./script/convos upgrade
From the convos-release folder. This should automatically update your schema to the latest version.
Note that if you downloaded convos using git, you should do git pull
instead
of using the install script.
- Keep it easy to install
- Keep the JS simple and manageable
- Use Redis to manage state / publish subscribe
- Archive logs in plain text format, use ack to search them.
Jan Henning Thorsen - jhthorsen@cpan.org Marcus Ramberg - marcus@nordaaker.com
The Robot images are delivered by Robohash.org under the CC-BY license.
Copyright (C) 2012-2014, Nordaaker.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.