Demo Look Ma, no tricky hooks, nice. import { m, mount} from "umai"; let counters = []; const...
Many backend developpers are reluctant at using Javascript. Needless to say, don't try to convince...
From MDN site PopOver API: The Popover API provides developers with a standard, consistent,...
Tau-Prolog is an implementation of Prolog in pure Javascript. Here is a basic example : // Create...
Simple Tau-Prolog let session = pl.create(1000); let program = ` parent(john, mary). ...
What a nice library. Here is a playlist showing many use cases : SwiperJS - Ecem Gokdogan And...
Awesome project, look by yourself here : CSnakes
Very nice intro to CSP : CSP Here is my score on quizz :-)
This is a pure signal implementation in Javascript, an improved version by ChatGPT and Blackbox from...
A very interesting site for minimalists :-) https://plainvanillaweb.com
I am envolved in project which use NextJS, I really don't apprehend it's complexity. If I was asked...
I have struggled to import pdf.js in my project. Here is what I have done to make it work : npm...
<!DOCTYPE html> <html lang="it"> <head> <meta charset="UTF-8"> ...
Here is a simple autocomplete using The French Government Design system. You can see a demo here...
Somtimes you need to trace Ajax call for debugging purpose. Steve Fenton expose a nice trick to do so...
Here is a simple example: using System.Collections.Concurrent; namespace SillageLogTracer { ...
/** @jsx m */ import { m, mount, redraw } from "umai"; // Utility function to debounce...
A very nice tutorial
Here is a nice way to open a modal in FastHTML and Hyperscript There is absolutely no...
Here is the solution proposed by Groq : import spacy from spacy import displacy from spacy.util...
from fasthtml.common import * import base64 app =...
# %% # %pip install pymupdf # %pip install frontend # %pip install tools # %% import pymupdf #...
Here is a simple script to accomplish this task : In your vitual environment run : pip install...
For reasonable size pdf files, this script can suffice: from fasthtml.common import * import...
Convert HTML to FT Here is the code from the example : from fasthtml.common import * app,rt =...
FastHTML: Everything you need to know about this modern web framework in pure Python
What a great video : 5 Levels Of Summarization: Novice to Expert
Here are some interesting sites about FastHTML : Coding Crash Course