Files

272 lines
20 KiB
Python

# -*- coding: utf-8 -*-
"""Curated ADDITIONS for our expanded wiki (GigaChad view: self-reliance, DIY,
strength, engineering, traditional knowledge). Kept as data so it's easy to
rework. Item shape: dict(type, text, note) ; type in {globe, youtube, folder, document, article, chadsquare}."""
def L(t, url, text, note=""):
return {"type": t, "href": url, "text": text, "note": note}
# NEW MAIN CATEGORY 1: 3D Printing & Fabrication
NEW_CATEGORY_3DPRINT = {
"slug": "3d-printing-and-fabrication",
"title": "3D Printing & Fabrication",
"bg": "/icons/home/matrix.png",
"blurb": "The new artisan-industrial revolution: print it, machine it, make it yourself.",
"sections": [
("Printers & Hardware", [
L("globe", "https://www.prusa3d.com/", "Prusa Research", "reliable, open-source workhorses; MK4 and XL."),
L("globe", "https://bambulab.com/", "Bambu Lab", "fast, appliance-grade printers that just work."),
L("globe", "https://vorondesign.com/", "Voron Design", "fully open-source, best-in-class CoreXY machines."),
L("globe", "https://www.ratrig.com/", "Rat Rig", "open-source CE3D / core-XY kit machines."),
L("globe", "https://www.creality.com/", "Creality", "budget workhorses (Ender series, the people's printers)."),
L("globe", "https://www.klipper3d.org/", "Klipper", "high-performance open-source firmware — print faster, tune precisely."),
L("globe", "https://marlinfw.org/", "Marlin", "the classic open-source firmware."),
L("globe", "https://octoprint.org/", "OctoPrint", "control and monitor your printer over the network."),
L("globe", "https://reprap.org/", "RepRap", "the original self-replicating-printer movement."),
L("globe", "https://ellis3dp.com/Print-Tuning-Guide/", "Ellis' Print Tuning Guide", "the definitive calibration bible."),
L("youtube", "https://www.youtube.com/@CNCKitchen", "CNC Kitchen", "engineering-focused strength and material tests of printed parts."),
L("globe", "https://teachingtechyt.github.io/calibration.html", "Teaching Tech", "structured calibration suite."),
]),
("Materials & Post-Processing", [
L("globe", "https://polymaker.com/", "Polymaker", "engineering filaments; PolyMax, ASA, carbon fiber."),
L("globe", "https://prusament.com/", "Prusament", "tight-tolerance filament straight from the source."),
L("globe", "https://www.esun3d.com/", "eSUN", "cheap, reliable PLA+ and PETG."),
L("globe", "https://all3dp.com/2/petg-vs-pla-vs-abs/", "All3DP: PLA vs PETG vs ABS", "which material for which job."),
L("globe", "https://blog.prusa3d.com/", "Prusa Filament Guide", "drying, storage, and properties."),
L("globe", "https://cnckitchen.com/blog/", "CNC Kitchen material blog", "real test data on printed part strength."),
L("globe", "https://help.prusa3d.com/materials/", "Filament drying temperatures", "community-maintained drying table."),
]),
("CAD & Design", [
L("globe", "https://www.freecad.org/", "FreeCAD", "free and open parametric CAD — the people's SOLIDWORKS."),
L("globe", "https://openscad.org/", "OpenSCAD", "programmatic, code-driven 3D CAD for engineers."),
L("globe", "https://www.onshape.com/", "Onshape", "free cloud CAD; version control built-in."),
L("globe", "https://www.autodesk.com/products/fusion-360/personal", "Fusion 360 (Personal)", "powerful CAM for machining, free for hobbyists."),
L("globe", "https://www.blender.org/", "Blender", "the free 3D suite for organic and mesh work."),
L("globe", "https://www.tinkercad.com/", "Tinkercad", "simple in-browser CAD to get started."),
]),
("DIY Firearms", [
L("globe", "https://www.reddit.com/r/fosscad/", "r/fosscad", "the community hub of 3D-printed firearms — design repos and print advice."),
L("globe", "https://www.ctrlpew.com/", "CTRL+Pew", "DIY 3D-printed firearms (reproduced from Chadnet)."),
L("globe", "https://hoffmantactical.com/", "Hoffman Tactical", "Super Lower line — robust printed AR lowers, files always free."),
L("globe", "https://www.deterrencedispensed.com/", "Deterrence Dispensed", "fosscad release repos and documentation."),
L("globe", "https://arewecoolyet.wtf/", "AWCY?", "community design collective (as weird as it is effective)."),
L("youtube", "https://www.youtube.com/@PrintShootRepeat", "Print Shoot Repeat", "printed-gun reviews, releases, and how-to."),
L("globe", "https://www.pewpewtactical.com/", "Pew Pew Tactical", "reviews, recipes, and 2A how-to guides."),
L("globe", "https://patriotgunbuilders.com/", "Patriot Gun Builders", "forum for printable Glock frames, AR lowers, and freedom."),
L("globe", "https://defcad.com/", "DefCad", "Defense Distributed's open firearm file repository."),
]),
("Workshop & Machining", [
L("globe", "https://www.industrialpress.com/", "Machinery's Handbook", "the machinist's bible — tolerances, threads, materials."),
L("youtube", "https://www.youtube.com/@ThisOldTony", "This Old Tony", "machining clarity, humor, and technique."),
L("youtube", "https://www.youtube.com/@mrpete222", "Mr. Pete (tubalcain)", "classic beginner machining lessons on the lathe and mill."),
L("globe", "https://www.practicalmachinist.com/", "Practical Machinist", "the machinist's forum — real answers from real shops."),
L("globe", "https://www.lathes.co.uk/", "Lathes UK", "everything there is to know about lathes."),
L("globe", "https://www.americanmachinist.com/", "American Machinist", "industry know-how and technique."),
]),
],
}
# NEW MAIN CATEGORY 2: Physical Culture
NEW_CATEGORY_FITNESS = {
"slug": "physical-culture",
"title": "Physical Culture",
"bg": "/icons/home/forest.jpg",
"blurb": "Strength is never weakness. Train like a man, eat like one, last like one.",
"sections": [
("Strength & Barbell", [
L("globe", "https://startingstrength.com/", "Starting Strength", "the barbell bible — squat, press, deadlift, done properly."),
L("globe", "https://stronglifts.com/", "StrongLifts 5x5", "simple, brutal, linear progression."),
L("globe", "https://www.tacticalbarbell.com/", "Tactical Barbell", "conditioning and strength for operators and working men."),
L("youtube", "https://www.youtube.com/@startingstrength", "Mark Rippetoe (Starting Strength)", "the most opinionated, correct voice in lifting."),
L("globe", "https://www.elitefts.com/", "EliteFTS", "powerlifting heritage and programming wisdom."),
]),
("Bodyweight & Calisthenics", [
L("globe", "https://www.reddit.com/r/bodyweightfitness/wiki/", "r/bodyweightfitness Recommended Routine", "train anywhere, no equipment, real strength."),
L("youtube", "https://www.youtube.com/@calimove", "Calisthenics Movement", "progressions from beginner to front lever."),
L("globe", "https://www.amazon.com/s?k=convict+conditioning", "Convict Conditioning", "progressive calisthenics you can do in a cell."),
]),
("Combat & Martial Arts", [
L("globe", "https://www.practicalshootingtraininggroup.com/", "Practical Shooting Training Group", "learn to shoot under pressure (reproduced from Chadnet)."),
L("youtube", "https://www.youtube.com/watch?v=6ojz56t-pbk", "Jack Dempsey — Championship Fighting", "explosive punching and aggressive defense."),
L("globe", "https://bjjfanatics.com/", "BJJ Fanatics", "grappling instructionals from world champions."),
L("globe", "https://www.muaythaiguy.com/", "Silverback Jeremy (Muay Thai)", "modern Muay Thai curriculum."),
]),
("Mobility & Resilience", [
L("youtube", "https://www.youtube.com/@Kneesovertoesguy", "Knees Over Toes Guy", "bulletproof your knees, hips, and back."),
L("globe", "https://www.thereadystate.com/", "Mobility WOD", "the old kelly starrett movement library."),
L("globe", "https://www.strongerbyscience.com/", "Stronger By Science", "evidence-based lifting and training research."),
]),
],
}
# EXPANSIONS appended to EXISTING top-level categories
EXPANSIONS = {
"computers-and-internet": [
("Self-Hosting", [
L("globe", "https://www.proxmox.com/", "Proxmox VE", "run your own virtualized servers at home."),
L("globe", "https://www.truenas.com/", "TrueNAS", "own your data; open-source NAS."),
L("globe", "https://www.home-assistant.io/", "Home Assistant", "local-first home automation."),
L("globe", "https://nextcloud.com/", "Nextcloud", "self-hosted Dropbox/Google Docs replacement."),
L("globe", "https://immich.app/", "Immich", "self-hosted photo library."),
L("globe", "https://gitea.com/", "Gitea", "self-hosted git forge."),
L("globe", "https://github.com/dani-garcia/vaultwarden", "Vaultwarden", "self-host your own password manager."),
L("globe", "https://tailscale.com/", "Tailscale", "zero-config VPN back into your own network."),
L("globe", "https://docs.docker.com/", "Docker", "containerize everything."),
L("globe", "https://github.com/awesome-selfhosted/awesome-selfhosted", "Awesome Self-Hosted", "the master list of self-hostable software."),
]),
("Operating Systems & Distros", [
L("globe", "https://archlinux.org/", "Arch Linux", "learn how your OS actually works."),
L("globe", "https://www.debian.org/", "Debian", "the universal, dependable base."),
L("globe", "https://www.freebsd.org/", "FreeBSD", "the most correct unix."),
L("globe", "https://www.openbsd.org/", "OpenBSD", "secure by default; the chad OS."),
L("globe", "https://nixos.org/", "NixOS", "reproducible, declarative configuration."),
L("globe", "https://www.qubes-os.org/", "Qubes OS", "compartmentalized security-focused desktop."),
]),
("Online Privacy Toolkit", [
L("globe", "https://privacyguides.org/", "Privacy Guides", "the modern, maintained how-to for digital privacy."),
L("globe", "https://mullvad.net/", "Mullvad", "the simplest, most trustworthy VPN."),
L("globe", "https://proton.me/", "Proton", "privacy-first email and drive."),
L("globe", "https://bitwarden.com/", "Bitwarden", "open-source password management."),
L("globe", "https://www.startpage.com/", "Startpage", "Google results without the tracking."),
]),
],
"practical-skills": [
("Metalworking & Machining", [
L("youtube", "https://www.youtube.com/@ThisOldTony", "This Old Tony", "clear, funny, correct machining."),
L("youtube", "https://www.youtube.com/@mrpete222", "Mr. Pete (tubalcain)", "the classic beginner lathe/mill lessons."),
L("globe", "https://www.practicalmachinist.com/", "Practical Machinist", "the machinist's forum."),
L("globe", "https://www.forging.org/", "Forging Industry Assoc", "into the world of forging."),
]),
("Blacksmithing & Forging", [
L("youtube", "https://www.youtube.com/@BlackBearForge", "Black Bear Forge", "beginner through advanced blacksmithing."),
L("youtube", "https://www.youtube.com/@AlecSteele", "Alec Steele", "high-end decorative and tool forging."),
L("globe", "https://www.iforgeiron.com/", "iForge Iron", "the blacksmith's forum."),
]),
("Automotive & Mechanics", [
L("youtube", "https://www.youtube.com/@ChrisFix", "ChrisFix", "DIY auto repair anyone can follow."),
L("youtube", "https://www.youtube.com/@ScannerDanner", "ScannerDanner", "real electrical diagnostics."),
L("globe", "https://www.reddit.com/r/MechanicAdvice/", "r/MechanicAdvice", "ask, get real answers."),
L("globe", "https://www.howacarworks.com/", "How A Car Works", "visual guide to how cars work."),
]),
("Gardening & Permaculture", [
L("globe", "https://permacultureprinciples.com/", "Permaculture Principles", "design with nature instead of against it."),
L("globe", "https://www.motherearthnews.com/", "Mother Earth News", "practical homesteading knowledge."),
L("globe", "https://www.reddit.com/r/gardening/", "r/gardening", "grow your own food."),
L("globe", "https://rexresearch.com/", "Rex Research", "weird and wonderful doable tech, free energy and more."),
]),
("Home Repair & Building", [
L("youtube", "https://www.youtube.com/@thisoldhouse", "This Old House", "fix and build your home right."),
L("globe", "https://www.familyhandyman.com/", "Family Handyman", "everyday repair know-how."),
]),
],
"health": [
("Eat Like a Man", [
L("globe", "https://www.strongerbyscience.com/", "Stronger By Science", "evidence-based nutrition, no cult."),
L("globe", "https://www.reddit.com/r/carnivore/", "r/carnivore", "the most chad of elimination diets."),
L("globe", "https://examine.com/", "Examine", "the nutrition reference manual."),
L("globe", "https://www.raypeat.com/", "Ray Peat", "metabolic health, bio-energetics (reproduced from Chadnet)."),
]),
("Sunlight, Sleep & Circadian", [
L("youtube", "https://www.youtube.com/@hubermanlab", "Huberman Lab", "science of sunlight, sleep, and physiology."),
L("globe", "https://www.hsph.harvard.edu/nutritionsource/vitamin-d/", "Harvard: Vitamin D", "why the sun matters."),
L("globe", "https://www.sleepfoundation.org/", "Sleep Foundation", "how to sleep like a healthy male."),
]),
],
"history": [
("War & Warriors", [
L("globe", "https://www.youtube.com/@theoperationsroom", "The Operations Room", "modern battles, drawn out step by step."),
L("globe", "https://www.youtube.com/@MilitaryHistoryVisualized", "Military History Visualized", "the reality of war without mythology."),
L("globe", "https://www.military-history.org/", "Military History", "magazine of military history."),
]),
],
"science": [
("Ballistics & Gunnery", [
L("globe", "https://www.pewpewtactical.com/", "Pew Pew Tactical — Ballistics", "understand what your rounds actually do."),
L("globe", "https://www.federalpremium.com/", "Federal Premium Ballistics", "manufacturer ballistics data."),
]),
],
}
# extra pages we create (about/theme/donate) get a light rewrite of content
ABOUT_EXTRA = None
# NEW MAIN CATEGORY 3: Homesteading & Off-Grid
NEW_CATEGORY_HOMESTEAD = {
"slug": "homesteading-and-off-grid",
"title": "Homesteading & Off-Grid",
"bg": "/icons/home/forest.jpg",
"blurb": "Produce, preserve, and provide for yourself: land, food, water, and power beyond the grid.",
"sections": [
("Food & Preservation", [
L("globe", "https://nchfp.uga.edu/", "National Center for Home Food Preservation", "the authoritative canning and preservation reference."),
L("globe", "https://www.motherearthnews.com/", "Mother Earth News", "practical homesteading, from soil to storage."),
L("globe", "https://www.reddit.com/r/Canning/", "r/Canning", "ask, learn, don't kill your family."),
L("globe", "https://www.reddit.com/r/fermentation/", "r/fermentation", "lacto-fermentation, kraut, and more."),
L("globe", "https://excaliburdehydrator.com/", "Dehydrating Guide", "dry and store food for the long haul."),
]),
("Water & Power", [
L("globe", "https://diysolarforum.com/", "DIY Solar Forum", "design and build your own solar + battery systems."),
L("globe", "https://www.batteryhookup.com/", "Battery Hookup", "surplus LiFePO4 cells for budget power walls."),
L("globe", "https://www.rainwaterharvesting.org/", "Rainwater Harvesting", "catch and use the water that falls on your roof."),
L("globe", "https://www.offgridweb.com/", "Off Grid World", "plans and know-how for self-sufficient energy & water."),
]),
("Livestock & Land", [
L("globe", "https://www.thehappychickencoop.com/", "The Happy Chicken Coop", "raise a backyard flock right."),
L("globe", "https://www.reddit.com/r/BackYardChickens/", "r/BackYardChickens", "the friendliest poultry community."),
L("globe", "https://www.dpi.nsw.gov.au/animals-and-livestock/beef-cattle", "First-Year Cattle", "basics of managing a small herd."),
L("globe", "https://www.sare.org/", "SARE", "sustainable agriculture research and education."),
]),
],
}
# NEW MAIN CATEGORY 4: Engineering & Radio
NEW_CATEGORY_ELECTRONICS = {
"slug": "engineering-and-radio",
"title": "Engineering & Radio",
"bg": "/icons/home/matrix.png",
"blurb": "Build the stuff under the hood: electronics, radio, embedded systems, and honest engineering.",
"sections": [
("Electronics & PCB", [
L("youtube", "https://www.youtube.com/@EEVblog", "EEVblog", "the granddaddy of practical electronics content."),
L("youtube", "https://www.youtube.com/@greatscottlab", "GreatScott!", "project-based electronics that actually work."),
L("globe", "https://www.allaboutcircuits.com/", "All About Circuits", "free, rigorous electronics textbook library."),
L("globe", "https://www.kicad.org/", "KiCad", "free and open EDA / PCB layout."),
L("globe", "https://www.eevblog.com/forum/", "EEVblog Forum", "ask anything, get real answers from engineers."),
]),
("Embedded & Microcontrollers", [
L("globe", "https://www.arduino.cc/", "Arduino", "the entry point to embedded hacking."),
L("globe", "https://www.espressif.com/", "Espressif (ESP32)", "cheap, capable WiFi/BLE SoCs for real projects."),
L("globe", "https://forums.adafruit.com/", "Adafruit Learn", "deep tutorials for sensors and displays."),
L("youtube", "https://www.youtube.com/@BenEater", "Ben Eater", "build a computer from first principles on breadboards."),
]),
("Ham Radio & Comms", [
L("globe", "https://www.arrl.org/", "ARRL", "the national association for amateur radio."),
L("globe", "https://hamstudy.org/", "HamStudy", "pass the exam, get licensed, get on the air."),
L("globe", "https://www.reddit.com/r/amateurradio/", "r/amateurradio", "the amateur radio community."),
L("globe", "https://www.sigidwiki.com/", "Signal Identification Wiki", "identify any signal you hear."),
]),
("Repair & Right-To-Repair", [
L("globe", "https://www.ifixit.com/", "iFixit", "repair manuals and the right-to-repair movement."),
L("youtube", "https://www.youtube.com/@LouisRossmann", "Louis Rossmann", "laptop repair, honesty, and fighting for repair rights."),
L("globe", "https://www.repaircafe.org/", "Repair Cafe", "fix things with your community."),
]),
],
}
# additional expansions to bolster content
EXPANSIONS["health"].append(
("Hormones & Longevity", [
L("globe", "https://www.precisionhealth.com/", "TRT Basics", "testosterone replacement therapy done sanely."),
L("youtube", "https://www.youtube.com/@peterattiadrive", "Peter Attia (The Drive)", "longevity, performance, and metabolic health."),
L("globe", "https://www.reddit.com/r/Testosterone/", "r/Testosterone", "real-world TRT experiences and labs."),
]),
)
EXPANSIONS["computers-and-internet"].append(
("Command Line & Sysadmin", [
L("globe", "https://linuxjourney.com/", "Linux Journey", "learn the Linux command line the right way."),
L("globe", "https://overthewire.org/", "OverTheWire (Bandit)", "learn shell skills through games."),
L("globe", "https://github.com/jlevy/the-art-of-command-line", "The Art of Command Line", "one page to master the terminal."),
]),
)