frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Is WordPress the best way to create new websites for beginner

12•anitroves•5h ago•33 comments

Ask HN: Books about Genetic Algorithms

12•andyjohnson0•2h ago•2 comments

Ask HN: What do SRE do at your company?

3•petemc_•3h ago•5 comments

Ask HN: Is there a bad employers (who have a records of not paying) list?

51•trowa159•9h ago•60 comments

Ask HN: Where is the programming profession going?

152•syntaxbush•3d ago•166 comments

The open source DOCX editor submitted to HN a few weeks ago has been deleted

101•gcanyon•2d ago•44 comments

Ask HN: Is "no source code was copied" still a sufficient copyright defense?

64•oscgam1•2d ago•79 comments

Everyone feared AI taking over; the real danger is AI serving just the few

104•PhilipDaineko•1d ago•69 comments

Ask HN: Smallest amount of working ML weights that can be tattooed on a body?

7•thoughtpeddler•1d ago•4 comments

Ask HN: MacBook vs. Dedicated GPU for LLM

33•mzubairtahir•1d ago•65 comments

Ask HN: What do you predict the world will look like in 5-10 years?

9•justanything•1d ago•11 comments

I patched llama.cpp to gain 20% prompt processing TPS. Help me make a PR

5•i_am_rocoe•1d ago•2 comments

Ask HN: How much coding should beginners learn in the AI era?

36•JohnDSDev•4d ago•50 comments

Ask HN: What GUI/desktop app do you use to keep track of different AI sessions?

4•howToTestFE•1d ago•4 comments

Fast feedback loops is the way

5•skyglider•1d ago•0 comments

Recursive self improvement for human skills

4•rando77•1d ago•2 comments

Ask HN: Has Ilya Sutskever spoken publicly lately?

9•aurenvale•1d ago•1 comments

Tell Zillow: Fee-Simple vs. Leasehold Filter

4•HoldOnAMinute•2d ago•1 comments

Ask HN: Norway bans AI in elementary schools

15•mellosty•3d ago•19 comments

Data Privacy while using API tools

4•11shyam11•1d ago•4 comments

Tell HN: Mojo is becoming open source

8•theanonymousone•1d ago•4 comments

Ask HN: Is there a quiet market for 'no enforced AI' dev jobs?

7•reinhardt•1d ago•10 comments

Ask HN: Techniques for learning things quickly using coding agents?

5•throwaw12•2d ago•2 comments

Ask HN: You have one year to make $1M. What's your plan?

14•vantareed•10h ago•17 comments

Roblox parental controls are a dystopian security disaster

23•notsure357•2d ago•5 comments

Ask HN: Who remembers Fry's Electronics – the "church" of IT people?

8•netfortius•2d ago•4 comments

Ask HN: What home printer do you use/recommend?

20•niyazpk•5d ago•23 comments

Ask HN: Running local LLMs? What's your model and hardware

11•alfiedotwtf•1d ago•9 comments

I feel like VSCode is falling apart

16•othmanosx•3d ago•18 comments

Ask HN: Why does every AI demo sound perfect but real world deployment always

8•VaderAi•2d ago•12 comments
Open in hackernews

Ask HN: Is WordPress the best way to create new websites for beginner

12•anitroves•5h ago
Just curious if there is any better alternative for those who just knows basics of coding and are learning as they build.

Comments

