this post was submitted on 22 Sep 2025
63 points (97.0% liked)

Selfhosted

51692 readers
555 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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)

top 34 comments
sorted by: hot top controversial new old
[–] Xylight@feddit.online 2 points 22 hours ago

It might be overkill, but my website xylight.dev is written in Svelte with the framework Sveltekit. I use the adapter-static and disabled the client JavaScript with export const csr = false in my +layout.ts.

I really like Svelte since it lets me write reusable components really quickly, with very native feeling markup that, once I prerender it, expands into normal HTML.

[–] nis@feddit.dk 63 points 2 days ago (3 children)

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

[–] TypFaffke@feddit.org 20 points 2 days ago (2 children)

Now there's a radical idea. Might actually do this xD

[–] tburkhol@lemmy.world 12 points 2 days ago (1 children)

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 5 points 2 days 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.

[–] Wolfizen@pawb.social 4 points 1 day ago (1 children)

+1!!

I found this guide very inspiring: https://melonking.net/thoughts/lets-make

It focuses on the creativity and self-creation aspect of writing your own websites. The site is quirky but also geniune.

[–] MonkeMischief@lemmy.today 2 points 1 day ago

This is so cool, thanks for sharing! I'm really excited about the "indie web", being a network of expressive people being people rather than just a giant commerce machine.

[–] dual_sport_dork@lemmy.world 1 points 2 days ago

This is the only correct answer in this entire thread.

[–] jcolag@lemmy.sdf.org 9 points 1 day ago (1 children)

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.

[–] dogs0n@sh.itjust.works 3 points 1 day ago* (last edited 1 day ago) (1 children)

+1 for just using html & css if it's literally just an online business card (I'm sure theres millions of themes you can easily modify the source of and there won't be updates to work around).

A generator is only really useful if you have blog posts, multiple pages, something that changes often, etc, right?

[–] jcolag@lemmy.sdf.org 2 points 17 hours ago

That's close to how I think about it, yeah, but I'd push more in terms of the investment. Since Jekyll, Hugo, Svelte, Eleventy, and the rest just generate flat HTML to upload, there's nothing wrong with using it for a single page. But you end up needing to learn the whole build-and-deploy process and all the layout quirks, which (especially if you're starting from scratch) will take longer to get the page out. And like you point out, the more material you have, the better that investment looks.

But then, if you already know the system, there's no new investment, so it becomes more of a toss-up whether to build things that way, since a page of Markdown is slightly faster to write than the equivalent HTML.

[–] manxu@piefed.social 18 points 2 days ago

I suggest one of the many wonderful one-page templates available on GitHub, Codeberg, et. al. GitHub has a whole topic on them at https://github.com/topics/single-page-site. You pick one that matches your requirements and that looks good to you, change the text, and serve.

Ghost Blog. Open source, flexible, loads of potential uses, works every time.

[–] ZebraGoose@sh.itjust.works 11 points 2 days ago

I used https://html5up.net/ found a nice one and customized it for myself

[–] NarrativeBear@lemmy.world 7 points 1 day ago

I like to use bootstrap studio for website design.

https://bootstrapstudio.io/

Another tool, not sure it will fit your needs exactly, called reactive resume. Might be able to use it as a business card.

https://rxresu.me/

[–] Vipsu@lemmy.world 8 points 2 days ago

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

[–] mhzawadi@lemmy.horwood.cloud 8 points 2 days ago (1 children)

I know its old and unmaintained, but I really like picoCMS. its just a markdown to HTML site thing, but I cant find any replacement

https://hub.docker.com/r/mhzawadi/picocms

[–] sonstwas@sh.itjust.works 4 points 1 day ago (1 children)

According to their GitHub https://getgrav.org/ is an "excellent alternative".

[–] mhzawadi@lemmy.horwood.cloud 2 points 1 day ago

yes, but no.

All the alternatives I have looked at had a re-setup tax that I didnt want to get into, also none of them had the easy editing that pico has. you just point it at a collection of markdown files and you get a site out.

[–] gkaklas@lemmy.zip 7 points 2 days ago

For a simple links-only page I'm using Linkstack, and there's also littlelink

[–] modeh@piefed.social 5 points 2 days ago

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

[–] possiblylinux127@lemmy.zip 1 points 1 day ago
[–] happydoors@lemmy.world 2 points 1 day 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

[–] Smokeydope@lemmy.world 3 points 2 days 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.

[–] FreedomAdvocate@lemmy.net.au 2 points 1 day 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.

[–] feeny@feddit.org 3 points 2 days ago
[–] portnull@lemmy.dbzer0.com 3 points 2 days ago* (last edited 2 days ago)

I was in a similar boat. Wanted a simple static site generator with little to no config. I found https://github.com/rochacbruno/marmite and am happy with it

[–] Diplomjodler3@lemmy.world 2 points 1 day 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.

[–] django@discuss.tchncs.de 2 points 2 days ago

Write markdown and convert to HTML with pandoc?

[–] confusedpuppy@lemmy.dbzer0.com 1 points 2 days ago* (last edited 2 days ago)

I found BashWrite which is just a very simple static site generator written completely in bash as a single file script.

The only dependency is having an up-to-date sed command which most systems should have. I use Alpine Linux which comes with a minimal sed command so I had to download the full command through my package manager.

It's simple, basic and has support for the majority of markdown formatting. There's some limitations due to it being written in Bash only but I am personally okay with that.

I found it on this list of static site generators if you're curious to see more options.

[–] ryan_@lemmy.world 0 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] CluckN@lemmy.world 8 points 1 day ago

Ryan you might as well recommend a Macbook as a Linux alternative

[–] CallMeAnAI@lemmy.world 0 points 2 days ago

Screech all you want, Copilot. It'll take 10 minutes to get an MVP and you can just tweak from there.