dontblink

joined 2 years ago
[–] dontblink@feddit.it 1 points 2 weeks ago (4 children)

I know some basic Rust (currently at chapter 9) and a little bit of JavaScript.

I'm trying to work with headless CMSs and that requires some understanding on how APIs work..

Even tho I wouldn't want to stick with JS, I don't really want to dig into frameworks and dependency hells.

But I like the concept and I need to build a site that grabs some data from an external api, so a headless cms would be my choice to grab the data and structure them there in order to be rendered later in something like a static site generator (I'm quite good at Hugo). Or will learn some basic React and try to build a template on my own there...

 

Consider I only know apis are structured data that can be called or modified from within a program, and have no real further knowledge in real use cases nor in networking.

Where should I start from? Should I study backend?

I prefer docs rather than videos.

 

Something like Android auto or apple auto but with Linux, does it exist? Or if not what are your homemade solutions?

[–] dontblink@feddit.it 1 points 1 month ago (1 children)

I think essentially I would like to achieve something like this

[–] dontblink@feddit.it 3 points 1 month ago (3 children)

Thank you for your answer!

Yes I've considered using Hugo data sources, but handling all events in one single data file is not really a good way to manage data because Hugo can't programmatically generate content pages from a single data file sadly.. Also again, even if I make a script able to do this, I don't think you can modify content when already created without handling single posts individually.

I could generate a "list of events" but not individual pages from it and not an RSS feed for posts which I would need for newsletters etc..

The thing with CSV is that I kinda lost track of where the actual updated data is, so I'm keeping that updated too, yeah I know I'm a mess.

All the stuff cited is needed for one single job essentially: contacts, newsletter, events.. Which is gathering self published and externally published events and sending them to a list of chosen emails + some integration with social medias.

I'm not a webdev and I thought I could solve this much more easily, but I think doing this correctly would involve using at least an headless CMS + something that is able to grab data from external APIs + some JS framework for building the frontend.

Or relying on a ready full CMS like Ghost or WordPress + theme and hosting on a VPS, which honestly is what I'm leaning towards..

I want to avoid JS if possible as I had terrible coding experiences with it, I know some Rust but webdev in rust is not really a good option from what I've learned.

What do you think?

 

I need to create a website that holds some events data as well as other content, it will also maybe need to grab some data from APIs.

Since I'm skilled with Hugo (static site generator) I thought I could use that but it's turning out it's a total mess actually.

In Hugo I can have contacts (like events organizers) as taxonomy, but that is a different format (yaml) than CSV or vcard, and it's also static, meaning that if I edit a contact it will only change in Hugo. So I found myself having to manage contacts in 4 different places, in 4 different ways: Hugo yaml, Thunderbird, google contacts, CSV (from earlier days)... And I will add mailchimp once I'll also add a newsletter. This ensures my contacts are kinda becoming a mess.

Same goes with events, it's okay if I generate events in Hugo, but if I grab events from APIs and then the API content changes I will have to modify it on Hugo as well.

Everything it's turning out to be a total mess essentially and I think I tried to use something simple to build something quite complex, I realized the complexity later.

Now ideally I would like to be able to have my contacts, my newsletter, my content in one single place ato have everything nicely synced and not having to deal with 30 different lists or formats.

What should I do?

I know about the jamstack and headless CMS like ghosts and I was wondering if they could be a good solution, or if I should opt for a full CMS. Obvious solution would be WordPress but I wouldn't really want to mess with all the plugins.

Also I spent quite a but of time in building my templates for the Hugo website and throwing everything away would feel awful, if there's a way to reuse them (?).

I know some JavaScript basics but I would avoid it if possible.

[–] dontblink@feddit.it 6 points 1 month ago

I think I'm probably slowly transitioning to "the ghost" but more as a matter of digital minimalism than for privacy lmao

[–] dontblink@feddit.it 3 points 2 months ago* (last edited 2 months ago)

I think people should really read books like digital minimalism by cal Newport, stolen focus, surveillance capitalism, your brain on porn ecc to understand how social medias (but the internet in general) IS DESIGNED to be addictive, and what are the addictive traits.

Lemmy is definitely better but still holds some concepts from addictive social medias (not because of developers fault, I think they just tried mimicking popular socials, since these are born as "alternatives"). Infinite scrolling and upvotes are just two examples.

Some frontends do a great job leaving power to the user in that, like eternity, but I think a lot more consciousness should be raised on the topic and, at least in the open source / federated community there should be some guidelines on how to design social medias just as useful tools while minimizing distractions/useless/addictive parts.

It's great to be decentralized, it's great to avoid ads, profilation and targetization, but we can do better in designing really new and useful tools starting from certain principles.

 

Hi! I've been working with Hugo for a while and I also created a free MIT licensed theme with it!. I love the flexibility and the ease of use.

But I'll have to wok on a bit more complicated project than a simple showcase website/blog. The content to be published on it is not a lot, but it would be definitely better if I could:

  • Get/Post some content with API to avoid posting multiple times the same articles on different platforms, getting modifications as well.
  • Send posts digests via email / Download PDF post digests.
  • Post on social medias (?)
  • Parse some content from CSV files / I don't know anything about databases.

Now I know that I can do something like this with a little systemd service I might write on my own and something like Zapier + RSS feed + Mailchimp. Also I could leverage Hugo modules and the .GetRemote / transform.unmarshal command, to get content from remote sources.

Now I'm not really a lot more than an amateur developer, I was thinking a headless CMS could pheraps do this stuff and more in a better way (?). I'm not a webdev and I know only really really basic JavaScript, I can use Bootstrap for frontend confidently and add SCSS to it. I know a bit of Rust too.

Would it be worth to take the time learning how headless CMS's work? I don't really want to go back managing Wordpress plugins, updates ecc.

Do you think I'm going out of a static site generator purpose with this kind of project?

 

I used to use stocard to store the fidelty cards from several shops in one place, but now it's apparently closing and they want me to download another app which has 700 features I don't care about and that wants me to make an account and accept cookies..

Is there any Foss app that does simply this?

[–] dontblink@feddit.it 2 points 3 months ago (1 children)

No I actually prefer GNOME, but have to use KDE because I need specific features (kiosk mode), but yes I feel like Gnome is so much better integrated with its defaults apps!

[–] dontblink@feddit.it 15 points 3 months ago (1 children)

When Linux phones?

(Actually usable ones)

[–] dontblink@feddit.it 1 points 3 months ago

Crypto - wall street on steroids Bitcoin - an actual alternative to the collapsing monetary economy

That doesn't take into account privacy coins like monero, which have different purposes, but most crypto is bullshit.

 

I have been using KDE for a while, while I like many features I am looking for suggestions to the default email client:

Kmail - completely unusable for me and the only one which could maybe be integrated with kontacts, it could not receive mails from IMAP or pop or would receive only sometimes

Geary - good but too minimal, I need at least some kind of contact list and mailing lists feature, maybe this integrates with gnome contacts? I couldn't find anything in settings

[–] dontblink@feddit.it 3 points 3 months ago

Glad to know xfce has a kiosk mode, I wonder if it's easier to set up than KDE or GNOME..

UFW definitely and maybe also selinux or apparmor to give internet access only to applications that need access!

[–] dontblink@feddit.it 1 points 3 months ago

I thought about Nix, it is indeed cool to declaratively install stuff and it would indeed be very helpful to set system settings all from one file so that you control everything there, but I don't think that's what I need, I think I'd need a more focused desktop environment maybe?

Kiosk environments could be a solution, because once the UI is limited, you can install software in any way you like and from any distro really, I think the focus is to keep it minimal under the hoods and very simple on the surface!

 

Let's say I want to build a GPS module for my car, which is only a GPS, doesn't hold anything else. Or a recipe tablet for my kitchen which only hold a recipe app.

Is this kind of purposes common? What would be the best way to do this kind of stuff? How do I choose the hardware? How do I "lockdown" certain aspects I don't need about software?

These kind of devices could be convenient because, by only holding what's needed, they would use less resources, they would be completely distraction free and they would be suitable to be used by non tech savy user which would need to use only one or two programs without messing with the system in any way.

I know KDE ha some kind of multi app kiosk settings, GNOME also can achieve something similar tho it's more confusing.. There are some kiosk distros which only give you a browser. But I don't see anything that can be set up, customized, and locked like that.

But would that be the best way of achieving something like that? I mean to use a GPS I don't need a terminal, nor video codecs, nor a browser.. Maybe I can add the possibility to send Osmand google maps links.. Or I can decide to make it hold Spotify too to make it a radio as well.. But a full distro would be wasted!

But how do I prevent every other use except the intended ones? Is there an easy way to achieve a "one purpose device" using Linux? Should I simply use whichever distro I like and uninstall everything which is not needed (I see use case for arch)?

I feel like we have the total freedom of Linux distros on one side, and companies using managed devices on the other by setting complicated policies, but I don't know any options in between!

Maybe the focus here is the desktop environment more than distros! Are there desktop environment purposed to give the user a set of limited apps, or a single app (which isn't only a browser)?

 

Is there a way to require a user to wait a certain time instead of asking for a password every time he wants to execute a command as root or access the root / or another user account?

[–] dontblink@feddit.it 1 points 3 months ago

Probably an unpopular opinion but if you want absolute minimalism without ads use Violoncello text browser!

[–] dontblink@feddit.it 2 points 3 months ago

My god would love to see all events on pixelfeld instead of Instagram.....

 

I remember the old great times of barinsta.. Is there any app now? Or at least website.. ...That works decently?

 

I like notion a lot, especially for its databases function, it's much more powerful than stuff like excel, but being proprietary I'm scared of the buyers lock in / notion disallowing exports in the future and all the cons that come from using a proprietary software. Also managing integrations is probably harder than with an app that you own I think..

Is database in notion just a normal database like mysql? How easy/intuitive would be making the switch? Is it worth it?

We would use it for a very small organization, mostly for registering invoices, documents, lists of contacts with several informations.

I need to query results and to sort / filter database as I want, there's also the idea of trying integrating it with a website in the future maybe..

I like how practical notion is, but I don't like that it's proprietary and notion could potentially modify its terms of use whenever it wants.

 

After the last updates the apps started lagging lagging like hell, is there any frontend app? (Preferably Foss)

view more: next ›