Supercharge HTMX with AI to Program a Website

  Рет қаралды 3,559

Bufferhead

Bufferhead

Күн бұрын

HTMX is a new javascript framework that uses HTML instead of JSON for data transmission. The HTML is rendered on the client and just inserted into the DOM. HTMX-AI is an Extension for HTMX that allows you to create AI generated webdesigns by just providing a prompt on the HTML Element.
You can see the demo website here: htmx-ai.buffer...
The Source Code of the HTMX-AI extension can be found on github: github.com/buf...
Most modern Frontend Web Applications use Frameworks like React, Vue or Svelte to render the Elements inside a DOM. They use structured JSON Data from a Server and render User Interfaces based on that data. HTMX uses a different approach by fetching already rendered HTML Code from the Server. HTMX only updates the DOM with the HTML sent by the Backend Server. The HMX-AI Extension now acts as a backend server and sends HTML over the wire but instead of using a templating engine, the server will use AI to generate the HTML Code. The AI is based on ChatGPT by OpenAI and uses prompt engineering with custom system and user prompts to get exactly the output that we need. The project is open source and all you need to do is add your own OpenAI key to the project to get started. Thankfully Microsoft provides free credits for startups so you can try out the demo.
Under the hood HTMX-AI uses the Framework Tailwind CSS to create beautiful webdesigns based on the provided prompt. It is easy to iterate the different versions of the webdesign by just letting AI regenerate the section based on the provided prompt.
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/a...
License code: XH6QVE0NQXQVZVYJ

Пікірлер: 10
@DarrenJohn10X
@DarrenJohn10X Жыл бұрын
Thanks, this got me finally diving into the OpenAI API rabbit hole!
@abhinavadarsh7150
@abhinavadarsh7150 Жыл бұрын
Nice 👏👏
@Eugtrader
@Eugtrader 10 ай бұрын
I like to use htmx, but I ran into a problem - when loading part of the page using htmx, which contains swiper, it stops working, but if I load the entire page, everything works fine. Can anyone tell me how to solve the problem?
@bufferhead_
@bufferhead_ 10 ай бұрын
If the swiper element is swapped out by HTMX you’ll probably need to initialize the swiper again because the reference to the element where the swiper was previously attached to changed (because HTMX updated the part and replaced it with new HTML Elements)
@Eugtrader
@Eugtrader 10 ай бұрын
Thank you
@calcs001
@calcs001 Жыл бұрын
Nice 😂
@vitusstockholm4984
@vitusstockholm4984 11 ай бұрын
Not mobile responsive ,dont forget to use it when prompting chat gpt. There is better tools to create website with 1 button click +ai. Even dont need prompts nowadays🎉
@3pm479
@3pm479 10 ай бұрын
what are they?
@qwoolrat
@qwoolrat Жыл бұрын
:/
@bufferhead_
@bufferhead_ Жыл бұрын
?
HTMX заменит Frontend?! WTF?
12:12
Как пройти в IT?
Рет қаралды 114 М.
Real-time Hypermedia - Delaney Gillilan
31:55
UtahJS
Рет қаралды 2,7 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Frontend Masters CEO Talks HTMX, Search, jQuery
26:09
ThePrimeTime
Рет қаралды 52 М.
Astro makes websites faster & easier to build
22:55
Kevin Powell
Рет қаралды 127 М.
I rewrote our entire product into htmx in a weekend
1:17:42
hypermedia-tv
Рет қаралды 7 М.
Jeremy McPeak's Larabits - HTMX May Be All You Need
15:22
Laracasts
Рет қаралды 12 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,7 МЛН
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 76 М.
The Easy Way to Design Top Tier Websites
11:54
Sajid
Рет қаралды 726 М.
8 AI Tools I Wish I Tried Sooner
16:10
Futurepedia
Рет қаралды 361 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН