171 points · by mrzool · 5y ago · 43 comments
javascript:location.hostname.includes("medium.com")?location.assign("https://scribe.rip"+location.pathname+location.search+location.hash):location.assign("https://scribe.rip");https://kgizdov.medium.com/the-efficiency-of-microsoft-e50ea...
Output:
javascript:q=location.pathname;location.href="https://scribe.rip"+q; javascript:location.href="https://scribe.rip"+location.pathname; javascript:l=location;l.href="//scribe.rip"+l.pathname;Once installed, you can long tap on any medium link, select share, then pick Scribe 4 Medium from your quick actions.
The link opens in Safari.
Edit: if you use it on medium links within the app, Scribe adds a link.scribe subdomain which throws a SSL warning and creates a broken link. Could be due to the ?source=link in the medium app url. I’m trying to clean it out. Not sure if that’s an intended functionality from scribe tho
Edit 2: nope it’s medium cloaked links. Will fix it later :)
@Heading(The Beginning)
@Begin(Quotation)
Let's start at the very beginning, a very good place to start
@End(Quotation)
and LaTeX's. Lamport mentions Scribe a few times in this interview: https://tug.org/TUGboat/tb22-1-2/tb70lamp.pdf> I don’t think TeX and LaTeX would have become popular had they not been free. Indeed, I think most users would have been happier with Scribe. Had Scribe been free and had it continued to be supported, I suspect it would have won out over TeX. On the other hand, I think it would have been supplanted more quickly by Word than TeX has been.
(I'm not sure he's right; I think TeX/LaTeX benefited from both Knuth's concern for typographical excellence and Lamport's concern for authors' convenience, and the "book-quality printing" of TeX would have always had a place, but hard to say what would have happened.)
[Edit: Changed "superficial syntax"; I just meant syntax as opposed to implementation details.]
Interesting — I hadn't previously connected those dots; it's been years since I used Scribe and only recently did I start using LaTeX (mostly with org-mode as a front end, delving into LaTeX only as needed).
Thanks for the link to the Lamport interview, which was illuminating.
[1] https://makemediumreadable.com/
[2] if you have a fast connection you may have no idea why it's bad, try to load an image-heavy Medium article on a slow connection and you will see what I mean (indistinguishable blobs of colour for about 30 seconds, then finally full res images, with no in-between).
(Or use one of the more generic referer rewriters)
Great project otherwise!
For example, this link from the current HN homepage before and after:
https://kgizdov.medium.com/the-efficiency-of-microsoft-e50ea...
https://scribe.rip/@kgizdov/the-efficiency-of-microsoft-e50e...
[0] https://scribe.rip/orienteering-mapping-with-lidar-smartphon...
You can check out the source code here if you like: https://git.sr.ht/~edwardloveall/scribe