Hi, i’m into programming, sexual transmutation and psychedelics!

  • 36 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle

  • 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…





  • 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 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!