Show HN: Link Book – Quickly save links from around the web to GitHub
link-book.vercel.app
link-book.vercel.app
On one hand: when you load an URL the contents are already loaded (copied) into your device (browser).
On the other: doing it intentionally is not legal, if you don't have the Right to make a Copy.
Tricky stuff. I was considering making the place you save the contents private but then again when you provide this kind of tool you could get in trouble.
Would like to hear what others think about this.
Maybe naming it "archive"? I understand that's how archive.org gets away with it.
YouTube DL was alleged to be bypassing copyright protections which doesn’t apply to media without any protections like public web pages.
And in any case, it seems the software was reinstated by GitHub after The EFF intervened.
Youtube-dl had a takedown because they specifically ran a circumvention in their tests. They removed the test and were restored.
Youtube-dl is still freely available.
Saving web pages is not illegal nor prohibited.
I'm having such an option on my link-saving project, it lets you choose to save the content in pdf (using the wonderful weasyprint lib) or not.
articly.vercel.app
Firefox / Chrome: https://github.com/deathau/markdownload
Safari on MacOS: https://apps.apple.com/us/app/markdownload/id1554029832?mt=1...
For iOS, use Toolbox Pro for Shortcuts and search for or create a Safari to Markdown file stored in the PKM's inbox. (Or Orion browser with extensions.)
+1 on reducing the permissions required. You could ask permissions just for individual repositories, and in this case just for `link-book` one :)
I’d rather just grant permissions to a particular user to write to my link-book repo. I think it’s more accurate anyway as it’s link-book writing stuff, not me.
I'm thinking of a system that would allow me to 'ingest' browser bookmarks into git, at the precise time they were created/updated. This will allow me to use Chrome's 'native' sync to update/access my bookmarks from a number of devices; when I'm back at my stationary computer (or at a fixed time interval) a script can update a git repository according to the changes I made. Chrome knows when each individual bookmark was updated, and so my script would be able to set the appropriate git commit time.
Setting a precise git commit time (I want not only the date I updated the bookmark, but the time too) is important to me as a consequence of the following two facts: * I like having a history of my actions so that I can find out more details about what I was doing at the time, using tools such as Google Activity and bash history. * I don't want to have to perform some preliminary action (such as running git pull) before I can view my recently added bookmarks.
I already use a similar system for note-taking, with Syncthing as the sync mechanism and a small script for commiting a file at the time it was modified (perhaps on a different device).
> This application will be able to read and write all public and private repository data. This includes the following:
Can it just be access to that one repo?
But even if they weren't, in general you want to assume you will be hacked, and then based what permissions you ask for based on that assumption. I.e. be secure, and use principle of least priveledge, even if the users don't care. This is why I try to get out of having admin permissions to things at work :-) </rant>
A lot of IoT security problems has that combo of vendor and consumer both not caring/understanding/being aware of security issues.
Or at least convince a single user to do this so you can show your tool in action.
It’s always hard to get that first user.
The "fine-grained token" beta is what you really want to use if you can, because that does give single-repository access, which classic Github OAuth tokens do not. No idea how or if it's possible yet to use that type of token in your grant flow, but that's where you probably want to be looking.
with regards to the public token thing it's a bit of the same complexity since I would need to know if the repository the user is using is public or private and then configure the OAuth scopes appropriately since I do want to have support for private repos (as that's how I use it currently)
It might get easier once fine-grained tokens leave beta. I don't know if OAuth support is on the roadmap for that, but it seems like a natural enough fit I'd be astonished if it weren't.