2.6 KiB
Feeding, Adding new features and Contributing
AIL Importers
Refer to the AIL Importers Documentation
Feeding Data to AIL
AIL is an analysis tool, not a collector! However, if you want to collect some pastes and feed them to AIL, the procedure is described below. Nevertheless, moderate your queries!
- AIL Importers
- ZMQ: Be a collaborator of CIRCL and ask to access our feed. It will be sent to the static IP you are using for AIL.
How to create a new module
To add a new processing or analysis module to AIL, follow these steps:
- Add your module name in ./configs/modules.cfg and subscribe to at least one module at minimum (Usually,
Item
). - Use ./bin/modules/modules/TemplateModule.py as a sample module and create a new file in bin/modules with the module name used in the
modules.cfg
configuration.
Contributions
Contributions are welcome! Fork the repository, experiment with the code, and submit your modules or patches through a pull request.
Crawler
AIL supports crawling of websites and Tor hidden services. Ensure your Tor client's proxy configuration is correct, especially the SOCKS5 proxy settings.
Installation
Configuration
- Lacus URL:
In the web interface, go toCrawlers
>Settings
and click on the Edit button
- Number of Crawlers: Choose the number of crawlers you want to launch
Chats Translation with LibreTranslate
Chats message can be translated using libretranslate, an open-source self-hosted machine translation.
Installation:
- Install LibreTranslate by running the following command:
pip install libretranslate
- Run libretranslate:
libretranslate
Configuration:
To enable LibreTranslate for chat translation, edit the LibreTranslate URL in the ./configs/core.cfg file under the [Translation] section.
[Translation]
libretranslate = http://127.0.0.1:5000