All Projects → bhutanio → imagehost

bhutanio / imagehost

Licence: other
A Secure and Anonymous Image Host

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to imagehost

imgs-upload-srv
【Released】🌁一款以图片管理为核心的图床。在众多上传的图片中管理自己的图片,分类它们,贴上标签...以便以后精确管理。提供简单分享&在线外链("仅存储"&UI2.x功能正在进行中)。🌹
Stars: ✭ 73 (+40.38%)
Mutual labels:  image-hosting
free-pic
free-pic 一个第三方免费图床扩展包 free image-hosting
Stars: ✭ 22 (-57.69%)
Mutual labels:  image-hosting
imgbed
📒多接口/自定义接口的文件/图片上传
Stars: ✭ 38 (-26.92%)
Mutual labels:  image-hosting
bannero
An image API for simpledesktops.com
Stars: ✭ 33 (-36.54%)
Mutual labels:  image-hosting
installer
The Chevereto installer CLI/HTTP single-file tooling
Stars: ✭ 24 (-53.85%)
Mutual labels:  image-hosting
Nodetube
Open-source YouTube alternative that offers video, audio and image uploads, livestreaming and built-in monetization
Stars: ✭ 2,066 (+3873.08%)
Mutual labels:  image-hosting
Chevereto Free
Self-hosted Image Hosting solution. Start your own Flickr/imgur alternative with your own rules.
Stars: ✭ 2,275 (+4275%)
Mutual labels:  image-hosting
Void
Fast and elegant file hosting service.
Stars: ✭ 48 (-7.69%)
Mutual labels:  image-hosting
ImageX
A free image host built with laravel and MinIO
Stars: ✭ 13 (-75%)
Mutual labels:  image-hosting
Limg
An image hosting service powered by Laravel
Stars: ✭ 41 (-21.15%)
Mutual labels:  image-hosting
chevereto-free
Self-hosted Image Hosting solution. Start your own Flickr/imgur alternative with your own rules.
Stars: ✭ 2,522 (+4750%)
Mutual labels:  image-hosting

ImageHost

imagehost is an online Image Hosting platform build using Laravel Framework.

Requirement

Installation

  • clone the repository: git clone https://github.com/bhutanio/imagehost.git imagehost
  • create a database
  • create configuration env file .env refer to .env.example
  • install: composer install --no-dev
  • setup database tables: php artisan migrate

Configuration

Image Storage Location

There are 3 locations you can configure using APP_STORAGE option in the .env file

  • APP_STORAGE=local : store image only in your local storage
  • APP_STORAGE=localcloud : store image in the cloud and keep a local cache
  • APP_STORAGE=cloud : store image only in the cloud

Setup Admin Account

php artisan tinker
DB::table('users')->where('id', 2)->update(['email'=>'[email protected]']);

Click on forgot password link on the login page and reset password for your admin user.

Setup Cron Job

crontab -e -u www-data
* * * * * php /home/web/imagehost/artisan schedule:run >/dev/null 2>&1
*/5 * * * * php /home/web/imagehost/artisan auth:clear-resets >/dev/null 2>&1

Setup Supervisor

nano /etc/supervisor/conf.d/imagehost.conf
[program:imagehost-queue]
process_name=%(program_name)s_%(process_num)02d
command=php /home/web/imagehost/artisan queue:work --sleep=3 --tries=3
autostart=true
autorestart=true
user=www-data
numprocs=2

Setup Google ReCaptcha

Visit https://www.google.com/recaptcha/admin and register your site

Get Site key and Secret key, add them in your .env file

...
## Secret Key
API_GOOGLE_RECAPTCHA='SECRET KEY'

## Site Key
API_GOOGLE_RECAPTCHA_CLIENT='SITE KEY'
...

License

imagehost is open source software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].