Anki and Programming
medium.com
medium.com
It seems to work because if you really don't understand something or find it boring, you can remove a paragraph, turn that into a card if it is valuable, and if not just keep reading or know that the article will be back.
It is offline accessible for sure. And you can sync to any of your devices.