UTR-Sociometry
Flexible environment for social network analysis (SNA). Software provides
full-cycle of retrieving and subsequent processing data from the social networks.
parsing & analyzing social networks data.
The aim of the development of the automated system is to replace the existing
solutions a new, more flexible tool, adapted to the needs of the researcher.
Develops products will be endowed into full-stack solution written using
Coffee-script both on server & client sides. Current state: development
.
Architecture
Section | Technology | Functions |
---|
Runtime environment | Node.js | JavaScript interpreter (engine) |
In-memory data storage | Redis | Key-value data structure server |
Main language | CoffeeScript | Syntax sugar that compiles into JavaScript |
Queue server | Kue | Priority job queue backed by Redis |
Database storage | LevelUP | Node.js-style LevelDB wrapper |
Graph database interface | LevelGraph | Graph database (hexastore approach) |
RPC system | Dnode | Asynchronous socket service via sockjs |
Clustering tool | Node Foreman | Manager for Procfile-based applications |
Installation
.env
KUE_PORT="8816"
LEVEL_PORT="9004"
PANEL_PORT="8294"
LEVEL_DIR=".db"
STATIC_DIR="static"
TELEGRAM_TOKEN="****"
Procfile
kue: coffee ./src/core/kue.coffee.md
level: coffee ./src/core/level.coffee.md
telegram: coffee ./src/core/telegram.coffee.md
panel: coffee ./src/core/panel.coffee.md
Create new user (optional)
useradd --home-dir /home/bot --create-home --shell /bin/bash bot
usermod -g staff bot
Install Node.js global packages
npm install -g coffee-script coffee-jshint foreman
Clone package from github
git clone https://github.com/caffellatte/undertherules.git
cd undertherules
npm install
Usage
Run application with Node Foreman:
nf start
Links
Contribution
To release a new version:
git checkout master
npm version <major|minor|patch>
git push && git push --tags
npm publish
Thanks
Romanovsky P. (Socialist Group); Ashomko A. (TigerMilk); Pivkin P. (BuzzLike);
Korotun V. (BuzzLike); Grigoriev E. (Esprite Games); Bogomolov A. (NMO);
Akhmetov A. (RTA Moscow) ; Maas E. (TASS News Agency).
License
MIT License
Copyright (c) 2016 Mikhail G. Lutsenko (m.g.lutsenko@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.