frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lho.sh my new Common Lisp+Htmx personal web for selling stock photos

https://lho.sh
1•magnusi•2h ago
Hey guys,

I am kind of an amateur at web development (I mostly did linux/embedded professionally), and wanted to do something fun and unique, so I made a website for selling my stock photos as a hobby photographer.

It is built in Common Lisp using Hunchentoot and HSX, very gently integrates it PayPal (this was by far the most painful thing), and uses HTMX to make switching pages smoother.

I am also implementing active search as we speak.

Developing things with Lisp and HTMX interactively was a breath of fresh air, I loved being able to keep around several versions of a function and swap them around at runtime without having to restart.

The fact that Lisp universally speaks s-expressions is also super handy, as I did not have to worry about formats.

(The photo metadata is just serialized to an s-expression, I don't think I will have too many of them to justify sqlite for that).

One thing I did because I am paranoid was adding type signatures everywhere, the serapeum library gives them a nice syntax:

(-> get-image-dimensions (string) (option (cons integer integer))) (defun get-image-dimensions (jpeg-path) "Get image dimensions using ImageMagick identify." (handler-case (let* ((full-path (format nil "files/photos/~A" jpeg-path)) (output (uiop:run-program (list "identify" "-format" "%wx%h" full-path) :output :string :ignore-error-status t))) (when output (let ((parts (split-sequence:split-sequence #\x (string-trim '(#\Space #\Newline) output)))) (when (= (length parts) 2) (cons (parse-integer (first parts)) (parse-integer (second parts))))))) (error () nil)))

All in all, it is a pretty small project, I started it on Friday and just put it live a few hours ago:

-------------------------------------------------------------------------------- Language Files Lines Blank Comment Code -------------------------------------------------------------------------------- Lisp 10 1338 179 14 1145 CSS 1 494 78 0 416 Bourne Shell 1 51 13 3 35 -------------------------------------------------------------------------------- Total 12 1883 270 17 1596 --------------------------------------------------------------------------------

The shell script just creates preview pictures for photos with my watermark.

I am here mostly to look for feedback because I don't like bloated webs, but I also would like to better at making my tiny web more usable :)

I think I am pretty clueless at UX/UI design, so I am glad for any advice, hahaha.

My plan is to clean the source code (I may have kinda been tempted to hardcode some secrets when I was losing my mind over PayPal) and make it opensource within the next few days.

Thanks guys for any feedback, Lukáš Hozda

X is amplifying far-right accounts

https://www.avclub.com/twitter-x-amplifying-right-wing-accounts
1•saubeidl•37s ago•0 comments

Show HN: Teda.dev – AI app builder that beats Lovable

https://teda.dev
1•ebenezerdon•1m ago•0 comments

Termix: Web-based server management platform with SSH terminal and tunneling

https://github.com/Termix-SSH/Termix
1•thunderbong•5m ago•0 comments

How Linux would continue without Linus Torvalds

https://www.heise.de/en/background/Missing-Link-How-Linux-would-continue-without-Linus-Torvalds-1...
1•doener•7m ago•0 comments

JavaScript – W3C Wiki

https://www.w3.org/wiki/JavaScript
1•thro1•11m ago•0 comments

Women are hiding their boyfriends online and there's more than one reason why

https://www.bbc.com/news/articles/c93x1q5395do
1•6stringmerc•12m ago•1 comments

Show HN: Nupst v5 –> Deno based shutdown tool protecting against power outage

https://code.foss.global/serve.zone/nupst
1•PhilKunz•14m ago•0 comments

They're not wolves – they're sheep

https://www.theguardian.com/books/2025/nov/08/paul-mullen-interview-psychiatrist-career-with-lone...
1•Gupie•15m ago•0 comments

Climate Service Srl

https://www.inclimateservice.com/
1•ICSjobs•15m ago•1 comments

Show HN: A simple TUI orgmode editor inspired by nano and k9s

https://github.com/RWejlgaard/org
1•RWejlgaard•20m ago•0 comments

There Has to Be a Better Way to Make Titanium

https://www.orcasciences.com/articles/there-has-to-be-a-better-way-to-make-titanium
1•Armic•26m ago•0 comments

AI favors texts written by other AIs, even when they're worse than human ones

https://cfenollosa.com/blog/ai-favors-texts-written-by-other-ais-even-when-theyre-worse-than-huma...
1•carlesfe•35m ago•0 comments

Ask HN: How would u setup a child's first Linux computer?

2•evolve2k•36m ago•3 comments

Strategies and Tools to make money on Polymarket

https://x.com/GreekGamblerPM/article/1987167717590249918
2•salkahfi•38m ago•0 comments

Show HN: SharpFocus – A Flowistry-inspired data flow analysis tool for C#

https://github.com/trrahul/SharpFocus
2•trrahul•45m ago•0 comments

Ask HN: Should there be a monthly Who is NOT hiring post

1•WhoIsNotHiring_•45m ago•0 comments

A HTTP User-Agent that claims to be Googlebot is now a bad idea

https://utcc.utoronto.ca/~cks/space/blog/web/GooglebotClaimsBadIdea
1•ingve•46m ago•0 comments

Colonial spider community sustained by chemoautotrophy

https://subtbiol.pensoft.net/article/162344
3•porkbrain•52m ago•0 comments

James Watson, dead at 97, was a scientific legend and a pariah among his peers

https://www.statnews.com/2025/11/07/james-watson-remembrance-from-dna-pioneer-to-pariah/
4•nabla9•57m ago•2 comments

Music collection metadata, lyrics and device sync

https://rewiring.bearblog.dev/music-collection-metadata-lyrics-and-device-sync/
1•Mossy9•57m ago•0 comments

The File Search Tool in Gemini API

https://blog.google/technology/developers/file-search-gemini-api/
1•redbell•1h ago•0 comments

Algo-Chip by ABA Games

https://abagames.itch.io/algo-chip
1•keyle•1h ago•0 comments

Evolving our understanding of trained immunity

https://elifesciences.org/articles/106029
2•XzetaU8•1h ago•0 comments

Preppers plan to save us if the whole internet collapses

https://www.newscientist.com/article/2500915-how-preppers-plan-to-save-us-if-the-whole-internet-c...
2•Brajeshwar•1h ago•0 comments

Ask HN: Any actual AI projects in production at bigcorp?

1•meetingthrower•1h ago•0 comments

Why Cebu Pacific's 459-Seat A330 Exists and Why Others Won't Copy It [video]

https://www.youtube.com/watch?v=c7A5-MIQYUM
1•nomilk•1h ago•0 comments

Baglama/Saz Song [video]

https://www.youtube.com/watch?v=o5JhNJQ5J78
1•marysminefnuf•1h ago•0 comments

LLMs let me maintain my PostgreSQL extension for PRQL after becoming a parent

1•kaspermarstal•1h ago•0 comments

Drawww – A drawing canvas for the web powered by WebAssembly

https://drawww.net
1•httptetsuo•1h ago•1 comments

I built a simple server monitoring dashboard

https://mapnitor.com/
1•arlindb•1h ago•1 comments