frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Publican – an HTML-first static site generator for Node.js

https://publican.dev/
4•ceeb•20h ago
I'm Craig Buckler and Publican is my tiny, simple, fast, and free static site generator for Node.js.

I've used several SSGs including Jekyll, Metalsmith, and Eleventy. Why build another? The main reason: personal preference. All SSGs have features that I need, features I don't need, and features they don't support. Publican implements just enough with flexibility to extend it using JavaScript.

Publican templates use JavaScript literal ${ expressions } so there's no weird syntax to learn. You can also use !{ expressions } to output partially-built pages for runtime use in Express.js or elsewhere. Features include:

- process any content: markdown, HTML, CSS, JavaScript, TXT, SVG, RSS, XML, etc.

- simple JavaScript configuration

- clean URL routing

- automated navigation, pagination, directory, and tag index pages

- built-in syntax highlighting

- virtual content and templates (passed as strings)

- extendable function hooks

- use whatever client-side framework you like (or none!)

- fast site build and file watch rebuild

- full documentation at https://publican.dev/docs/

- starter themes at https://publican.dev/themes/

You can install Publican using npm: https://www.npmjs.com/package/publican

The code is available at: https://github.com/craigbuckler/publican

Also available for Publican:

- https://publican.dev/livelocalhost/ - a hot-reloading development server

- https://publican.dev/staticsearch/ - a search engine for any static site

All feedback is appreciated!

The Untold Impact of Cancellation

https://pretty.direct/impact
1•cbeach•1m ago•1 comments

Build Privacy Tools, Go to Prison, Samourai Developers Change Pleas

https://www.sambent.com/build-privacy-tools-go-to-prison-samourai-developers-change-pleas/
1•cranberryturkey•1m ago•1 comments

Google rolls out Gemini Deep Think model that tests multiple ideas in parallel

https://techcrunch.com/2025/08/01/google-rolls-out-gemini-deep-think-ai-a-reasoning-model-that-tests-multiple-ideas-in-parallel/
2•thm•14m ago•0 comments

Google Agentspace is GA now

https://cloud.google.com/agentspace/docs/release-notes
1•Cockbrand•15m ago•0 comments

Navy demonstrates multi-day solar UAS flight

https://www.navair.navy.mil/news/Navy-demonstrates-multi-day-solar-UAS-flight/Tue-07292025-1554
2•bookofjoe•15m ago•0 comments

How did Facebook intercept competitor's encrypted mobile app traffic? (2014)

https://haxrob.net/onavo-facebook-ssl-mitm-technical-analysis/
2•taubek•19m ago•3 comments

Platformize It Building a Unified and Extensible Platform Framework [video]

https://www.youtube.com/watch?v=7sx7oV25zYc
1•kvaps•20m ago•1 comments

Detecting Virtual Thread Pinning in Java

https://blog.blockingqueue.com/detecting-virtual-thread-pinning-in-java
1•liviu31•22m ago•0 comments

AI Act: Today, the European Commission Approved the GPAI Code of Practice

https://www.nicfab.eu/en/posts/ai-act-eucom-approves-code-of-practice/
1•nicfab•23m ago•1 comments

Show HN: CodeSwissKnife Bar – Dev tools in your macOS menu bar (offline)

https://codeswissknife.com/codeswissknifebar.html
1•8mobile•23m ago•0 comments

Caught in the Game: On the History and Evolution of Web Browser Gaming

https://ar5iv.labs.arxiv.org/html/2304.14791
1•jicea•24m ago•0 comments

Show HN: Compress Image – Simple Lossless and Lossy Image Compression Tool

https://www.compressimagex.com/en
1•devxiyang•28m ago•0 comments

Full-body scans of 100k people could change medicine

https://www.theguardian.com/science/2025/jul/15/full-body-scans-uk-biobank-project-diseases-detected-and-treated
3•PaulHoule•30m ago•0 comments

JSON is not a subset of YAML

https://john-millikin.com/json-is-not-a-yaml-subset
2•fanf2•31m ago•0 comments

Belgium Bans Internet Archive's 'Open Library' in Site Blocking Order

https://torrentfreak.com/belgium-bans-internet-archives-open-library-in-sweeping-site-blocking-order/
4•gslin•32m ago•1 comments

Show HN: Square Images – Make Any Image a Perfect Square in One Click

https://www.squareimages.co/en
1•devxiyang•32m ago•1 comments

Terence Tao's NSF grants suspended

https://bsky.app/profile/dangaristo.bsky.social/post/3lvc7ldavhk2o
41•xqcgrek2•34m ago•9 comments

Evolution – Mental Model: AI-Voiding Extinction

https://read.perspectiveship.com/p/evolution
4•dmp0x7c5•37m ago•0 comments

Ask HN: Is there a way to see HN without all the posts about AI?

2•dotcoma•37m ago•2 comments

Ask HN: Startups, 0 Stability – Is It Time to Move on from Tech?

4•OulaX•40m ago•1 comments

SpaceX's Cellular Starlink Expands to Support IoT Devices

https://me.pcmag.com/en/networking/31452/spacexs-cellular-starlink-expands-to-support-iot-devices
1•teleforce•40m ago•0 comments

We Asked 100 AI Models to Write Code

https://www.veracode.com/blog/genai-code-security-report/
2•ygritte•40m ago•1 comments

Ask HN: Will AIs soon conclude that all humans are philosophical zombies?

1•amichail•40m ago•1 comments

Exploiting vulnerabilities in the Blink video doorbell

https://jacksondonaldson.com/blink
2•metricbead•43m ago•0 comments

Getting Tied Up

https://allenpike.com/2025/getting-tied-up-knots
1•furkansahin•45m ago•0 comments

Scientists Are Learning to Rewrite the Code of Life

https://www.nytimes.com/2025/07/31/science/dna-genetics-engineering-microbes.html
2•kjhughes•48m ago•1 comments

Gemini 2.5 Deep Think

https://twitter.com/GoogleDeepMind/status/1951239132950204439
2•tosh•50m ago•0 comments

Higgs Audio Text-to-Speech

https://huggingface.co/spaces/smola/higgs_audio_v2
1•markr1•50m ago•0 comments

The sorcerer's apprentice and the man who broke the market

https://bewaterltd.com/s/the-sorcerers-apprentice
1•mxschumacher•55m ago•0 comments

Contributing 128,000 lines of code

https://twitter.com/mazeincoding/status/1950325602956755435
2•rapnie•57m ago•0 comments