DrSensor / DrSensor/nusa

HTML over HTTP

Open
#29 4 comments 0 reactions 0 assignees View on GitHub
enhancement experimental navigation
Dominant language
JavaScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

> **Note**: all custom-element below only active when it's inside the viewport

**TL;DR**: HTMX but simplified with less features
```html

```
It only fetch&render when one of http method (i.e POST, GET, ...) exist as attributes or it's attribute value is not empty/undefined/falsy.

---
https://youtu.be/LLRig4s1_yA?t=1336
```html

```
```js
const

doc = document.implementation
.createHTMLDocument()

, server = new EventSource(
"stream/dbreport?format=html"
)

doc.write("")

target[host.getAttribute("always")](doc.firstChild.content)

server.onmessage = e => doc.write(e.data)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.