7 Commits

Author SHA1 Message Date
Wyrrrd 89c830ef6d Update canary 2024-12-15 18:22:10 +01:00
Wyrrrd 0d94a29e6d Update canary 2024-04-06 18:44:51 +02:00
Wyrrrd f46c794032 Update canary 2023-12-30 13:23:24 +01:00
Wyrrrd b3b332c508 Update import link, canary 2023-10-13 16:34:56 +02:00
Wyrrrd 5515af1254 Add link to shiori 2023-05-15 14:59:13 +02:00
Wyrrrd 0517331f95 Update canary 2023-05-15 14:05:02 +02:00
Wyrrrd 40e6904c54 Add safeguards 2023-05-15 14:02:54 +02:00
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
**📢 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
Share files and URLs on Android into Shiori
Share URLs on Android into [Shiori](https://github.com/go-shiori/shiori)
## 🛠️ Setup
- 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
## 🤲 Usage
+2 -3
View File
@@ -6,7 +6,7 @@
"name": "Shiori",
"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",
"executionType": "scripting",
"iconName": "custom-icon_x1682258897825.png",
@@ -109,8 +109,7 @@
},
{
"id": "cc8251ad-1fdf-41cb-865b-8667c77aaa6f",
"key": "shiori_sessionid",
"value": ""
"key": "shiori_sessionid"
}
],
"version": 59