Commit Graph
38 Commits
Author SHA1 Message Date
noether 7ea7652f36 content: restore GatGPT/JabFreeJobs links, fix Surveillance Report URL
Un-comment GatGPT (defense) and JabFreeJobs (job-boards) now that their
domains respond; fix the https://ttps:// typo'd Surveillance Report URL and
the 'the New Oil' capitalization (privacy).
2026-10-12 22:53:15 -06:00
noether 2d7c724a48 docs: README quick-start for fresh pulls (bootstrap, rebuild, serve-lan)
Top section now leads with the rebuild-after-pull workflow (public/ is never
in git) including make bootstrap/tool-versions and the error-127 hint; §2
recommends bootstrap over manual installs; §4 documents the new targets; §7
gains the pagefind/livereload-404 and command-not-found bullets; §8 lists
.tools/.
2026-10-12 22:53:14 -06:00
noether 8e8958274a fix: ship external-fix script + lychee JSON save so make external-fix works fresh
scripts/fix_dead_external_links.py was referenced by the Makefile but never
committed, and check_external_links.py did not yet save linkcheck/external.json
(both were working-tree only), so external-fix/external-fix-apply failed on
any fresh clone. The fixer is deliberately conservative: only DNS-failed /
connection-failed / host-unreachable links are auto-commented; .onion links
and ambiguous failures (404/5xx/SSL/refused) go to manual review.
2026-10-12 22:53:09 -06:00
noether f90e694c3e fix: set real baseURL/title so canonical/og/RSS URLs stop pointing at example.org
Every rendered page carried <link rel=canonical>, og:url and RSS <link> for
http://example.org/... and an empty <title>. Set baseURL to the actual site
(https://libertytools.io/) and title to 'Liberty Tools'; verified zero
example.org references in the rebuilt public/.
2026-10-12 22:53:09 -06:00
noether be9c92f6d2 build: pin toolchain via make bootstrap + tool-versions/preflight (repo-local .tools/)
Make targets now resolve a repo-local, gitignored .tools/bin (Hugo extended
0.167.0, Node 22.11.0, lychee 0.24.2) via a recipe-scoped PATH, so machines
with old/missing tools can no longer produce error-127 mysteries or version
drift. System PATH is never touched.

  make bootstrap     one-time idempotent install (sha256-verified Hugo)
  make tool-versions pinned vs PATH-first diagnostic table
  make preflight     strict check, wired ahead of build/serve/serve-lan
2026-10-12 22:53:03 -06:00
noether cfaab13e45 docs: rewrite README with architecture section + full make reference
The README now documents:
  - Architecture: the static build/serving model, the content -> public/
    -> pagefind/ data flow, the SCSS compile pipeline (why the Hugo
    extended build is required, SRI fingerprinting), where
    customizations live (_variables.scss table, search.html), the
    data-pagefind-body index-scoping mechanism, the #search CSS cascade
    trick, and the four Pagefind 1.5.2 quirks the UI works around
    (stretched form, no-op Enter, empty thumbnail, UA-yellow marks)
  - Every Makefile target with what it does and the gotchas (serve does
    not rebuild; serve-lan is plain static; build runs --gc)
  - Search usage incl. the new keyboard navigation, and a table of the
    current #search customization values
  - Dead-link automation (internal/external split, idempotent
    comment-out, daily cron job)
  - Troubleshooting for the new failure modes and a do-not-commit list
2026-10-11 09:00:07 -06:00
noether 19e6208a22 chore: untrack resources/_gen/ (regenerable Hugo asset cache)
These compiled-SCSS cache files were being versioned but are regenerated
on every build (each build produces new hash-named files and orphans the
old ones), so they churned the working tree on every commit. They are now
gitignored (see the .gitignore change in the build-tooling commit) and
untracked here. Nothing references them at runtime; Hugo rebuilds them
from book.scss as needed.
2026-10-11 08:59:51 -06:00
noether dd06c50374 theme: bump base font to 17px and widen the page + sidebar
Add site-level overrides to themes/hugo-book/assets/_variables.scss
(imported after _defaults.scss, so plain assignments override the theme):

  --font-size: 17px          base font up from the theme's 16px (all rem
                             sizes scale off it)
  $container-max-width: 100rem  content cap up from 80rem, so a 1920px
                             display no longer leaves ~310px dead gutters
                             on each side
  $menu-width: 18.75rem       sidebar (category list + search box + search
                             results pane) up from the 10rem theme default
                             so search results are readable
  $mobile-breakpoint          recomputed from the new values (it is derived
                             in _defaults.scss, so the override must redo
                             the arithmetic or the mobile collapse breaks)
2026-10-11 08:59:34 -06:00
noether 0d24df31ad search: replace Fuse.js with Pagefind (Default UI) + full UI polish
Remove the legacy Fuse.js search from html-head.html (it double-loaded
with the new Pagefind UI; backup kept at html-head.html.bkup) and add a
Pagefind Default-UI partial (search.html) injected into the sidebar via
menu.html.

Index scoping: tag the article element with data-pagefind-body in
baseof.html, term.html, and posts/{single,list}.html so Pagefind indexes
page content only (pages without the tag are skipped; 404.html stays
untagged).

