This repo contains old version of img.bi backend. It's no longer required, new nodejs backend of img.bi available from main repo.
img.bi is a secure image hosting. Images are encrypted using AES-256 with random key in browser before upload.
There is only Python script which process POST- and GET- requests. For work you need also img.bi.
Set upload_dir
to directory where to upload files and redis_server
for address of Redis instance.
You need to change both code.py
and expired.py
files.
code.py
runs by spawn-fcgi
like this:
spawn-fcgi -f code.py -a 127.0.0.1 -p 1234
After this you need to configure your webserver and serve this script on /api. Check this for nginx example.
expired.py
is a script which remove expired images. You need to add a cron job for it.
Bitcoin: 1imgbioAKhqeSaAG2SB6Ct79r7UeyGpYP
Litecoin: LiMgBiGCWR3bYsHXLfZYonLBZpgCVqMAw2