web-logbook

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
ianleiman
Posts: 6
Joined: Thu Feb 04, 2021 12:46

web-logbook

Post by ianleiman »

I keep my scuba diving logs in the Diving Log 6.0 application and have used it since 2006 and have logged well over 1000 dives with it.

I have now developed a "web-logbook" application that allows easy self-hosted publishing of my logbook to the web.
I plan to release the source code to GitHub as open source as soon as I have managed to polish the codebase to a releasable condition for everyone to use for free.

"web-logbook" is a python application that reads the Diving Log 6.0 database and produces static HTML, CSS, JS that can be hosted easily on any web serving platform that can serve static HTML. The python app renders to HTML a database of 1000+ dives in a few seconds.
As the web-logbook produces static HTML, it does not require PHP or anything that a server would need to execute.
Serving the HTML is extremely fast.

There is also media gallery integration that can show photos and videos from a web media gallery linked to the dives.

You can take a peek at my personal logbook now published with "web-logbook" at:
https://divelogs.ianleiman.com/logbook.html

--
Ian Leiman
RobOtter
Posts: 41
Joined: Sat Sep 25, 2021 21:46
Location: Darmstadt

Re: web-logbook

Post by RobOtter »

Hi lan,
nice, thank you for this! You did already what I have in mind for years now, but never had the time to do: a web based app using my DL SQL data file.
I'm looking forward to checkout your github project to use it as the base for my own app - I think I would mainly take advantage of your backend functions and create an alternate front end that will more fit my needs and likes.

Keep up the good work!
ianleiman
Posts: 6
Joined: Thu Feb 04, 2021 12:46

Re: web-logbook

Post by ianleiman »

You can now find the source code for web-logbook from Github at:
https://github.com/eianlei/web-logbook-rel1

For any issues you find, please use the github issues reporting system:
https://github.com/eianlei/web-logbook-rel1/issues

This is very much work in progress :)

// Ian
ianleiman
Posts: 6
Joined: Thu Feb 04, 2021 12:46

web-logbook updates

Post by ianleiman »

Some updates now available for web-logbook at Github

https://github.com/eianlei/web-logbook-rel1

- improved README for instructions
- how to host web-logbook on Github pages for free, example: https://eianlei.github.io/my-web-logbook/
- photo gallery integration now can use Diving Log database directly
divelogs-main.png
divelogs-main.png (148.95 KiB) Viewed 1652 times
If anyone is interested, I have worked on some derivatives of this. Plan to publish them on Github during early 2026 once I get the documentation done and fix a few bugs:
- web-logbook that uses Python fastapi based REST-style API instead of static files, otherwise the same base code
- text-mode logbook that works on command line terminal, based on Python Textual framework
dl6-textual.png
dl6-textual.png (214.4 KiB) Viewed 1652 times
// Ian
Post Reply