Giter VIP home page Giter VIP logo

linkle's Introduction

Linkle - A Link Between Chrome and aria2

Send links to aria2's RPC interface via configurable context menu items.

Install

Chrome web store

Highlights

  • Supports multiple profiles.
    • like multiple aria2 servers.
    • or different options to a same aria2 server.
  • Supports all aria2 options, if available through RPC.
  • Sync through chrome.storage.sync.

Downsides

  • It doesn't have a configuration GUI with flip switches and sliders, you have to write old school INI style config.
  • It has no control over the download procedure afterwards, use a fully featured web UI like YAAW for that.
    • I won't fix this.

Cookie handling

  • by default Linkle will send all cookies on current page.
    • it's good for most situation, and it doesn't require extra permissions.
    • but sometimes link and page are not on the same host/domain and the link requires different cookies. Linkle won't send cookie if link and page are not on the same domain.
  • if you set cookie = link, Linkle will get cookies exactly for the link you click.
    • require extra permissions, Chrome will present you a popup about this.
    • but it still doesn't work sometimes, since the link might redirect to a different host/domain and then it requires different cookies. Tip: click the link, let chrome download it, the final/redirected link will show up in chrome://downloads.
  • if you set cookie = COOKIE1@http://example.com COOKIE2@http://example.com, Linkle will get those cookies specifically.
    • require extra permissions too.
    • yeah this is hacky.

Change log

  • 0.0.1 aria2 RPC support.
  • 0.0.2 general RPC support.
  • 0.1.0 the option page, before this point Linkle was private work and config is hardcoded.
  • 0.1.1 cookie handling.
  • 0.1.2 cookie handling using optional permissions.
  • 0.1.3 beautify with Prism and CodeFlask.js.
  • 0.1.3.1 hotfix for not loading default on first run.
  • 0.1.4 config import/export and some bug fixes around initializing and cookie handling.
  • 0.1.5 additional cookie handling method and again initialization bug fix.
  • 0.1.6 I think I finally got "nothing happens when clicked" fixed properly.
  • 0.1.7 more verbose via notification and cookie handling fix again.
  • 0.1.8 a button in options page to revoke permissions, and a fix for cookie handling breakage caused by notification introduced in 0.1.7.
  • 0.1.9 handles sync properly.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.