Iandi it's a simple, open source, privacy oriented
assistant based on sobot.
This isn't an official Telegram client.
- What time is it?
- What day is it?
- Repeat
- Calculate
- Set language
- Set country
- Set city
- Set custom/shortcut commands
- Phone
-
-
- Get near places (work in progess...)
-
-
-
-
- Do i need umbrella today?
- How is the weather?
- Notes manager
-
-
-
- Reminder manager
-
-
-
- System utility
-
-
-
- Turn up the system volume
-
- Turn down the system volume
- Dice
-
-
-
- Timer
-
-
- Answer (ask a question to search on web)
- Music player
-
-
-
-
-
-
-
-
-
- Read the news
- GUI
- Tray icon
- Phone
-
-
- Dictate
- Lists
- Alarms clock
- Translate command
- Search on web command
- RSS reader
- Road directions
- Play music even offline
- Change stt (maybe deepspeech)
- Change tts
- Configuration page in ad-hoc wifi
- Fix plugins problems when Iandi's main use internals.py
- Make the code python3 compatible
- Finish near places
- Stock market
- pyaudio
- playsound
- pyttsx3
- speechrecognition
- pocketsphinx
- pyalsaaudio
- python-vlc
sudo ./install
To log into Telegram:
python telegramlogin.py
Step by step installation
- "Install dependencies?" will ask you to insert a package manager (apt, dnf, etc.) and it will install all dependecies automatically (along with pip).
- "Install snowboy?" will install the wake word detector. If you want use vocal command, then type Y then choose a precompiled snowboy. If in the list there isn't your system, then you have to compile it by yourself.
- "Compile procname?" will enable Iandi to manifest it self as "Iandi" in task managers and system monitors.
- "Get Terminal Virtual Face?" will get the python code to generate a talking face in the terminal. Type Y if you are unsure.
- "Install tdlib?" will enable Iandi to use telegram to get and send messages across it.
- "Install brain MIME type?" will enable the system to see the *.brain files as a brain for sobot like bots.
- "Install Iandi on system?" will enable the user to execute Iandi by typing "iandi" into the terminal or by executing the launcher (.desktop)
- "Autostart Iandi on login?" (only if installed on system) will autostart Iandi on user login.
The uninstall process depends on where you installed Iandi.
For the default installation path this will fit:
sudo rm -rf /usr/local/bin/iandi ~/.iandi
At the moment there are only 3 execution types:
To select execution type, pass it as argument:
./iandi lite
./iandi noui
Passing no argument means normal execution type will be set.
There are 2 files which have to be translated:
- brain (in brains/)
- json (in langs/)
To better understand brain syntax,
read sobot's readme.
To better understand json in langs/ just use eng.json as example.
For lang code use the 3 digits version. A list of all
codes are available in ISO-639-2_utf-8.txt.
To add a plugin, just add a folder in "plugins/" and
in it put "_init_.py" with functions you want add
or replace.
To access global vars (like brain), import globalvars and then call globalvars.varName.
Example: globalvars.brain
When creating internal plugin's functiones and vars, choose names not used by internal Iandi's functiones/vars or by other plugins, to avoid problems.
To disable a plugin, just put a "-" in front of folder name.
- gtts: use Google tts for output.
- lol: add command "lol" to brain.
GPLv3
Iandi 0.1
Readme update of 2021/09/23