Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 89c830ef6d | |||
| 0d94a29e6d | |||
| f46c794032 | |||
| b3b332c508 | |||
| 5515af1254 | |||
| 0517331f95 | |||
| 40e6904c54 |
@@ -1,15 +1,15 @@
|
|||||||
**📢 This repo is maintained and up to date.**
|
**📢 This repo is maintained and up to date.**
|
||||||
|
|
||||||
<sup>(If it ever gets abandoned, this date will be far in the past: <i>May 14, 2023</i> )</sup>
|
<sup>(If it ever gets abandoned, this date will be far in the past: <i>December 15, 2024</i> )</sup>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# 💌 Send to Shiori
|
# 💌 Send to Shiori
|
||||||
Share files and URLs on Android into Shiori
|
Share URLs on Android into [Shiori](https://github.com/go-shiori/shiori)
|
||||||
|
|
||||||
## 🛠️ Setup
|
## 🛠️ Setup
|
||||||
- Download [HTTP Shortcuts](https://http-shortcuts.rmy.ch/)
|
- Download [HTTP Shortcuts](https://http-shortcuts.rmy.ch/)
|
||||||
- Under "Import / Export", choose "Import from URL", enter<br>`https://github.com/Wyrrrd/send-to-shiori/releases/latest/download/shortcuts.zip`
|
- Click [here](https://http-shortcuts.rmy.ch/import?url=https%3A%2F%2Fgithub.com%2FWyrrrd%2Fsend-to-shiori%2Freleases%2Flatest%2Fdownload%2Fshortcuts.zip) to import
|
||||||
- On first use, this will ask for your Shiori URL and credentials, but you can also set `shiori_url`, `shiori_username` and `shiori_password` manually
|
- On first use, this will ask for your Shiori URL and credentials, but you can also set `shiori_url`, `shiori_username` and `shiori_password` manually
|
||||||
|
|
||||||
## 🤲 Usage
|
## 🤲 Usage
|
||||||
|
|||||||
+2
-3
@@ -6,7 +6,7 @@
|
|||||||
"name": "Shiori",
|
"name": "Shiori",
|
||||||
"shortcuts": [
|
"shortcuts": [
|
||||||
{
|
{
|
||||||
"codeOnPrepare": "if (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/, prompt(\"Please enter your Shiori API URL\"));\n}\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/, prompt(\"Please enter your Shiori username\"));\n}\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/, promptPassword(\"Please enter your Shiori password\"));\n}",
|
"codeOnPrepare": "if (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/, prompt(\"Please enter your Shiori URL\"));\n}\n\nif (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori URL still empty, aborting.\");\n abort();\n}\n\n\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/, prompt(\"Please enter your Shiori username\"));\n}\n\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori username still empty, aborting.\");\n abort();\n}\n\n\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/, promptPassword(\"Please enter your Shiori password\"));\n}\n\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori username still empty, aborting.\");\n abort();\n}",
|
||||||
"description": "Asks for Shiori URL, user and password",
|
"description": "Asks for Shiori URL, user and password",
|
||||||
"executionType": "scripting",
|
"executionType": "scripting",
|
||||||
"iconName": "custom-icon_x1682258897825.png",
|
"iconName": "custom-icon_x1682258897825.png",
|
||||||
@@ -109,8 +109,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "cc8251ad-1fdf-41cb-865b-8667c77aaa6f",
|
"id": "cc8251ad-1fdf-41cb-865b-8667c77aaa6f",
|
||||||
"key": "shiori_sessionid",
|
"key": "shiori_sessionid"
|
||||||
"value": ""
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": 59
|
"version": 59
|
||||||
|
|||||||
Reference in New Issue
Block a user