Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

Under the rules of Sociometry

$
0
0
Under the rules of Sociometry Track, find, mining, parsing & analyzing data from social networks. Software provides nimble operations with web-data.
Current state: minimum viable product (MVP).

Stack Kue is a priority job queue backed by redis, built for node.js. Request ― Simplified HTTP request client. Telegram-node-bot ― Module for creating Telegram bots. Redis is an open source, in-memory data structure store. Node.js ― javascript runtime built on Chrome’s V8 JavaScript engine . Node Foreman is a Node.js Implementation of Foreman Telegram messenger CLI ― Command-line interface for Telegram.

Deployment Hardware

Tested on Flops SSD cloud-hosting Debian 8 (VDS).

System packages

Debian 8.* Jessie

sudo apt-get install curl build-essential htop mc git-core tcl8.5 \

nginx openjdk-8-jre tree apache2-utils

Create newuser

sudo useradd ― home-dir /home/bot ― create-home ― shell /bin/bash bot

Configure nginx. Add symbolicLinks.

cd /etc/nginx/sites-enabled

sudo ln -s /home/bot/node_modules/undertherules /etc/nginx/default

Install globalpackages

sudo npm install -g coffee-script coffee-graph clog-analysis foreman

Install

npm install ― save undertherules

Developers version. Use foreman for start/stop application directly

from ~/node_modules/undertherules path.

Data Sources Instagram Facebook YouTube Coub VKontakte MyMail Odnoklassniki Foursquare Twitter Vimeo

Links Using self-signed certificates ― Upload your certificate using the certificate parameter in the webhook method. Create self-signed SSL certificate for Nginx ― another solution. Login to Facebook using cURL ― for background collecting data. My first cakefile ― brief manual. directory-reader.coffee ― helper. Upstart ― starts and stops tasks and daemons according to event rules. OpenJDK packages ― system package. Cytoscape.JS ― Graph analysis and visualisation. Convert.pem to.crt and.key ― for telegram webhook. How To Install Nginx on Debian 8 ― helpful tips. Marvin’s Patent Pending Guide to All Things Webhook. Up-to-date Java 6 packages for Debian. CoffeeScript syntax ― Syntax across languages per language. Dracula Graph Library ― is a set of tools to display interactive graphs. Telegram Bot API Webhooks Framework ― develops and deploys bots. gobject-introspection-1.0.pc ― Error. No package found. Typelib file for namespace ‘Notify’ not found ― system packages.

ToDo Add class CreateJob. Add Russian & Hebrew comments in the code. Create bot for flops.ru . Add new links from: vk.com/big.data. Boten.io is the most advanced analytics for your Telegram bot. Tests using telegtam-cli.

LICENSE MIT License

Copyright 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 S

Viewing all articles
Browse latest Browse all 11063

Trending Articles