Looking for some kind of local DB manager? "application" with a gui
from OwlPaste@lemmy.world to selfhosted@lemmy.world on 15 Oct 23:49
https://lemmy.world/post/20894088

I need to record information about what my cat eats and does, as she might have a food allergy and I need to track down what it is.

So I am after some kind of a user friendly locally hosted database (maybe via some kind of app), preferably Linux friendly.

It would be nice if it had similar relationships to the added image, some kind of relational DB that I can fill with data. But essentially I need to have a bunch of lookup tables to return some data specific to difference events.

Its a bit of a pain (and takes time) to have to write an entire webapp to manage all this from scratch, that’s why I am looking for some kind of user friendly GUI way to do it. Surely there must be some kind of relational database managing “application” that lets you set up some lookup tables and enter data in a nice and easy GUI way to do it? sqllitebrowser doesn’t count as it doesn’t handle linked tables in a nice way (would be nice if its friendly for my wife to use) :)

Cheers!

#selfhosted

threaded - newest

lungdart@lemmy.ca on 15 Oct 23:51 next collapse

Neo4j might with

nick@midwest.social on 16 Oct 00:36 collapse

lol what, a graph database for spreadsheet work?

xep@fedia.io on 16 Oct 00:01 next collapse

Would DBeaver suffice?

ITeeTechMonkey@lemmy.world on 16 Oct 01:34 next collapse

I use DBeaver at work when I am having problems with psql commands in terminal. It’s prevented me from pulling out my hair a few times.

daddy32@lemmy.world on 16 Oct 08:23 collapse

Question is, what is its Wife Acceptance Factor (WAF)?

AustralianSimon@lemmy.world on 16 Oct 04:10 collapse

I also suggested this. Friendly on lots of operating systems too.

gramie@lemmy.ca on 16 Oct 00:01 next collapse

The database app in LibreOffice, based on the Firebird database engine, can do all that.

pixxelkick@lemmy.world on 16 Oct 00:08 next collapse

I’ve been looking for th8s for awhile too.

Not a locally run tool, but a self hosted web app (that I wire up to my self hosted db) that has a web portal I login to, and then can manage my db with a nice slick UI to define tables, relations, etc.

There’s been some I’ve found but they vastly lacked basic features and were clearly in very early beta.

Nomecks@lemmy.ca on 16 Oct 00:10 next collapse

Why wouldn’t a simple spreadsheet and some pivot tables work?

NaibofTabr@infosec.pub on 16 Oct 00:15 next collapse

Never use a spreadsheet to do a database job.

Nomecks@lemmy.ca on 16 Oct 00:24 collapse

Tracking a single cat doesn’t seem like DB work

themeatbridge@lemmy.world on 16 Oct 01:45 collapse

But it’s not just the cat. OP wants to track the foods the cat is eating and the allergens in the food, and then look for correlations and trends. You could manage most of that with a spreadsheet, but you’d have to update reference tables every time you add a new entry. OP wants something user friendly.

Nomecks@lemmy.ca on 16 Oct 01:53 collapse

Sure, but how many foods are we talking here? This sounds like probably <20 rows on a sheet, with columns for ingredients.

OwlPaste@lemmy.world on 16 Oct 03:12 collapse

Looking to replicate something like this (with a weekly/monthly/ect views, maybe monthly view can look different since it would be too long to scroll, but anyway, it looks like arse but was just giving it a go), but didn’t want to have to create a full webapp (with CRUD data inserts, pagination ect… its certainly doable, but just annoying to implement). This is just a simple index view in a random framework I found, with some real, but pre-canned data via db seeding (so at least I can re-create it easily). Just thought there could be something easier that already exists and i wouldn’t have to be re-inventing the wheel. Have a paper version of this, but its too hard to keep track of different foods via paper.

<img alt="" src="https://lemmy.world/pictrs/image/6360c0a7-ed9a-400e-8eb2-8f8d278b782a.png">

Spreadsheet sounds interesting (read easier) to try, though I am not quite sure how to do the lookup bits. Would it be something like one table (sheet) of events feeding from say, food type table (sheet) and some kind of a month view that can accumulate events on the same day?

