Kiwix bookmarks android3/21/2023 ![]() publicĬonfiguring Rebuild the container above after making changes to config.yml. public You should be able to point a browser to. docker run -p 8080:80 -name salient-startpage salient-startpage Just want the HTML/CSS? Keep the container running like above, and copy the files out:ĭocker cp $(docker ps -aqf "name=salient-startpage"):/usr/share/nginx/html. Git clone & cd SalientStartpage docker build -t salient-startpage. Run with Docker Clone, build, and run the container: The startpage itself can be rendered to an. This is compatible with Homer, you can copy/paste your sites/urls/icons from there to config.yaml. Salient Startpage A startpage with light/dark mode, automatic favicons per site, and retained search bar focus.įor the latter Chromium new tab focus / custom new tab page, you’ll want these chromium patches. zims know, do they know things? Let’s find out. If I can build a slightly nicer app to parse custom. If I can do this for OpenStreetMap on a more regular basis. How Kiwix packages wikis into openZIM format. My Other Idea for Offline OSM Wiki I’d like to investigate. I’m not jazzed at those prospects, even less so when you consider keeping up to date with upstream. Reworking the Save to Offline feature, adapting the new (old) responses to the underlying SQLite schema. The remainder of the rest_v1 endpoints converted in the App’s RestService.kt and subsequent serializers. ![]() Markdown with inline images would be great. All the following:Ī well-formatted response (or converted response) from the Mediawiki API that is not in a Wiki format nor the ugly HTML. I’m working on this now in my little free time.ġ00% by-the-booke correct To do this properly, and not rigged just enough for Quinn’s phone, we would need way more. Figure out why Save Offline doesn’t work. Rigging the app enough to do what I want would entail only a few more things:Ĭustom CSS injection to fix the worst of the /html responses. What do At this point I’m unsure if retrofitting the Wikipedia app is worth it. Save to Offline did not work, I’m not sure why yet. Of course there were some other bugs that needed to be ironed out, but those didn’t seem critical. I could get around this by changing the request for a /summary to the full /html of that article, and now we’re getting closer. Each wiki page in the app expects a well formatted summary from the API. ‘Simply’ Changing the URLs I had some promising results after changing the base rest_api URL to the ‘old’ Mediawiki target. OK, so a lot more needs to change for OSM to wriggle its way into this app. This is outlined very clearly in the API comparison table. It isn’t shared with the mediawiki suite. ![]() Progress The primary reason for this retrofit’s difficulty is Wikipedia’s different (slightly proprietary) rest API. After all, most Wiki sites share a similar backend and API, called Mediawiki, and I was hoping to hook into this feature. It might even be as simple as changing the urls. The ZIM files from Kiwix are very outdated (at the time of writing).Ī clever solution is to retrofit the existing Wikipedia App for Android, which already has a “Save page offline” feature and a very nice interface. While a good source of information, the OpenStreetMap Wiki is not viewable offline. This low cap makes me think very conservatively about what gets sent across the modem as I’m going about my day. My phone’s data plan is 500/MB per month. Retrofitting the Wikipedia App for OpenStreetMap
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |