by samwillis · 3y ago · 0 comments
Somewhat counter to the article, I would argue that local first isn't about having "no cloud", it's "low cloud". So you could go P2P for sync, but you can also have a much more lightweight sync service on a central server. Both are valid "local first", it comes down to use case.
The way to think of the term is like when we all moved to designing web UI "mobile first". It's a kind of shift from operating one way and adding on support for the other, to the other way around. Start local and layer on server and cloud support.
One of the most exciting things about local first though is that once you have solved all the sync, and conflicting edit resolution problems (CRDTs are key here) you are 90% of the way to solving "multiplayer real-time". The only missing bit presence.
The community around local first is also really buzzy, it's got that great feeling of being part of something new, something that's going to be bigger than the sum of its parts.
To learn more about local first this is a great starting point https://localfirstweb.dev/
> "Join our Discord"
Yes, we need a community platform aligned with our mission, but it is already hard enough to get people together. Before the website or the discord, it was just a bunch of people following each other on Twitter and a few disparate talks. Starting from there and asking new joiners to set up a new platform adds prohibitive friction. 'There is a platform for that is not enough'; we need most interested folks to also be on it.
A matrix bridge makes perfect sense, but I haven't had the time to set it up.
I'm not implying here that you are not prioritizing moving on (how would I know), or planning to use that movement as an case study to sell local/P2P-first to others, but if you all are not that's going to be a permanent blot.
https://en.wikipedia.org/wiki/Prefigurative_politics
"modes of organization and social relationships that strive to reflect the future society being sought by the group. According to Carl Boggs, who coined the term, the desire is to embody "within the ongoing political practice of a movement [...] those forms of social relations, decision-making, culture, and human experience that are the ultimate goal". Besides this definition, Leach also gave light to the definition of the concept stating that the term "refers to a political orientation based on the premise that the ends a social movement achieves are fundamentally shaped by the means it employs, and that movement should therefore do their best to choose means that embody or prefigure the kind of society they want to bring about". Prefigurativism is the attempt to [act] [prefigurativly]."
P.S. FWIW, as far as it stands, Zulip is the least annoying Discord alternative (and eventually Matrix might become better/non-slow).
This system is loads easier than matrix imho - although I love love love matrix and want it to continue to succeed and be used.
Blocking spam user signups and setting security plugins and auto-updates is not baked in.. but it's not hard and it's all open source - can run on a droplet or vps easily.
That said, infrastructure churn can be disruptive. Don't envy your position.
Everyone else will believe your project is dead.
Discord is easy, and it is a good jumping off ground before you get a Matrix server up and running.
Use what ya gotta to get shit done.
At least in the Elixir space, Phoenix has some excellent lightweight methods to solve the presence piece! https://hexdocs.pm/phoenix/Phoenix.Presence.html
It was always a pain because I was forever having to determine which of onedrive or dropbox had taken print screen handling away from my preferred screenshot tool (at the time, greenshot, now ShareX)
Also, why not nginx and a `~/Public` folder if we have an IP.
There are many ways to build local first, both with web technologies and with "native" app toolkits.
Many of the CRDT tools have started as JS/TS libs but have been rebuilt in Rust to be cross platform, WASM or native.
The appeal of using web tech is its accessibility and ease of distribution. Local first and PWAs with the new origin privet file system api kind of go hand in hand, but it's not an exclusive relationship.