Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cooperlyt/lua-resty-seaweedfs
https://github.com/cooperlyt/lua-resty-seaweedfs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cooperlyt/lua-resty-seaweedfs
- Owner: cooperlyt
- License: mit
- Created: 2023-08-12T16:31:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-09T04:32:53.000Z (10 months ago)
- Last Synced: 2024-10-21T05:08:10.176Z (2 months ago)
- Language: Lua
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lua-resty-seaweedfs
Lua seaweedfs client with [seaweedfs](https://github.com/seaweedfs/seaweedfs).
+ Implement seaweedfs API
+ One step updoad file
+ Result Add request file hash code
+ Return image thumbStatus
=======
Production ready.[![CI](https://github.com/cooperlyt/lua-resty-seaweedfs/actions/workflows/seaweedfs-gateway.yml/badge.svg)](https://github.com/cooperlyt/lua-resty-seaweedfs/actions)
USESAGE
=======API:
```lua
local seaweedfs = require "resty.seaweedfs"
```
+ new+ put
+ get
+ delete
+ assign
+ lookup
+ upload
Openresty:
+ http://${url}/file/upload
+ http://${url}/file/img/7,26c02a5ef3
+ http://${url}/file/img/thumb/7,26c02a5ef3
+ http://${url}/file/get/7,26c02a5ef3
+ http://${url}/file/download/7,26c02a5ef3
Install
=======
opm get cooperlyt/lua-resty-seaweedfsdocker image [coopersoft/seaweedfs-gateway](https://hub.docker.com/repository/docker/coopersoft/seaweedfs-gateway/general)
Dependency
=======
[lua-resty-http](https://github.com/ledgetech/lua-resty-http)
opm get ledgetech/lua-resty-http