URLFormJS
box-line-text
URLFormJS | box-line-text | |
---|---|---|
4 | 2 | |
21 | 453 | |
- | - | |
5.9 | 0.0 | |
10 months ago | about 3 years ago | |
JavaScript | HTML | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
URLFormJS
-
Show HN: Non.io, a Reddit-like platform Ive been working on for the last 4 years
I'm concerned about the `#` character in the URL.
# means fragment and that's kept local and not sent to the server unless client side Javascript sends it to the server. I would use an identifier that doesn't already mean something to the URL.
See https://github.com/Cyphrme/URLFormJS#query-parameters-fragme... (Also see https://github.com/Cyphrme/Path)
For an example where this is relevant: https://cyphr.me/ed25519_tool/ed.html#?msg_encoding=Text&msg...
And see https://www.rfc-editor.org/rfc/rfc3986#section-3.5
- URLFormJS: Create sticky forms, stateful applications, shareable links
-
How to store your app's entire state in the url
I wrote a library for storing application state in the URL. Its novel feature is using fragment query, which prevents the information from being sent to the server.
https://github.com/Cyphrme/URLFormJS
I would love to see it get more use.
Here's a small demo: https://cyphrme.github.io/URLFormJS/#?first_name=Bob&last_na...
See my other comment on this page for some other examples of its use.
box-line-text
-
How to store your app's entire state in the url
I did something similar in a simple whiteboarding app that I made a while back:
https://github.com/jncraton/box-line-text
The data representation could probably improve in terms of readability, but I'm happy with the way it provides a concise encoding while still including the text from the document directly:
https://box-line-text.netlify.app/#;c2121Hello;5321;c1341Hac...!
-
OurBoard – free and open source online whiteboard
This looks great. Thanks for sharing!
If folks are interested in this sort of thing, I also maintain an extremely minimalist open-source whiteboarding tool:
https://github.com/jncraton/box-line-text
What are some alternatives?
Path - A more robust URI naming scheme
u - μ is a JavaScript library for encoding/decoding state (JavaScript object) in URL
calculang - calculang is a language for calculations 🧮💬👩💻
t
nonio
excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams
CozeJS - Coze Javascript - cryptographic JSON messaging specification
xstate - Actor-based state management & orchestration for complex app logic.
ipfs - IPFS implementation in JavaScript
brotli-wasm - A reliable compressor and decompressor for Brotli, supporting node & browsers via wasm