Session open group server
Go to file
Ryan Tharp 77983aa53f
update defaults
2020-01-30 00:55:43 -08:00
dialects add note 2020-01-30 08:45:43 +00:00
docker blank acme config 2019-12-02 06:24:13 +00:00
logic merged config mods correctly 2020-01-06 23:54:52 +00:00
models unblacklistUserFromServer(), blacklistUserFromServer promise fix, logging tweaks, style fixes 2019-11-25 05:59:34 +00:00
nodepomf@03c62aa428 bump submodule versions 2020-01-14 04:47:10 +00:00
server@5ba9554b8b make sure pulling latest submodules 2020-01-29 07:15:19 +00:00
test no mod_token guard 2020-01-30 08:50:39 +00:00
.gitignore Ignore node_modules 2019-08-12 16:56:27 +10:00
.gitmodules include nodepomf submodule, bump submodule versions 2019-12-30 06:14:42 +00:00
.travis.yml update travis to expect a unified set up 2019-12-29 23:27:42 -08:00
Dockerfile run unit-tests, make sure local node-modules don't interfere 2020-01-14 04:47:31 +00:00
README.md highlight MySQL as the only tested option 2020-01-13 23:01:21 -08:00
config.js spacing 2020-01-29 07:06:34 +00:00
config.json the web port is meant to be public 2020-01-29 23:05:19 -08:00
docker-compose.yml Unified version 2019-12-30 07:03:41 +00:00
fetchWrapper.js make token optional, noJson mode 2019-09-10 08:16:34 +00:00
lib.dialect.js add error logging 2019-11-25 05:57:19 +00:00
lib.overlay.js add back preflight 2019-12-30 08:38:06 +00:00
logic.js remove comments meant for logging, implement moderator removal, cleanup 2019-11-08 23:32:18 +00:00
loki_template.ini update defaults 2020-01-30 00:55:43 -08:00
overlay_server.js unify it 2019-12-30 06:16:02 +00:00
package-lock.json add mysql 2019-11-28 01:58:48 +00:00
package.json add description 2019-12-02 00:42:55 +00:00
storage.js add dbMonitor to keep connection to mysql alive 2020-01-29 07:07:34 +00:00

README.md

loki-messenger-public-server

Loki Messenger public chat server

an Express REST API for serving persistence history public chat rooms for Loki Messenger.

System requirements:

  • NodeJS
  • A storage engine supported by camintejs for persistence
    • Recommended: Mysql/MariaDB
    • Suggested: MySQL/MariaDB, SQLite3, PostgresQL, Redis
    • Possible: Mongo, CouchDB, Neo4j, Cassandra, Riak, Firebird, TingoDB, RethikDB, ArangoDB

Check our docs.loki.network for complete instruction

Manual set up instructions (without attachment support) may look like:

git submodule init
git submodule update
cp loki_template.ini loki.ini
# edit loki.ini (set your first moderator key)
# could edit config.json if you wanted but most people don't need to touch it
npm i -g pm2
npm i
cd nodepomf
npm i
cd ../server
npm i
cd ..
pm2 start overlay_server.js --watch --name "lmps"

Popular linux distribution instructions to install NodeJS

Ubuntu NodeJS installation:

curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -

then

sudo apt-get install -y nodejs