PS: yes got a vet appointment coming up soon.

atzanteol@sh.itjust.works on 16 Oct 03:55 collapse

The data is relational. Spreadsheets are a pain to use for that.

dohpaz42@lemmy.world on 16 Oct 00:18 next collapse

I found this site which might help you in your search.

selfh.st/apps/

Food for thought (no pun intended), but unless you’re willing to build an app (could be a great app; I doubt you’re the only person who could use this), you might be over engineering this quite a bit. A spreadsheet could be made to do what you’re looking for, with much less effort.

redbr64@lemmy.world on 16 Oct 01:27 next collapse

I was looking for something similar for a while, like something for simple relational data with some GUI for data entry, aka “I don’t wanna write a little web app just for this”. I had used AirTable at work before at work so that’s what came to mind and my searching was basically for “open source or selfhosted alternative to AirTable”.

Came across some decent candidates, can’t remember all the names, but the one I tried, Grist, was pretty straightforward and did the job: easy relational data setup, GUI for all basic data types including file uploads, easy to create input forms, and widgets that talk to the API and you can customize with JavaScript. Setup was easy with docker

EDIT: other names that came up when looking were NocoDB and BaseRow ( I don’t remember why I didn’t try them for my specific needs)

just_another_person@lemmy.world on 16 Oct 01:42 collapse
01189998819991197253@infosec.pub on 16 Oct 01:39 next collapse

Personally, I would use a simple spreadsheet for this.

But if you have your heart set on a db, you can use Access or LibreOffice Base for ease of initial setup.

Maybe SQL (or PRQL, if you’re feeling cutting edge) with some dbms (SSMS Community I think is still free, or maybe Heidi SQL) but this will require you maintain a server as well. PostgreSQL is what I generally use if I want to spin up something quickly. I do like SQL quite a bit, but it seems overkill for this task.

Edit: autocorrect

atzanteol@sh.itjust.works on 16 Oct 03:53 collapse

LibreOffice Base seems like a good idea for something like this. SQL based with a UI to create forms, reports, etc.

It’s probably one of the few times it would be an appropriate tool to use!

just_another_person@lemmy.world on 16 Oct 01:42 next collapse

You might be looking for Nocodb

krash@lemmy.ml on 16 Oct 09:42 collapse

Hmm, nocodb is a webapp first and foremost. It does have binaries to run directly on the host, but I’m not entirely sure to recommend this over libreoffice actual app for database management. I believe it would be more in line with OPs requirement.

thinkyfish@lemmy.world on 16 Oct 02:09 next collapse

check out SQLiteStudio. It looks a good deal simpler than using dbeaver and it works on Linux. www.sqlitestudio.pl

GrumpyBike1020@monero.town on 16 Oct 02:39 next collapse

selfh.st/apps/?alternative=Airtable Self hosted airtable

Ekpu@lemmy.world on 16 Oct 03:01 next collapse

I think for this it is over the top but I found rei3 one oft the best database webapp low-code builders: rei3.de/en/home

bmck@lemmy.bmck.au on 16 Oct 03:39 next collapse

Not locally hosted, but pretty powerful and has a free tier.

airtable.com

Basically spreadsheets but superpowered.

retro@infosec.pub on 16 Oct 07:44 collapse

Grist is a selfhostable alternative to Airtable

www.getgrist.com/blog/grist-v-airtable/

OwlPaste@lemmy.world on 16 Oct 03:49 next collapse

Many thanks for all the replies, il take a look at them!

thirdBreakfast@lemmy.world on 16 Oct 10:20 collapse

I’d love you to check back later with your conclusions.

AustralianSimon@lemmy.world on 16 Oct 04:09 next collapse

I use dbeaver on ubuntu and windows.

dbeaver.io/download/

keepee@lemmy.world on 16 Oct 04:46 next collapse

I think Grist would definitely fit your needs.

gofsckyourself@lemmy.world on 16 Oct 09:45 collapse

I’m a fan of Heidi

www.heidisql.com