Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blahgeek/hpshare
a self-hosted CloudApp-like, Droplr-like server especially for Chinese users
https://github.com/blahgeek/hpshare
Last synced: about 2 months ago
JSON representation
a self-hosted CloudApp-like, Droplr-like server especially for Chinese users
- Host: GitHub
- URL: https://github.com/blahgeek/hpshare
- Owner: blahgeek
- Created: 2015-01-31T07:27:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-22T15:22:08.000Z (about 2 years ago)
- Last Synced: 2023-06-06T15:36:21.492Z (over 1 year ago)
- Language: CSS
- Homepage:
- Size: 1.76 MB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# hpShare
`hpShare` is a **self-hosted** [CloudApp](http://getcloudapp.com)-like, [Droplr](http://droplr.com)-like server especially for **Chinese** users. It uses **[QiNiu](http://qiniu.com)** as storage backend instead of [Amazon S3](http://http://s3.amazonaws.com) which is slow and may be blocked someday in China.
`hpShare` is now also an URL shortener. It's a good start for your personal short domain.
`hpShare` comes with an admin portal (provided by `Django`) and several client apps (CLI, DropZone script, etc.)
`hpShare` is written in [Django](http://http://djangoproject.com).
## Demos & Screenshots & GIFs
[z1k.co/F5j7](http://z1k.co/F5j7)
[z1k.co/F5O8](http://z1k.co/F5O8)
[z1k.co/blog](http://z1k.co/blog)
![Demo](screenshots/demo.gif)
![admin](screenshots/admin.png)
## How-To
- Get a [QiNiu](http://qiniu.com) (free) account
- `mv config.py.sample /path/to/volumn/config.py`, fill it up
- Finally, run it inside docker:```
docker run \
-e DJANGO_SECRET_KEY=some_secret_key_for_django \
-e ADMIN_USER=root \
-e ADMIN_EMAIL=root@localhost \
-e ADMIN_PASSWORD=password \
-v /path/to/volumn_dir:/data \
-p 8001:80 \
-it -d blahgeek/hpurl
```## Clients
- CLI: `wget http://your.domain.com/~cli/hpshare`, alternatively see `clients/bash/hpshare.bash`
## Admin
Goto `http://your.domain.com/`
Run `./manage.py purge_storage` to delete expired files. Add it to a cron job!