sehraf / Lua4RS

run Lua scripts inside RetroShare to do different tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

Lua4RS is not actively developed anymore and may only receive maintanance updates. Please consider switching to the json REST api instead. You can find some examples here https://github.com/sehraf/python-retroshare

Lua4RS

A RetroShare plugin to automate and script things on RetroShare using the Lua language.

What is RetroShare?

RetroShare is a secure decentralised communication platform. http://retroshare.sourceforge.net/

What is Lua4RS?

This plugin let you interact with RetroShare. It exposes most RetroShare functions to Lua and provides a trigger system. You can write scripts that react to events (from RetroShare) like a friends comes online or received a new mail. With access to most RetroShare functions, you can do the same in the Lua language as you can do in C++.

Requirements

  • RetroShare v0.6 (use the 0.5 tag for RetroShare 0.5)
  • at least Lua 5.2
    • This also includes developer packages and everything you need on your linux distro.
    • For Arch Linux install lua.
    • For Ubuntu you need lua5.2_5.2.4-1ubuntu1_amd64.deb, liblua5.2-0_5.2.4-1ubuntu1_amd64.deb, liblua5.2-0-dbg_5.2.4-1ubuntu1_amd64.deb, liblua5.2-dev_5.2.4-1ubuntu1_amd64.deb, lua5.2-doc_5.2.4-1ubuntu1_all.deb (based on ASmith's report)

How to build

Simply run "qmake" (or "qmake-qt4") and "make". Then place libLua4RS.so/Lua4RS.dll in your extension folder.

About

run Lua scripts inside RetroShare to do different tasks.

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 85.7%Language:Lua 12.8%Language:QMake 1.4%Language:Shell 0.1%