URLFormJS
ipfs
URLFormJS | ipfs | |
---|---|---|
4 | 29 | |
21 | 7,434 | |
- | - | |
5.9 | 8.7 | |
10 months ago | 11 months ago | |
JavaScript | JavaScript | |
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.
ipfs
-
Amino – The Public IPFS DHT Is Getting a Facelift
I don't mind pinning, but back in the day I was having issues using IPFS to transfer small files between devices. I admit I haven't investigated to see if the problems were ever resolved.
I've been watching https://github.com/ipfs/helia which is going to replace https://github.com/ipfs/js-ipfs and hoping they can get an IPFS node working in the browser.
-
IPFS as traffic spike deterrent
I haven't tried https://js.ipfs.tech/ (js-ipfs) in a while, what is the state of it?
-
Activity Pub vs. Web Frameworks
On the topic of IPFS, but also slightly tangential -- how has nobody written an Activity Pub client/server in Javascript and distributed it as a Browser Addon?
If IPFS can be literally hosted via a Firefox Extension[1], how has nobody done the same for an arguably easier protocol like Activity Pub?
1: https://github.com/ipfs/js-ipfs
-
Opinion about an application built using IPFS
If you can load them up in js-ipfs that might be better?
-
How to store your app's entire state in the url
Store the content in ipfs and just put the hash in the URL? I haven't used https://github.com/ipfs/js-ipfs in this capacity but I'm under the impression that that's what it's supposed to do.
-
I wish I could "seed" a server like a torrent, has there been any work to make this possible?
js.ipfs.tech
-
Paying with Node.js
You need an import statement instead of require since Node has upgraded to the new module system. Use import * as IPFS from 'ipfs-core'. Read more here: https://github.com/ipfs/js-ipfs
-
Generating a CID on the frontend, and then passing the files to the backend to be pinned.
Please take a look at https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/FILES.md for more understanding
-
Public CDNs Are Useless and Dangerous
You could include js-ipfs[0] and fetch all your resources from IPFS without going through a gateway. However, this approach would make the site fully dependent on JavaScript.
A PWA with a Service Worker could perhaps implement its own client-side "gateway", translating public gateway URLs into direct IPFS access. Without the Service Worker (or without JS) it would fall back to using the gateway.
[0] https://js.ipfs.io/
-
IPFS-GATEWAY.CLOUD IPFS GATEWAY for Decentralized Internet
Of course,You can try it out. You can create some Hash to IPFS from this link Adding data to IPFS https://js.ipfs.io/ and then browse the hash in https://ipfs-gateway.cloud/ It is directly connected to IPFS Node.
What are some alternatives?
Path - A more robust URI naming scheme
webtorrent - ⚡️ Streaming torrent client for the web
calculang - calculang is a language for calculations 🧮💬👩💻
dat - :floppy_disk: peer-to-peer sharing & live syncronization of files via command line [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
nonio
kad
u - μ is a JavaScript library for encoding/decoding state (JavaScript object) in URL
speed-test - Test your internet connection speed and ping using speedtest.net from the CLI
xstate - Actor-based state management & orchestration for complex app logic.
turf - A modular geospatial engine written in JavaScript and TypeScript
CozeJS - Coze Javascript - cryptographic JSON messaging specification
go-ipfs-api - The go interface to ipfs's HTTP API