Find Linux distributions on all your ftp servers.
The intended purpose of ElchOS is to share a lot of files on small nas-like computers (elch hosts). The ElchHub Software is the central indexing service for all elch hosts.
The aim is to get most bang for the buck by utilizing relatively small and cheap common-off-the-shelf hardware with gigabit ethernet + SATA.
The software is split into the indexing webservice
for searching files and
the elch-manager
for performing the FTP crawl for new hosts.
As message queue and persistence layer redis
is in use.
redis-server &
python elch-manager.py &
python wsgi.py &
firefox localhost:5000
# a host registers itself at the elchHub:
curl localhost:5000/api/ping -H "Content-Type: application/json" -X POST -d '{"IP":"10.42.22.173","PORT":"2121"}'
If FTP Servers provide an index of their files this index will be used:
# in FTP ROOT
find -printf "%s %y %p\n" | xz -9 > index.xz
Right now elchOS uses the Seagate GoFlex Net but every NAS with an ftp and a tiny bit of shell script can be used.
For the GoFlex Net source code please refer to https://github.com/krebscode/elchos
MIT