git-annex/ todo/ wishlist: an "assistant" for web-browsing -- tracking the sources of the downloads
  • Edit
  • RecentChanges
  • History
  • Preferences
  • Branchable
  • 7 comments

  • install
  • assistant
  • walkthrough
  • tips
  • bugs
  • todo
  • forum
  • comments
  • contact
  • thanks
RSS Atom
comment 1
You know about git annex addurl right? It doesn't help with the browser integration (though I bet there are existing download manager extensions you could re-use for this) but it takes care of the other use cases.
Comment by Justin — Tue Sep 25 23:55:44 2012
  • Remove comment
the scheme to follow to use the addurl command is longer
Justin, yes, I know. To use addurl, I should force myself not to click on a link to view it, but rather to copy it, paste into the command line with addurl (then it will be downloaded, and I can run a command to view it...). Not terrible, probably learnable.
Comment by imz [lj.rossia.org] — Wed Sep 26 00:07:11 2012
  • Remove comment
+1
Copy+Paste+Open is to much for lazy people like me;) I like the idea of a direct browser download manager integration. This would make it so much easier to find find the original source of a downloaded file when you're to lazy to write it down somewhere in the first place …
Comment by m-f-k [myopenid.com] — Fri Oct 5 20:00:31 2012
  • Remove comment
I've just written a script that does this (with a Firefox download manager)

So I've just written a two-line shell script that makes FlashGot able to do this. It's available on GitHub at https://gist.github.com/andyg0808/5342434.

This could be even neater if Git-annex had the ability to set the download manager... Wishlist created: ?wishlist: allow configuration of downloader for addurl

Comment by andy — Tue Apr 9 02:51:26 2013
  • Remove comment
comment 5

Wishlist implemented ;)

A full example of doing this would make a nice addition to tips ...

Comment by joey — Tue Apr 9 03:36:29 2013
  • Remove comment
comment 6

See Using Git-annex as a web browsing assistant.

I am leaving this bug open for now, as some javascript that passes the url off to the webapp is still a nice idea to build.

A solution to the webapp's url always changing could be to have a file:/// url that the webapp creates, and javascript submits to, that then passes the request off to the webapp, probably by using additional javadcript in the html file. Assuming javascript security allows this.

Comment by joey — Thu Apr 11 15:12:00 2013
  • Remove comment
comment 7

A less round-about method would be to have the webapp listen for links dropped into its page. You could then have the webapp open in a tab, and just drag urls there to add them to the annex.

I'm not sure if it's possible to intercept drags into a tab. Default browser behavior is certainly to redirect the tab to the url dropped into it.

If someone finds out how to do this, I will build it.

Comment by joey — Thu Apr 11 15:41:16 2013
  • Remove comment
Add a comment
Links: design/assistant/webapp tips/Using Git-annex as a web browsing assistant
Last edited Wed Jun 17 01:18:32 2020