frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Can you give tips on writing a README for project?

6•vseplet•6d ago
I'm currently finishing up the initial version of my experimental embeddable library designed for creating web applications without a build step. But I'm not sure how to make the repository appealing and successful — something that makes people want to try it out, maybe even contribute or improve it.

https://github.com/vseplet/morph?tab=readme-ov-file#morph

So, I'd really appreciate any tips you have on writing a great README or structuring the repo — or pointing out any common mistakes I might have made along the way.

Comments

nyoki•6d ago
Tom Preston-Werner (GitHub, SemVer, Jekyll, etc.) has a great blog post about writing README files.

https://tom.preston-werner.com/2010/08/23/readme-driven-deve...

> As a byproduct of writing a Readme in order to know what you need to implement, you’ll have a very nice piece of documentation sitting in front of you. You’ll also find that it’s much easier to write this document at the beginning of the project when your excitement and motivation are at their highest. Retroactively writing a Readme is an absolute drag, and you’re sure to miss all kinds of important details when you do so.

vseplet•6d ago
This idea shocked me with its simplicity, thank you
scarface_74•5d ago
This is the classic Amazon inspired “Working Backwards” methodology with PRFAQs
speedylight•6d ago
I’d suggest looking at other popular repos for inspiration. But at the very least you README should have information on how to run the program as an end user as well as a guide for developers on how to set up the dev environment such that they’re ready to go by following it.

Also a basic description of what your app is/does and what’s it’s trying to solve, a video demonstration also goes a long way. Make sure you use tags on the repo, it’s help with search discovery.

Jugurtha•6d ago
I usually write the README and documentation before writing the code. I then shop it around and ask people if it makes sense.

The initial version of the code is stubs that, if you follow the code examples given in the documentation, return hard-coded values.

I went to the extreme of giving the docs to non-developers who've never written a single line of code in their entire life, giving them an interpreter, and asking them to follow the docs without providing any help. If they could do it, developers wouldn't have a problem.

One must resist the temptation to help and should only observe how the users "misuse" the code. When they make a mistake, it's usually a good indicator of bad design, which is promptly corrected.

There's also a good tool called asciinema[1] that helps you record terminal sessions.

- [1]: https://asciinema.org

FloatArtifact•6d ago
If a project has a user interface, then there needs to be screenshots.
dtnewman•5d ago
I wrote a CLI tool (GitHub.com/dtnewman/zev) and including a gif video at the top of the readme made a big difference.

Ask HN: What is the best LLM for consumer grade hardware?

197•VladVladikoff•15h ago•156 comments

How to improve interview skill?

3•gogo61•1h ago•3 comments

Ask HN: Hardware for 1k RPS?

2•gsky•2h ago•1 comments

What motivates you to contribute to open source projects?

13•rizs12•10h ago•12 comments

Tell HN: eBay doesn't allow changing country

6•peterburkimsher•5h ago•3 comments

Ask HN: Lisp eval vs. Lisp macros. Are they the same underlying concept?

9•behnamoh•12h ago•5 comments

Ask HN: What are you working on? (May 2025)

345•david927•5d ago•1063 comments

Ask HN: New Economics of Software Development Lifecycle

3•breckenedge•8h ago•5 comments

Ask HN: What projects do you donate to?

277•xeonmc•1w ago•283 comments

Tell HN: Namecheap pre-purchasing searched domain names?

18•iamtoomas•18h ago•23 comments

Ask HN: How do you set up a new dev machine? (2025 edition)

9•daryllxd•16h ago•5 comments

Ask HN: What tools do you use to discover competitors?

4•flippyhead•12h ago•8 comments

Tasks Per Day – A minimalist productivity app that works

4•TerrenceTian•21h ago•3 comments

Ask HN: How are people using ChatGPT to increase productivity in personal life?

11•shreythecray•1d ago•8 comments

Ask HN: Management wants to talk to my Datalake. What's the best way to do this?

4•GaiusCoffee•1d ago•2 comments

Can we take a moment to appreciate what kind of web experience we are building?

10•tomdesantis•1d ago•6 comments

Ask HN: Career Plateau: Looking for Advice on How to Break Through

6•vaderyondu•1d ago•9 comments

FYI: LinkedIn has "Data for GenAI Improvement" turned ON, by default

2•neofrommatrix•3h ago•1 comments

Microcenter Is Back in California

12•jedberg•10h ago•4 comments

We'll backtest your trading strategy for you

8•growbell_social•12h ago•3 comments

Ask HN: Arc is dead, where should we move now?

4•Vishal19111999•21h ago•20 comments

Ask HN: Anyone struggling to get value out of coding LLMs?

332•bjackman•4d ago•274 comments

Ask HN: What's the best tool you've used for sprint planning in 2025?

4•jackh04878•1d ago•14 comments

Best Buy is selling a $400 "digital Ethernet" cable for "cleaner, clearer sound"

15•34679•2d ago•14 comments

Ask HN: Why that many more US-based companies are hiring "US-only" remote?

18•soneca•3d ago•18 comments

Why is the Microsoft Store delivering downloads with different hashes?

4•nilslindemann•7h ago•3 comments

Ask HN: Go deep into AI/LLMs or just use them as tools?

195•pella_may•6d ago•133 comments

Al-LLM powered eBPF based security platform

5•gaurav1086•2d ago•5 comments

Ask HN: Is anyone using AI conversation partners?

21•rickcarlino•3d ago•34 comments

Ask HN: Are AIs intentionally weak at debugging their code?

5•amichail•1d ago•7 comments