Fleshing out a design for a tiny web app to track my workouts. Using #Excalidraw (@excalidraw), it's "forever open source" and has gotten really quite good.
The app I am making uses Vue and #PouchDB, a database running in the browser, with seamless sync to a #CouchDB server. The frontend can be hosted on a dumb CDN (or sightly less dumb serverless platform) while the data is stored on a server the user controls.
It is a #PWA so it even fully works offline. Really like this kind of setup.
#Excalidraw #PouchDB #couchdb #PWA
Anyone tested PouchDB in the browser and set it up so it syncs with CouchDB? I'm trying to make a minimal thing and was wondering if it could sync a blob/attachment. That way I could get away with some html/css/javascript on github.io and only CouchDB as a webserver.
#offlinefirst #sync #JavaScript #Browser #DB #dev #PouchDB #CouchDB
#offlinefirst #sync #javascript #browser #db #dev #pouchdb #couchdb
Is #CouchDB still lovable? Going through the docs right now. Seems more fun than using a corporate (and proprietary) Document DB like #MongoDB, #DynamoDB or #Firebase. Also looks more fun than using the weird JSON syntax of #PostgreSQL.
#couchdb #MongoDB #dynamodb #firebase #PostgreSQL
I guess I could work around the CouchDB issue by connecting to the instance I do have running remotely, but that will introduce latency. I wonder if I could just copy the files across and see if I can start the instance.
I guess I could also just fall back to SQLite.
Grr. Can’t install CouchDB on Raspberry Pi 4 now. libmozjs185-dev can’t be found.
Log: "Apache CouchDB has started. Time to relax."
*throws super weird memory related kernel error
I got nerdsniped by @tef & @sushee to demonstrate how relatively easy it is to build a CRAQ (https://timilearning.com/posts/mit-6.824/lecture-9-craq/) system atop @couchdb — Showing that as much as CouchDB is a distributed database in itself, it is also a very nice toolkit to build other kinds of distributed databases with it :)
The demo is in Node.js with some private JS/HTTP API glue that is not relevant to the demo: https://gist.github.com/janl/d0ba3544631e054e59fbd5f4d3ee96f8
Let me know if you ahave any questions.
#couchdb #distsys #databases #nosql #craq
could someone please explain how to set the COUCHDB_QUERY_SERVER_JAVASCRIPT environment variable persistently? should it be done as root? where should it be written and saved and how to check after reboot the variable's effective?
i want to increase the stack size so i need to modify this. I had put it in /etc/profile.d/couchdb.sh but that did not take effect.
@tscriado +#obsidian, sync with #selfhosted #couchDB
#obsidian #selfhosted #couchdb
Sneak peek for a new thing we made, formal announcements will commence tomorrow: https://neighbourhood.ie/products-and-services/structured-query-server #CouchDB #SQL #HellFrozeOver
I should really do some work on my stock candlestick code. I need to rethink how I’m storing data, since I want to simplify things and go from SQLite3 to CouchDB.
Unable to install CouchDB in Ubuntu 20.04.4 LTS #apt #1204 #repository #addaptrepository #couchdb
#apt #repository #addaptrepository #couchdb
OK. I have CouchDb running on a RaspberryPi and working with Python. It’s a bit different from MongoDB, but similar. At least it runs.
Trying to talk myself out of #CouchDB I just looked up #MongoDB's Conflict Resolution system:
https://www.mongodb.com/docs/atlas/app-services/sync/details/conflict-resolution/
tl;dr: it's totally sane and reasonable.
CouchDB's on the other hand is essentially "hey, flip a coin" 🤦♀️
Yes, you could write your own conflict resolution system.
Guess what I don't want to have to spend my time doing?
I can not figure out one aspect of my coding brain.
I am like pathologically drawn to non-standard languages, frameworks, tools, etc.
Ex.: #CouchDB totally aligns with many of my design values.
At the same time my next project needs full-text search with stemming, which it doesn't have. #MongoDB has it baked in (also PostgreSQL, MySQL, SQLite), & CouchDB has radically worse #ruby support. So, MongoDB's objectively a better choice.
my 🧠: "yes, but CouchDB!"
arrrrrgh
I've been really tempted to use #CouchDB for my next project, but I think I'm not going to.
- the couchrest ruby gem hasn't been updated in 6 years, and is missing 2.x features while 3.x has come out.
- full text search seems to want me to use some Clusea Java / Scala thing. nothing built in. no docs on using elasticsearch
- no recent posts about using it with ruby / rails
- hardly any posts about using it with ruby / rails
1/?
Ooh just discovered #EJDB2
again, think #SQLite but for a #JSON based #nosql document #database
with existing support for: #ios, #android, #reactnative, #flutter, #c, #Java, #dart, and #swift
it ALSO has REST HTTP server component like #CouchDB, with support for Websockets. You can, for example, just shove JSON into it with a simple curl request.
And... it's MIT licensed
this may be a perfect solution for my recent ideas.
https://ejdb.org/
p.s. omg so many hashtags. 😲
#ejdb2 #sqlite #json #nosql #database #ios #android #reactnative #Flutter #c #java #dart #swift #couchdb
Ooh just discovered #EJDB2
again, think #SQLite but for a #JSON based #nosql document #database
with existing support for: #ios, #android, #reactnative, #flutter, #c, #Java, #dart, and #swift
it ALSO has REST HTTP server component like #CouchDB, with support for Websockets. You can, for example, just shove JSON into it with a simple curl request.
And... it's MIT licensed
this may be a perfect solution for my recent ideas.
p.s. omg so many hashtags. 😲
#ejdb2 #sqlite #json #nosql #database #ios #android #reactnative #Flutter #c #java #dart #swift #couchdb
Anyone know what the current mobile story is around #CouchDB ?
It looks like, on ios there was TouchDB-IOS which ...became or was replaced by Couchbase-Lite which stopped being compatible with the 2.x release.
It seems like the answer is "use PouchDB" but that's no good if you don't want to write your App in JS... i think.
Could a Swift app use a JS data store?! Is that a thing?
cc @janl