search.html (all overrides #search-scoped, since pagefind-ui.css loads in
<body> after the head CSS):
  - compact input/magnifier/clear-button fitted to the sidebar; clear
    button uses fixed px (not %) because the results drawer is an in-flow
    child of the form, which stretches the form to results height
  - hide the empty .result-thumb placeholder (no images in the index) that
    was pushing result text ~90px right
  - restyle matched-term <mark> from UA yellow to subdued slate
  - keyboard navigation (Pagefind 1.5.2 has none; stock Enter is a silent
    no-op): capture-phase keydown implements ArrowUp/Down highlighting with
    wraparound across top-level hits AND their nested sub-results (each sub
    highlights its own .result-nested row), Enter opens the highlighted
    result (or the top result), and a fingerprint-aware MutationObserver
    keeps the highlight across Pagefind's async re-renders without
    resetting it on every DOM patch
2026-10-11 08:59:18 -06:00
noether 2d8f79b7fd build: replace ad-hoc run with a full make workflow + helper scripts
The old Makefile was a single 'run' target (hugo server + pagefind --serve).
Replace it with documented targets:

  build         hugo --gc -> public/
  index         build + pagefind --site public -> public/pagefind/
  serve / run   index + pagefind's own server on 127.0.0.1:1414 (local)
  serve-lan     static-serve public/ on 0.0.0.0:8090 for other machines
  link-check    offline internal-link scan (lychee --scheme file) -> JSON
  link-fix      comment out confirmed-dead internal links, then rebuild
  external-check network scan of external links (report-only)
  clean / all

Add scripts/:
  serve_lan.py            stdlib static server rooted at public/ (prints LAN IP)
  fix_dead_links.py       idempotent internal dead-link comment-out
  check_external_links.py external link report (drives the daily cron job)

.gitignore: add linkcheck/, resources/_gen/ (regenerable Hugo asset cache),
__pycache__/, and .hermes/.
2026-10-11 08:58:50 -06:00
noether 99b7546fd1 content: fix bare-domain and malformed links
Normalize four links that were missing an https:// scheme (defcad.com,
simplytranslate.org, airbtc.online) and one malformed double-paren
Affiliate Link target in self-hosting.md. Bare-domain hrefs render as
relative file paths and were being mis-read by the dead-link scanner.
2026-10-11 08:58:32 -06:00
jojo ce9810d09e added links to self host tab 2026-08-30 18:54:05 -06:00
jojo 0f0d7a2aec added links to self host tab 2026-08-28 15:50:15 -06:00
jojo b057e82f91 added links to self host tab 2026-08-28 15:45:32 -06:00
jojo bff1dc7849 added links to self host tab 2026-08-28 15:43:20 -06:00
jojo debf4bdbf1 modified cold card info added in 1 link for the health tab 2026-08-28 11:57:49 -06:00
surfninjas ae13223df0 removed build and index script. It doesnt do anything. 2026-07-16 20:01:49 -06:00
surfninjas c4ecd05262 Restore artwork images to all section pages
Commit 235d40d ("huge upgrade to theme and pagefind search bar")
accidentally removed the artwork image reference line from all 19
section markdown files. The image files in content/Images/Artwork/
were never deleted, but without the markdown references Hugo no
longer rendered them.

This restores the ![Horizpontal.jpeg](/Images/Artwork/<name>.jpg)
line to each file at its original position beneath the title banner,
affecting: osint, agorism, hacking, privacy, self-hosting, money,
affiliates, books, covid, deathathletes, defense, education,
frontends, health, job-boards, metrics, organizations,
political-tools, and social-media.
2026-07-16 19:59:48 -06:00
jojo 8013773c8d added 5 links on money, and health mostly 2026-05-23 14:56:14 -06:00
jojo d561b5ffe5 added 1 links 2026-05-23 12:32:12 -06:00
jojo 9b7594dae6 remove 2 links 2026-04-24 16:29:50 -06:00
jojo 34127c8bc6 remove zzzz 2026-04-24 16:19:36 -06:00
surfninjas bb5dad65bf readded hugo-book theme files. 2026-04-24 14:36:57 -06:00
surfninjas 52f57401dc added README and stopped tracking /public. 2026-04-18 01:33:09 -06:00
surfninjas 8a91c27ce9 testing out ssh key. 2026-04-18 01:11:35 -06:00
surfninjas 51d5d912d4 test push to see if username change worked. 2026-04-18 01:05:58 -06:00
surfninjas 596d49ed21 added lemon manuals, commented out gatgpt, added The Big Brother links. 2026-04-18 00:35:42 -06:00
surfninjas 235d40da0b huge upgrade to theme and pagefind search bar. 2026-04-17 13:28:48 -06:00
jojo a6a38f7ea7 Dumb Test MESSAGE2 2026-03-21 21:55:13 -06:00
jojo a8e097d6ea Dumb Test MESSAGE 2026-03-21 21:48:44 -06:00
jojo 203177fd85 JOSH'S AWESOME MESSAGE 2026-03-21 21:27:33 -06:00
surfninjas f43583c88c git pull test from dev to prod. 2026-03-16 23:29:46 +00:00
surfninjas bd8324fad5 pull test from dev to dirac. 2026-03-16 17:28:09 -06:00
tavrin_rust_dev 5e87d9a612 pull test from dev to dev. 2026-03-16 23:26:47 +00:00
surfninjas 89f6f2fe3a prod push test. 2026-03-16 23:24:22 +00:00
surfninjas 4aa92661f3 dirac hugo server test. 2026-03-16 17:20:07 -06:00
tavrin_rust_dev 31a40fe57c added dev test file. 2026-03-16 23:14:36 +00:00
surfninjas 5542e36ddc first commit. From prod. 2026-03-16 23:07:23 +00:00