Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
/ img.bi-api Public archive

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

License

Notifications You must be signed in to change notification settings

imgbi/img.bi-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

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

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

DEPRECATED 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