Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yangjiaxi/image-hosting
A image hosting server. Mostly (90%) written by GPT-4.
https://github.com/yangjiaxi/image-hosting
Last synced: 3 days ago
JSON representation
A image hosting server. Mostly (90%) written by GPT-4.
- Host: GitHub
- URL: https://github.com/yangjiaxi/image-hosting
- Owner: Yangjiaxi
- Created: 2023-11-05T14:48:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-09T14:56:35.000Z (about 1 year ago)
- Last Synced: 2023-11-09T15:51:02.560Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Hosting Server
This repo is mostly written by GPT-4 (under my instruction).
## Install & Deploy
1. install dependencies: `npm install` or `yarn`
- if package `sharp` hard to install due to network condition
- set:
- `npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp"`
- `npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"`
- then `npm install` or `yarn`
2. development/debugging/feature adding: `npm run dev` or `yarn dev`
3. deployment
1. Put SSL key `(xxx.pem, xxx.key)` under `./keys`
2. `npm run start` or `yarn start`Recommend: Use `pm2`
## Todo
- [ ] Automatic `uploads` / `keys` / `logs` folder creation
- [ ] Upload multiple images at once
- [ ] Uploading folder backup
- [ ] Maybe add a standalone upload button in image_list page---
[Contact Me](mailto:[email protected])