Skip to content

thiagosanches/t800

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

152 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

t800

An unexpected Telegram/Raspberry journey.

Installation

git clone https://github.com/thiagosanches/arisco.git
cd arisco
npm i
node main.js

How to configure ?

There is a config.json file that should be configured like the following example:


{	
	"authorizationToken" : "YOUR_TOKEN_GOES_HERE",
	"config" : {
		"adminUsers" : [1,2,3],
		"selfies" : ["assets/image01.jpeg", "assets/image02.jpeg"],
		"customCommands" : [
			{ 
				"command1" : ["my command 1"],
				"executeWithSpawn" : true
			},
			{
				"testing" : "echo 'not executing with spawn'"
			}
		],
		"deniedCommands" : ["rm", "rmdir", "shutdown", "halt", "sudo", "mv", "touch", "chmod", "wget", "curl", "echo"]
	}
}

About

An unexpected Telegram/Raspberry journey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors