-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update readme and add example uploaders
- Loading branch information
castdrian
committed
Dec 30, 2023
1 parent
a499987
commit c8602de
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# iShare Examples | ||
|
||
This folder contains example uploader files for ishare. | ||
|
||
## 📤 Compatible Uploader Services | ||
|
||
ishare is confirmed to be compatible with the following uploader services: | ||
|
||
- [chibisafe](https://github.com/chibisafe/chibisafe) | ||
- [lumen](https://github.com/ChecksumDev/lumen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "chibisafe", | ||
"requestUrl": "https://chibisafe.moe/api/upload", | ||
"headers": { | ||
"x-api-key": "API_KEY" | ||
}, | ||
"fileFormName": "file[]", | ||
"responseURL": "{{url}}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "lumen", | ||
"requestUrl": "http://localhost:8080/upload", | ||
"headers": { | ||
"x-api-key": "API_KEY" | ||
}, | ||
"requestBodyType": "binary", | ||
"responseURL": "http://localhost:8080/{{id}}.{{ext}}?key={{key}}&nonce={{nonce}}", | ||
"deletionURL": "http://localhost:8080/{{id}}.{{ext}}/delete?key={{key}}&nonce={{nonce}}&api_key=API_KEY" | ||
} | ||
|