News for hackers. Stuff that matters.
Re:Zeal is an offline documentation browser for software dev... by 0cf8612b2e1e on Wednesday May 31, 2023 @09:35AM (#36138236)
Sign me onto this same worry. It only takes one incident of offline mode borking to get upset.

Since the devdocs representation is so standardized, I have wondered if I could dump their database into SQLite and browse it with datasette. Should even be able to maintain text searching.

Re:Zeal is an offline documentation browser for software dev... by whitten on Wednesday May 31, 2023 @01:08PM (#36140750)
Could you elaborate ? What is datasette ?

Is the Zeal code open source enough that one could change the backend by replacing a small number of data access subroutines?

I think all you would need to change is setter code, since getter code wouldn’t be part of the interface. I think Zeal doesn’t write back any data, right ?

Re:Zeal is an offline documentation browser for software dev... by 0cf8612b2e1e on Wednesday May 31, 2023 @03:19PM (#36142770)
Not experienced with Zeal, but I have used devdocs, which is open source. Devdocs parses the relevant documentation pages and stores them in a more structured way inside a browser database file. I would prefer to keep that in a local SQLite file I fully control. However, storing the data is not enough, I need an easy way to search and browse the documentation. Datasette is a Python project which spawns a web interface to a SQLite database which gives an interactive way to explore the data. This interface should be sufficient for locally hosting and searching the documentation.