Compare commits

...

16 Commits

Author SHA1 Message Date
Marcus Noble
00f7913599 Delete getToken.js 2020-12-09 13:03:48 +00:00
14b9363462 Decode URL of title 2020-10-18 11:13:29 +01:00
3bde6af554 Add some extra error handling 2020-09-15 15:36:40 +01:00
eecc70d89b Fix SCP fetch 2020-09-01 13:36:35 +01:00
d9a98d5fbb Fix series 1 tales lookup 2020-08-20 04:10:45 +01:00
67385220ab Fetch tales with SCPs 2020-06-27 19:10:03 +01:00
9a03fc2182 Tweaks for SCPs 2020-06-27 18:08:33 +01:00
253a21e378 Improved handling of more recent SCPs 2020-06-11 17:31:24 +01:00
1b03bd9c5f Don't show javascript links 2020-06-07 17:11:03 +01:00
32185a7ceb Better handling of SCP titles 2020-06-07 17:08:19 +01:00
b510875947 Fix issue if no expand block 2020-06-07 16:49:19 +01:00
5367a8e9f6 Added some tweaks to get around some visual annoyances 2020-06-03 14:07:17 +01:00
e11d80f7fd Added background color 2020-05-26 14:28:01 +01:00
f456a76055 Set max image width 2020-05-26 14:17:41 +01:00
e2f8e8a137 Changed image 2020-05-26 13:51:28 +01:00
a0963842a6 Added support for directly sending epubs 2020-05-26 13:22:58 +01:00
6 changed files with 189 additions and 33 deletions

View File

@@ -1,6 +0,0 @@
const { Remarkable, ItemResponse } = require('remarkable-typescript');
(async () => {
const client = new Remarkable();
const token = await client.register({ code: 'whahovrq' });
console.log(token);
})()

View File

@@ -24,6 +24,13 @@
margin: 0;
padding: 0;
text-align: center;
background-color: #e54655;
}
img {
width: max-content;
max-width: 100%;
margin: 0 auto;
}
input, button {
@@ -35,7 +42,7 @@
</style>
</head>
<body>
<h1>🚀</h1>
<img src="rocket.png" />
<input type="url" id="URL" />
<button id="sendButton">SEND</button>

194
index.js

File diff suppressed because one or more lines are too long

View File

@@ -2,8 +2,8 @@
"name": "Website-to-reMarkable",
"short_name": "Website-to-reMarkable",
"description": "Send websites as PDFs to reMarkable",
"theme_color": "#999",
"background_color": "#999",
"theme_color": "#e54655",
"background_color": "#e54655",
"display": "standalone",
"scope": "/",
"start_url": "/",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -19,11 +19,18 @@
margin: 0;
padding: 0;
text-align: center;
background-color: #e54655;
}
img {
width: max-content;
max-width: 100%;
margin: 0 auto;
}
</style>
</head>
<body>
<h1>🚀</h1>
<img src="rocket.png" />
<h2>Sent to reMarkable</h2>
</body>
</html>