Skip to content

Commit 0503222

Browse files
committed
docs: add README banner, fix branch URL, site improvements
- README: add centered banner with Ubuntu/Bash/AGPL badges (do-manager style) - README + index.html: fix download URL main -> stable - README: fix --no-p10k-custom default off (was wrongly marked on) - index.html: add GitHub link in nav and footer - index.html: replace CIS stat with '60+ CLI flags' - index.html: add --no-p10k-custom to Zsh options group - index.html: move --steps/--no-emojis to new General options group
1 parent e6bbb85 commit 0503222

2 files changed

Lines changed: 27 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
<div align="center">
2+
13
# ubuntu-post-install
24

3-
A bash script that automates the setup of a fresh Ubuntu installation — system hardening, GNOME configuration, developer tooling, privacy settings, and optional third-party software.
5+
**A bash script that automates the setup of a fresh Ubuntu installation — system hardening, GNOME configuration, developer tooling, privacy settings, and optional third-party software.**
6+
7+
[![Ubuntu](https://img.shields.io/badge/Ubuntu-22.04%20%7C%2024.04-E95420?style=flat-square&logo=ubuntu&logoColor=white)](https://ubuntu.com)
8+
[![Shell](https://img.shields.io/badge/shell-bash-4EAA25?style=flat-square&logo=gnubash&logoColor=white)](ubuntu-post-install.sh)
9+
[![License](https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square)](LICENSE)
10+
11+
</div>
412

513
Designed for personal workstations and security-conscious desktops. Idempotent where possible: safe to run more than once, skips what is already done.
614

@@ -46,7 +54,7 @@ The script will not run as root directly. It calls `sudo` internally where neede
4654

4755
```bash
4856
# Download
49-
curl -O https://raw.githubusercontent.com/franckferman/ubuntu-post-install/main/ubuntu-post-install.sh
57+
curl -O https://raw.githubusercontent.com/franckferman/ubuntu-post-install/stable/ubuntu-post-install.sh
5058

5159
# Review before running (always a good idea)
5260
less ubuntu-post-install.sh
@@ -265,7 +273,7 @@ Both `--firefox-hardened-profiles` and `--firefox-relaxed-profiles` must be subs
265273
|------|---------|-------------|
266274
| `--zsh-plugins-profile` | `default` | Plugin set depth (see script internals) |
267275
| `--p10k-preset <p>` | `classic` | Powerlevel10k prompt preset |
268-
| `--no-p10k-custom` | on | Skip custom p10k segment overrides |
276+
| `--no-p10k-custom` | off | Skip custom p10k segment overrides |
269277
| `--p10k-segments` | off | Apply extended segment configuration |
270278

271279
Nerd Fonts (step 9) are required for Powerlevel10k glyphs to render correctly. If step 9 is skipped, use a pre-installed Nerd Font in your terminal emulator.

index.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,13 @@
606606
<a href="#options">Options</a>
607607
<a href="#examples">Examples</a>
608608
</nav>
609-
<a href="#quickstart" class="btn nav-cta">Get started →</a>
609+
<div style="display:flex;gap:.6rem;align-items:center">
610+
<a href="https://github.com/franckferman/ubuntu-post-install" target="_blank" rel="noopener" class="btn nav-cta" style="background:var(--bg3);color:var(--text);border:1px solid var(--border);display:flex;align-items:center;gap:.4rem">
611+
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.3 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61-.546-1.387-1.333-1.756-1.333-1.756-1.09-.745.083-.729.083-.729 1.205.084 1.84 1.237 1.84 1.237 1.07 1.834 2.807 1.304 3.492.997.108-.775.418-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.468-2.38 1.235-3.22-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.3 1.23a11.5 11.5 0 0 1 3.003-.404c1.02.005 2.047.138 3.003.404 2.29-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.91 1.235 3.22 0 4.61-2.807 5.625-5.479 5.92.43.372.823 1.102.823 2.222 0 1.606-.015 2.898-.015 3.293 0 .322.216.694.825.576C20.565 21.795 24 17.295 24 12c0-6.63-5.37-12-12-12z"/></svg>
612+
GitHub
613+
</a>
614+
<a href="#quickstart" class="btn nav-cta">Get started →</a>
615+
</div>
610616
</header>
611617

612618
<!-- HERO -->
@@ -665,7 +671,7 @@ <h1>
665671
<div class="stat"><div class="stat-num">20</div><div class="stat-label">Optional extras</div></div>
666672
<div class="stat"><div class="stat-num">7</div><div class="stat-label">Extras groups</div></div>
667673
<div class="stat"><div class="stat-num">3</div><div class="stat-label">Firewall engines</div></div>
668-
<div class="stat"><div class="stat-num">CIS</div><div class="stat-label">Benchmark aligned</div></div>
674+
<div class="stat"><div class="stat-num">60+</div><div class="stat-label">CLI flags</div></div>
669675
</div>
670676

671677
<!-- FEATURES -->
@@ -720,7 +726,7 @@ <h2 class="section-title">Up and running in one command.</h2>
720726
<div class="pre-wrap">
721727
<button class="copy-btn" onclick="copyCode(this)">copy</button>
722728
<pre><span style="color:var(--dim)"># Download</span>
723-
curl -O https://raw.githubusercontent.com/franckferman/ubuntu-post-install/main/ubuntu-post-install.sh
729+
curl -O https://raw.githubusercontent.com/franckferman/ubuntu-post-install/stable/ubuntu-post-install.sh
724730

725731
<span style="color:var(--dim)"># Run with defaults — dark theme, performance, all 15 steps</span>
726732
bash ubuntu-post-install.sh
@@ -941,8 +947,13 @@ <h2 class="section-title">Every default documented.<br>Every choice overridable.
941947
<div class="opt-group-head">🐚 Zsh</div>
942948
<div class="opt-row"><div class="opt-flag">--p10k-preset</div><div class="opt-desc">Powerlevel10k prompt preset</div></div>
943949
<div class="opt-row"><div class="opt-flag">--p10k-segments</div><div class="opt-desc">Apply extended segment config</div></div>
950+
<div class="opt-row"><div class="opt-flag">--no-p10k-custom</div><div class="opt-desc">Skip custom p10k segment overrides</div></div>
951+
</div>
952+
953+
<div class="opt-group">
954+
<div class="opt-group-head">⚙️ General</div>
944955
<div class="opt-row"><div class="opt-flag">--steps</div><div class="opt-desc">Run specific steps e.g. <code>1,3-7,15</code></div></div>
945-
<div class="opt-row"><div class="opt-flag">--no-emojis</div><div class="opt-desc">Plain text output symbols</div></div>
956+
<div class="opt-row"><div class="opt-flag">--no-emojis</div><div class="opt-desc">Plain text output (for CI / logging)</div></div>
946957
</div>
947958
</div>
948959
</div>
@@ -1044,7 +1055,7 @@ <h2>Ready to automate your setup?</h2>
10441055

10451056
<!-- FOOTER -->
10461057
<footer>
1047-
ubuntu-post-install v2.0.0 · <a href="https://github.com/franckferman" style="color:var(--dim)">Franck FERMAN</a> · 2026
1058+
ubuntu-post-install v2.0.0 · <a href="https://github.com/franckferman" style="color:var(--dim)">Franck FERMAN</a> · <a href="https://github.com/franckferman/ubuntu-post-install" style="color:var(--dim)">GitHub</a> · <a href="LICENSE" style="color:var(--dim)">AGPL-3.0</a> · 2026
10481059
</footer>
10491060

10501061
<script>

0 commit comments

Comments
 (0)