I’m looking for a tool to generate a simple personal website (like an online business card) to self host. Preferably a static site generator.

I’m now using Hugo, but it does too much for me and changes too often. (I can’t update my current page, because the template is no longer arond)

  • John Colagioia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    Personally, after churning through all the static site generator options, I landed on Jekyll, one of the first of them. It’s definitely not the sexiest solution, but it’s Markdown-in and HTML-out (my main page is still raw HTML/CSS from like twenty years ago, though), was the easiest for me to match the styling that I wanted from the base theme, and it’s been along for long enough that it’s mostly surprise-free.

    That said, if you only want the equivalent of a business card, I might argue that setting up anything is probably overkill, all overhead for just a tiny bit of content. In that case, you can grab some modern-ish HTML boilerplate like this one, then use Pandoc to convert the Markdown (which you presumably already know if you’re messing with Hugo) to the HTML that goes between <body> and </body> in the boilerplate. Add CSS, and you’re done.

    Oh, and actually, depending on how broadly you want just the “business card” idea, something like Littlelink might also fit your needs, where you hack out the links that you don’t care about and fill in destinations for the rest.

  • ryan_@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    4
    ·
    edit-2
    4 hours ago

    I might get shit for this, but I used ChatGPT to generate the code for a basic, single page, html/css, static website.

  • happydoors@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    Have fun picking through the many options, haha. I just figured out Ghost (open source blogging platform) but it can easily be edited with static pages. It is basic but I am okay with the functionalities and ease of use

  • FreedomAdvocate@lemmy.net.au
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    6 hours ago

    People are going to hate this, but AI is perfect for this. You can literally just ask it to make whatever you want the website to look like in natural language and it will give you the code and generate a html page for you to preview.

  • Nis@feddit.dk
    link
    fedilink
    English
    arrow-up
    55
    arrow-down
    2
    ·
    15 hours ago

    You could just do it manually. Write the HTML an CSS.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        14 hours ago

        You don’t even need to learn HTML to do it. Any word processor will ‘save as HTML,’ but the markup should be straightforward enough for anyone considering selfhosting. CSS can be a real rabbit hole, but browser default styles aren’t awful.

        • communism@lemmy.ml
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          10 hours ago

          I don’t think there is really any learning curve to “learning HTML” if you are not trying to do anything funky and you just want a simple static website that functions, like OP said, “like a business card”. You may as well just type it out yourself. If you’ve never written HTML before just look at w3schools.

  • SmokeyDope@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    I wrote my own set of tools in python that convert a simple gemtext formatted .gmi file into a static HTML file thats served by apache.

    I’m a big fan of the Gemini Protocol project and found that handwriting pages in gemtext was ideal for focusing on text content and not worrying about formatting. Converting it to HTML+CSS with some scripts is pretty easy.

    If anyone’s interested I can give a link, currently just hosting source locally on my website, really should get a public github running.

  • Diplomjodler@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    9 hours ago

    If you know some Python, I’d look at Flask. It might be overkill for a static site but it’ll leave the door open for future expansion. If your goal is minimal effort, this is probably not the way to go.

  • modeh@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    12 hours ago

    My HTML/CSS skillset is abysmal, so I went with Hugo and deployed the repository onto cloudflare. It was up in minutes.

  • Vipsu@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    14 hours ago

    Create a custom hugo template that you can maintain yourself however and whenever.