In this guide
Open any project repository and the first thing you see is the README. Before anyone reads a line of your code, they read it — your guide, your examiner, a recruiter skimming your GitHub, a teammate joining the project late. A good README answers three questions in under a minute: what does this project do, how do I run it, and how is it put together? A missing or one-line README answers none of them, and the project looks unfinished even when the code works.
This guide shows you how to write a README that does that job — what each section should contain, a complete structure you can copy, and the mistakes that make a README useless.
Quick answer
A good project README has seven parts: a one-line description of what the project does, a short demo or screenshot, a tech stack list, setup instructions that work from a fresh clone, how to use the project, the project structure, and a short section on the team and what each person built. Write the setup steps by actually following them on a clean machine — if a step is missing, your reader hits the same error. Keep it under two screens of scrolling for the essentials; move long detail into a docs folder and link to it.
| Section | What it must answer | Length |
|---|---|---|
| Title + one-liner | What is this, in one sentence? | 1–2 lines |
| Demo / screenshot | What does it look like working? | 1 image or GIF |
| Tech stack | What is it built with? | A short list |
| Setup | How do I run it from scratch? | Numbered steps, tested |
| Usage | What can I do with it once running? | Short examples |
| Project structure | Where is everything? | A file tree |
| Team / credits | Who built what? | Names + roles |
Start with the one-liner, not the backstory
The top of the README is the most-read part. Write the project name, then one sentence that says what the project does and who it is for. Not the motivation, not the history — the function.
Weak: "This project was made for our college submission and uses many technologies like Arduino and Python and machine learning."
Strong: "A smart irrigation system that reads soil moisture with an ESP32 and waters plants automatically when the soil dries out."
If a stranger cannot explain your project back to you after reading that one line, rewrite it. Everything below exists to support that sentence.
Show it working
A screenshot, a short GIF or a 30-second demo video link does more than three paragraphs of description. For hardware projects, a photo of the assembled prototype. For a web app, a screenshot of the main screen. For a mobile app, two phone screenshots. For a machine-learning project, a screenshot of the output — the detected object, the prediction, the dashboard.
Capture screenshots at a sensible size (around 1200 px wide), crop out your desktop clutter, and put the image near the top, right under the one-liner. If the project has a live demo link, put it here too — but remember a demo link that needs your laptop running is not a demo. Only link deployments that stay up on their own.
Tech stack: list what you actually used
A short list of the real technologies: language and version, framework, hardware, database, key libraries, and tools. This is also the section that quietly proves you made real technical choices.
Example:
- ESP32 DevKit V1, Arduino framework
- DHT22 temperature and humidity sensor, soil-moisture sensor
- MQTT for sensor data, Node-RED dashboard
- Python 3.11, Flask, SQLite for the logging backend
Do not list technologies you merely touched once, and do not list the same thing twice under different names. If your examiner asks about any item on the list, you should be able to explain why it is there.
Setup instructions: the section that gets tested
This is the most important section, and the one most students write from memory — which is why it usually fails. The test is simple: clone the repository on a different computer (or a fresh folder), follow your own steps exactly, and see whether the project runs. Every missing step is a bug in your README.
Write setup as numbered steps
- Prerequisites. What must already be installed, with versions: "Python 3.11 or newer", "Arduino IDE 2.x", "Node.js 20". Link the download pages.
- Clone. The exact command:
git clone https://github.com/yourname/project-name.git - Install dependencies. The exact command:
pip install -r requirements.txtornpm install. If a step takes minutes, say so. - Configuration. Every setting the reader must change: Wi-Fi credentials, API keys, database paths. Show where they go and give a sample file (
config.example.json) to copy — never commit real passwords or keys. - Hardware, if any. Wiring summary or a link to the circuit diagram, and any flashing step.
- Run. The exact command to start it, and what success looks like: "Open http://localhost:5000 — you should see the dashboard with live sensor readings."
Common setup mistakes
- "Install the libraries" without naming them. List the file (
requirements.txt) or the commands, not a vague instruction. - Steps that only work on your laptop. Absolute paths like
C:/Users/YourName/Desktop/projectbreak everywhere else. Use relative paths. - Missing the configuration step. A project that crashes on first run because a config file was never mentioned is the most common README failure.
- No expected output. Tell the reader what "working" looks like, so they know whether they succeeded or not.
Usage: show one real example
After setup, show the reader what to do with the project. One or two short examples are enough: a sample command with its output, the main screen with its controls labelled, or the steps to trigger the headline feature. For a hardware project, this is the operating procedure — power on, wait for the calibration blink, press the button, read the display.
Keep examples short and copy-pasteable. A usage section that is only "run the code and explore" tells the reader nothing.
Project structure: a map of the repository
A short file tree with one-line notes per folder saves every new reader ten minutes of clicking around:
project-name/
├── firmware/ ESP32 code (Arduino)
├── backend/ Flask API and database
├── frontend/ Dashboard pages
├── docs/ Circuit diagram and wiring notes
├── README.md
└── requirements.txt
Generate the tree from the real repository, not from memory — a tree that lists folders that do not exist is worse than no tree. Skip generated folders (node_modules, __pycache__, .venv) and generated files from the listing.
Team, credits and what each person built
For team projects, list each member with what they actually built — firmware, backend, hardware assembly, documentation. This matters twice over: it stops a teammate's work being invisible, and it lets an examiner ask each person about their own part. Keep it factual and brief.
Also credit anything you reused: libraries, datasets, tutorials, and any code adapted from elsewhere, with links. Crediting sources is not a weakness; presenting borrowed work as your own is a problem.
A complete template you can copy
# Project Name
One sentence: what it does and who it is for.

