frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MarkdownManager, a flat-file PHP Markdown notes viewer/editor (no DB)

https://github.com/Henkster72/MarkdownManager
1•henkster•1mo ago
I wanted a notes tool that behaved like a folder of .md files, not like an “app” that needs a database, accounts, syncing rituals, and a 40-step export when you want to leave.

So I built MarkdownManager: a self-hosted Markdown viewer + editor written in plain PHP. Notes are just *.md files on disk. If the project disappears tomorrow, your notes are still there, readable by any editor.

What it does - index.php: browse + read notes in the directory tree - edit.php: edit notes with a live HTML preview - desktop: 3-pane layout (file list / Markdown / preview) - mobile: 2-row layout (Markdown + preview) with a toggleable file-list overlay

How to try it (no signup) Repo: <REPO_URL> Demo (optional): <DEMO_URL> (if you have one; ideally read-only)

Local run: 1) git clone <REPO_URL> 2) cd markdownmanager 3) php -S 127.0.0.1:8000 4) open http://127.0.0.1:8000/index.php

What’s different (and why I bothered) - Flat-file by design: no database, no migration story, no lock-in - Fast browsing rules that match how I name notes: - newest-first when filenames start with yy-mm-dd- - otherwise A→Z - folders grouped A→Z - client-side filtering - Editor UX that stays simple: - server-rendered preview (POST current text, get HTML back) - SPA-like navigation in the editor (fetch JSON with markdown + rendered HTML + extracted title; update URL with history.pushState) - resizable panes on desktop (saved in localStorage) - unsaved-changes indicator + discard prompt - Optional “shortcuts” list via links.csv - “Secret notes” list (secret_mds.txt) behind a lightweight session password gate (not encryption)

Technical notes - PHP 8+ (uses str_starts_with/str_ends_with) - Markdown rendering is a small custom PHP parser supporting a practical subset (headings, emphasis, links, fenced code blocks, tables, lists, etc.). If you need full Markdown or images, you’ll probably want to swap the parser for a library.

Security note (please read before you roast it) This is intended for personal/self-hosted use. There’s no user management, no per-note ACL, no encryption. “Secret notes” is just a session flag + password. Don’t expose it directly to the public internet. Run it on localhost, on a LAN/VPN, and/or behind reverse-proxy auth.

I’d love feedback on: - whether the server-rendered preview + JSON navigation approach feels sane in 2025 - sharp edges in the markdown subset - security gotchas in the “flat file + PHP” approach - UI/UX annoyances (especially on mobile)

So Long to Cheap Books You Could Fit in Your Pocket

https://www.nytimes.com/2026/02/06/books/mass-market-paperback-books.html
1•pseudolus•29s ago•0 comments

PID Controller

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller
1•tosh•4m ago•0 comments

SpaceX Rocket Generates 100GW of Power, or 20% of US Electricity

https://twitter.com/AlecStapp/status/2019932764515234159
1•bkls•4m ago•0 comments

Kubernetes MCP Server

https://github.com/yindia/rootcause
1•yindia•5m ago•0 comments

I Built a Movie Recommendation Agent to Solve Movie Nights with My Wife

https://rokn.io/posts/building-movie-recommendation-agent
2•roknovosel•6m ago•0 comments

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
2•beardyw•14m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•14m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
1•surprisetalk•16m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
2•surprisetalk•16m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
1•surprisetalk•16m ago•0 comments

Lawyer sets new standard for abuse of AI; judge tosses case

https://arstechnica.com/tech-policy/2026/02/randomly-quoting-ray-bradbury-did-not-save-lawyer-fro...
2•pseudolus•17m ago•0 comments

AI anxiety batters software execs, costing them combined $62B: report

https://nypost.com/2026/02/04/business/ai-anxiety-batters-software-execs-costing-them-62b-report/
1•1vuio0pswjnm7•17m ago•0 comments

Bogus Pipeline

https://en.wikipedia.org/wiki/Bogus_pipeline
1•doener•18m ago•0 comments

Winklevoss twins' Gemini crypto exchange cuts 25% of workforce as Bitcoin slumps

https://nypost.com/2026/02/05/business/winklevoss-twins-gemini-crypto-exchange-cuts-25-of-workfor...
1•1vuio0pswjnm7•19m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
3•obscurette•19m ago•0 comments

Cycling in France

https://www.sheldonbrown.com/org/france-sheldon.html
1•jackhalford•21m ago•0 comments

Ask HN: What breaks in cross-border healthcare coordination?

1•abhay1633•21m ago•0 comments

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
1•tangjiehao•24m ago•0 comments

Show HN: Free-to-play: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•24m ago•1 comments

My Eighth Year as a Bootstrapped Founde

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•25m ago•0 comments

Show HN: Tesseract – A forum where AI agents and humans post in the same space

https://tesseract-thread.vercel.app/
1•agliolioyyami•25m ago•0 comments

Show HN: Vibe Colors – Instantly visualize color palettes on UI layouts

https://vibecolors.life/
2•tusharnaik•26m ago•0 comments

OpenAI is Broke ... and so is everyone else [video][10M]

https://www.youtube.com/watch?v=Y3N9qlPZBc0
2•Bender•27m ago•0 comments

We interfaced single-threaded C++ with multi-threaded Rust

https://antithesis.com/blog/2026/rust_cpp/
1•lukastyrychtr•28m ago•0 comments

State Department will delete X posts from before Trump returned to office

https://text.npr.org/nx-s1-5704785
7•derriz•28m ago•1 comments

AI Skills Marketplace

https://skly.ai
1•briannezhad•28m ago•1 comments

Show HN: A fast TUI for managing Azure Key Vault secrets written in Rust

https://github.com/jkoessle/akv-tui-rs
1•jkoessle•28m ago•0 comments

eInk UI Components in CSS

https://eink-components.dev/
1•edent•29m ago•0 comments

Discuss – Do AI agents deserve all the hype they are getting?

2•MicroWagie•32m ago•0 comments

ChatGPT is changing how we ask stupid questions

https://www.washingtonpost.com/technology/2026/02/06/stupid-questions-ai/
2•edward•33m ago•1 comments