News for hackers. Stuff that matters.

ceeb

Show HN: StaticSearch – a simple search engine for static sites

https://github.com/craigbuckler/staticsearch

I'm Craig Buckler and StaticSearch is my simple client-side only search engine for any static site (such as those created by Publican - https://publican.dev/). An example can be seen on https://publican.dev/ - click the search icon or press Ctrl|Cmd + K.Static sites cannot easily provide search facilities because there's no back-end framework, language, or database...You can use...

( Read More... | no comments | 3 points | on HN )

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

https://publican.dev/

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...

( Read More... | no comments | 2 points | on HN )
Re: on Thursday October 31, 2024 @08:21AM (#42006127)
Node.js, Deno, and Bun offer native watch modes to restart applications when code is changed, but Nodemon is more configurable when you want to configure watched files.
Re: on Wednesday September 11, 2024 @05:39AM (#41509709)
All modern browsers now allow you to define a series of stop points for sophisticated animations which previously required JavaScript.
Re: on Tuesday August 27, 2024 @09:10AM (#41367138)
Why Media Queries can still be useful even when you've adopted intrinsic layout methods.
Re: on Tuesday June 06, 2023 @05:34AM (#36210293)
How to use linters, logs, environment variables, the V8 debugger, Chrome, and VS Code to find errors in your Node.js application.
Re: on Friday June 02, 2023 @05:48AM (#36163134)
A JavaScript Proxy sits between an object and the code that uses it. It can intercept interactions such as property updates to execute further code (metaprogramming).
Re: on Monday March 27, 2023 @07:45AM (#35325429)
Explains why asynchronous programming is necessary for JavaScript and the common coding errors that can catch you out.
Re: on Tuesday February 14, 2023 @10:01AM (#34790245)
Avoid performance bottlenecks using parallel processing threads to execute long-running JavaScript functions.
Re: on Tuesday December 20, 2022 @07:39AM (#34065031)
CSS is not usually the worst cause of woeful website performance, but you can make simple style optimizations to improve your site.
Re:Sinclair ZX Spectrum (bundled) basic programming book [pdf] on Wednesday November 16, 2022 @10:52AM (#33625137)
Fabulous book and a great introduction to programming in 1982. It put me on the road to a career in development.
Re: on Friday October 07, 2022 @12:32PM (#33123575)
Explains why apps need programmatic clipboard access, security implications, API detection, text handling, binary handling, and events.
Re: on Friday September 30, 2022 @10:52AM (#33035686)
Includes tips for configurable styling, handling form inputs, and binding HTML attributes to JavaScript properties.

Older »