ceejayoz•5h ago
No. WordPress is a giant nest of security holes.
anitroves•5h ago
So what's the alternative
ceejayoz•5h ago
Depends on the languages you know and the type of sites you're building.
not_your_vase•5h ago
What's your goal? If you want just a random site, then WP will do the job. If you want to learn web development, then I'd start it with a local http server (apache/nginx/whatever's your poison) and start writing html/css/js by hand, and see how it builds up line by line.
anitroves•4h ago
That is some good advice but i wanna know proper platform or way like wp
wasting_time•4h ago
Look for a "static site generator". Bearblog and Hugo are popular ones. Then you can host your site anywhere and don't have to worry about security problems.
kimyuhan•4h ago
are their security systems better than wp
kaikai•4h ago
A static site is much less vulnerable to security issues.
anitroves•2h ago
Can't we handle wordpress security on our own or use some plugin
al_borland•4h ago
Bearblog is a service, not a static site generator one can use like Hugo.

From the Bearblog GitHub:

> Bear Blog has been built as a platform and not as an individual blog generator. It is more like Substack than Hugo. Due to this it isn't possible to individually self-host a Bear Blog.

Jekyll would an alternative for Hugo.

wasting_time•4h ago
Whoops. My mistake for only reading HN headlines and extrapolating. OP, please disregard this recommendation.
dd-sharma•5h ago
I love using WP for my blog and I've a self-hosted version. In your question "new websites for beginner" indicates that the user is a beginner and wants to build websites. If websites have simple and static content that don't involve any serious stuff (e.g. e-commerce) then WP is probably ok. But for serious work i won't use it.
anitroves•5h ago
What would be your choice for serious work then
basch•4h ago
I’d almost say the opposite.

For a simple website it’s overkill.

For a serious website there’s not much else that has the extensibility. Woocommerce is nearly unrivaled. There isn’t another ecosystem like it. I would think this community would lean towards the open source leaning products to the shopifys.

chistev•4h ago
I've never tried learning WordPress, I know they say it makes building stuff easy, but I just enjoy writing code, man. It's fun.
anitroves•2h ago
Do you use AI while deveoping if no you are legend
daemonologist•4h ago
I would definitely not recommend WordPress.

If you just want a website for cheap: Bearblog, carrd.co, etc.

if you want all the bells and whistles on a platter: Squarespace, Wix, etc.

if you want to supply all the HTML/CSS yourself: Github Pages or Cloudflare Pages.

(Later, if you want to host the above (except the "bells and whistles" tier) yourself: Hetzner, Digital Ocean, etc.)

preg_match•4h ago
No. Wordpress requires overly complex administration and deployment. There’s just a lot that goes on with Wordpress, and you’d need a VPS to deploy it just by the nature of Wordpress.

If you’re building a static site - meaning, a site which does not have any forms which require backend functions - you should use a static site generator. If you’re not building a static site, I recommend starting with a static site. It’s just a lot less to keep in your head as a beginner.

My recommendation is Astro. I like it because it makes it easy and straightforward to create a static site. And, you will also learn JavaScript along the way, without building out a node backend or even anything on the front end.

But, if you really want to learn, I recommend noting. Yes, nothing. Just HTML files in a folder, a css stylesheet, maybe some JS files, and a web server. For deployment, you don’t need a web server config or a VPS. Just use cloud flare pages, link it up with GitHub, and boom, you have a static site.

Don’t be intimidated. If you do just HTML, you can learn a lot and you get the nitty gritty. You understand how the site actually functions from start to end.

aborsy•2h ago
You probably need a template for the page format and style, which you customize and expand writing your HTML. Otherwise starting from scratch, the page will be ugly without a lot of coding.

What’s the best way to get the template?

hstaab•3h ago
Cloudflare launched some alternative (also compatible iirc) to WP built on Astro this year. I haven’t tried it but might be worth a look.
mmarian•3h ago
TIL https://blog.cloudflare.com/emdash-wordpress/
anitroves•2h ago
Will try it
TheWiggles•3h ago
I would recommend looking at static sites for learning the basics of building websites. There are a ton of static site generators in different programming languages. You'll be able to to build as you go and learn how the various parts of a website work together.

I recommend looking at jamstack.org as they have a long list of options.

Personally, I enjoy Hugo, a Go based static site generator. Though if you're unsure then try a couple out and see which you like best.

anitroves•2h ago
Now that will do for me
frollogaston•3h ago
Wordpress is good. People complain about it because it's popular. Or Github pages is also fine if you just want to write and host HTML.
nicbou•3h ago
It depends.

Personally, I would prefer a static site generator, simply because it requires zero maintenance to safely keep a static site online.

It might also be a good introduction to git and various deployment methods.

I run a website for a living, and moving to a static site generator is the best decision I've made.

anitroves•2h ago
I have many functions to do and thus can't continue with static website only
type0•3h ago
Publii static site generator is great for beginners and easier than WP for simple sites

https://getpublii.com/

cjk•2h ago
Depends on your goal.

If you’re not interested in hand-maintaining the code of the website(s), and you just want a nice GUI for publishing pages/posts/etc., then I’d say use some hosted platform like Squarespace.

For actually learning how to build websites, start with something more low-level and barebones like a static site generator (Jekyll, Hugo, Gatsby, etc.), or even plain GitHub Pages without a static site generator for the most “manual” experience.

In neither of those cases would I consider WordPress.

anitroves•2h ago
What if i say my start was from wordpress so what shoyld I use then lets say I know basics of html and other built some php functions but now I wanna code without using AI
cjk•2h ago
In that case, I would consider a lightweight static site generator.

It sounds like you're fairly new to programming, so I would suggest a static site generator that is easy to install and use.

Zola[1] is less well-known, but it's easy to install and fast. I tend to use Hugo[2] the most these days, which is fast and has solid documentation, but its template syntax is really annoying compared to Zola.

[1]: https://www.getzola.org/documentation/getting-started/overvi...

[2]: https://gohugo.io/getting-started/quick-start/

matt3D•2h ago
I find it a bit odd that none of the comments so far have mentioned LLMs.

Astro with a good understanding of how to build using a coding agent (my go to is the BMAD method)

4thOfficial•28m ago
I've always been a big fan of the WordPress community, which is a part of how WordPress works. A few years ago Wordpress would have definitely been my go to, but there are a ton of alternatives now (great suggestions in the comments here)