Skip to content

21donut/img.bi-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img.bi

img.bi is a secure image hosting. Images are encrypted using AES-256 with random key in browser before upload.

About this repo

There is only Python script which process POST- and GET- requests. For work you need also img.bi.

Configuration

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.

How to run

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.

Dependencies

Donate

Bitcoin: 1imgbioAKhqeSaAG2SB6Ct79r7UeyGpYP

Litecoin: LiMgBiGCWR3bYsHXLfZYonLBZpgCVqMAw2

About

Python part of img.bi which process POST- and GET- requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%