Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iiop123/workers-image-hosting
cloudflare worker简易图床
https://github.com/iiop123/workers-image-hosting
cloudflare cloudflare-workers image image-host image-hosting image-sharing serverless
Last synced: about 1 month ago
JSON representation
cloudflare worker简易图床
- Host: GitHub
- URL: https://github.com/iiop123/workers-image-hosting
- Owner: iiop123
- Created: 2022-11-08T08:57:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T12:11:03.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T08:07:52.112Z (4 months ago)
- Topics: cloudflare, cloudflare-workers, image, image-host, image-hosting, image-sharing, serverless
- Language: Vue
- Homepage:
- Size: 174 KB
- Stars: 135
- Watchers: 2
- Forks: 50
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cloudflare - workers-image-hosting
README
### MJJ最爱,基于cloudflare workers数据存储于KV的图床
------------
#### UPDATE LOG
##### - 新增图片预览
##### - 支持拖拽上传
##### - 弃用fetch改用axios
##### - 重新整理了下变量命名(之前太乱了 :poop: :poop: )
------------#### 方便实用,只需要更改wrangler.toml绑定的kv_id即可使用
#### 超级超级超级简单的Material 风(就一个按钮😂😂😂)
#### [DEMO](https://img.giao111.workers.dev/ "DEMO")#### 使用:在 根目录和static目录输入
npm i
#### 再进入static目录编译Vue
npm run build
#### 之后修改wrangler.tomlkv_namespaces = [
{ binding = "LINK", id = "11111",preview_id='11111'}//ID修改为自己创建的KV的id,preview_id是dev环境绑定的kv可以去掉
]
### 之后在根目录执行wrangler publish
#### 就OK了------------
#### 可以访问 /list.html 路径查询已经上传的照片信息
#### 密码默认为123
#### 密码可以在/src/index.js中修改