## Tech Stack
- Language / framework
- Hardware and sensors
- Database and key libraries
## Setup
### Prerequisites
- Python 3.11, Node.js 20
### Install
1. `git clone <repository-url>`
2. `pip install -r requirements.txt`
3. Copy `config.example.json` to `config.json` and fill in your values
4. `python app.py` — open http://localhost:5000
## Usage
- What the main feature does, with one example
## Project Structure
- `firmware/` — device code
- `backend/` — server code
- `docs/` — diagrams and notes
## Team
- Name — what they built
- Name — what they built
## Credits
- Libraries, datasets and tutorials used, with links
Fill in every placeholder before you submit. A template with <repository-url> still in it is not a finished README.
Keeping the README honest
- Update it when the project changes. A README that describes last month's version misleads everyone. Update the setup steps in the same commit as any change that affects them.
- Do not paste your whole report into it. The README is a doorway, not the documentation. Long explanations belong in a
docs/folder, linked from the README. - Do not claim features that are not built. "Planned features" belong in a short roadmap section clearly labelled as planned, not in the description of what the project does.
- Keep it readable on the GitHub page. Check the rendered Markdown on GitHub itself — broken tables, unclosed code blocks and oversized images are all visible there and nowhere else.
Common mistakes
- A README that is only the project title. It tells the reader nothing and signals the project was abandoned.
- Setup steps written from memory, never tested. The single most common cause of "it works on my machine".
- Screenshots of code instead of the working project. Nobody needs a photo of your editor. Show the running result.
- A wall of text with no headings. Headings are the navigation. Without them, readers leave.
- Credentials committed in the setup example. Use placeholder values in every example. If a real key ever lands in the repository, revoke it and rewrite the history — do not just delete the file.
- No licence or credits. Even a one-line licence note and a credits list make the project look finished and professional.
FAQ
How long should a README be?
Long enough to set up and understand the project, short enough to read in five minutes. For most student projects that is 100–200 lines. Anything longer belongs in docs/.
Should I write the README first or last?
Draft it first — the one-liner and the setup steps force you to decide what the project is and how it runs. Then update it as you build. Writing it last usually means writing it in a rush the night before submission.
Does the README affect marks?
Examiners read it before they read your code. A clear README frames the whole project; a missing one makes even good work look careless. It also protects you in a demo: if the hardware fails on the day, the README still shows what the project does.
What if my project has no code — a hardware-only build?
The same structure works: one-liner, photo of the assembled prototype, parts list instead of a tech stack, assembly steps instead of install steps, and operating instructions instead of usage examples.
Should I include badges?
Small status badges (build passing, licence) are fine if they are real and current. Decorative badges that link nowhere, or a row of ten badges on a student project, add noise.
Can I use AI to write my README?
You can draft with it, but verify every step by following it yourself. An AI-written setup section that was never tested will contain a wrong command — and the person who follows it will blame the project, not the tool.
Limitations
A README cannot replace real documentation: wiring diagrams, API references and test procedures still need their own files. This guide covers the Markdown README on a GitHub-style repository; other platforms (GitLab, Bitbucket, a college portal) render Markdown slightly differently, so always preview on the platform you actually use. The setup-testing advice here assumes you have access to a second machine or a clean folder — if you only have one laptop, a fresh user account or a virtual machine works as the clean test.
Need help documenting your build?
If your project is ready but the write-up is holding up submission, message Projectech on WhatsApp with your project title, what it does, your tech stack and your deadline, and you will get a quotation stating the scope, price and delivery timeline. Chat on WhatsApp