Live data from Hacker News

Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

baak6.com

31–40 of 63 posts

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#31

The challenge with self-hosting is maintenance. The more complexity and more dependencies, the more maintenance. I believe that’s why the author was avoiding NextCloud.

Here's what you need to run a small NextCloud server:

* linuxserver.io container

* redis instance (enormous speed-up. Really, do this. Running a redis container is very painless.)

* use SQlite for the backend DB (unless you have a huge number of files)

* disable every module/plugin you don't NEED

Run a cron script that periodically fetches new images, kicks over the container, and purges old images.

Run another script that periodically tries to run updater.phar in the container, or notifies you when there's an update, or subscribe to the nextcloud RSS feed, etc.

I recommend overriding the defaults for deleted file behavior and versioning. Most folks don't want or need deleted files hanging around until 50% of your disk space is used, for example. The versioning defaults are fairly reasonable IMHO, but I decided I didn't care about anything past two months. Some folks who have lots of fast changing files will probably want to tweak the retention policy because it will save second-by-second versions for a few minutes to an hour (I forget exactly) and that could generate a lot of IO and SSD wear unnecessarily.

Done! I was dreading switching over from syncthing but it's been painless, and the NextCloud clients are all pretty slick and Just Work.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#32
post #4
post #2

faster to use Nextcloud that does a lot more things out of the box in a single install

I tried using Nextcloud several times in the past, but the experience on Android was always sketchy for me. Contacts and calendar that would randomly (and silently) stop synchronizing, their mobile app stuck on endless spinner when browsing photos and files. It has pretty web interface, but it was just unusable where it mattered.

Try feeding it a redis instance. That caused a "several orders of magnitude" improvement in interface responsiveness and my weird syncing problems stopped immediately.

I also disabled every module and plugin I didn't consider essential.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#33
There are plenty of good alternatives for calendar/contact sync servers, but I haven't seen any good, native clients that work on modern BSD (or Linux) desktops. Both Evolution and Thunderbird tend to be slow, clunky, glitchy, generally doing pretty poorly when put side-by-side with e.g. the built-in macOS counterparts.

I'm trying to use an OpenBSD laptop in parallel with a macOS desktop, and while it's perfect for coding and OK for web browsing, the rest of the desktop experience is just... not there.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#36
post #34

“soy infested calendar products” What does that mean?

“soy” = “badness” + right-wing culture war group identity signalling.

Yep, comes from “soyboy”, a pejorative for more feminine men. The term came about from soybeans having phytoestrogen.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#37
post #7

An interesting alternative is Radicale [1]. Both are very lightweight. I mainly chose Radicale over Baïkal because it is written in Python. On the client side DAVx⁵ [2] do a good job. [1] https://radicale.org/v3.html [2] https://www.davx5.com/

I tried Baikal but Radicale was much easier to use and set up. It’s been solid for the last two years for me.

That said I try to avoid self hosted services written in Python, especially if they use Django. I’ve had nothing but issues dockerizing them. I just want a static binary ideally.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#38
post #4

Earlier quoted context omitted.

I tried using Nextcloud several times in the past, but the experience on Android was always sketchy for me. Contacts and calendar that would randomly (and silently) stop synchronizing, their mobile app stuck on endless spinner when browsing photos and files. It has pretty web interface, but it was just unusable where it mattered.

Nextcloud totally breaks down if you try to use it for photo syncing. It can’t handle thousands of files in one directory.

Hows Owncloud doing? They were rewriting to Go, to improve performance in such cases. I kind of lost track though.

Re: Own your calendar and contacts with OpenBSD, Baïkal, and FOSS Android

#40

Earlier quoted context omitted.

“soy” = “badness” + right-wing culture war group identity signalling.

Yep, comes from “soyboy”, a pejorative for more feminine men. The term came about from soybeans having phytoestrogen.

I did not use the term in this context. I've never even heard of this until people pointing this out today. I just meant it as in bloated software. I don't live in America and English is not my first language.
Post reply on HN