run Lua scripts inside RetroShare to do different tasks.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Lua fix search + API change Aug 12, 2018
contrib contrib folder added. get_lua5.2.3.sh added Jun 10, 2014
gui
images second commit May 26, 2014
interface added LuaCore to the interface Jul 23, 2014
lang updated lang files Oct 29, 2017
scripts
service
.gitignore GUI cosmetics Jun 5, 2014
LICENSE
Lua4RS.pro add rapidjson include May 8, 2018
Lua4RSNotify.cpp
Lua4RSNotify.h added support for searching Nov 21, 2017
Lua4RSPlugin.cpp fix for pr 1336 Sep 14, 2018
Lua4RSPlugin.h fix search + API change Aug 12, 2018
Lua4RS_de.qm
Lua4RS_en.qm fixed translation and added some german translations Jul 29, 2014
Lua4RS_images.qrc second commit May 26, 2014
Lua4RS_lang.qrc
README.md
_todo.md added LuaContainer API code Jun 9, 2014
helper.cpp added back replaceAll since it still needed by other code Sep 1, 2015
helper.h added back replaceAll since it still needed by other code Sep 1, 2015
pseudo-documentation.md Update pseudo-documentation.md Jun 6, 2014

README.md

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.