linkchain is global one-time storage for cross domain.
Easy, Simple, LightWeight(~1kB), and Fast.
You can use cross domain storage without any browser's storage (cookie, localStorage, etc...).
This is experimental project and beta version.
Do not commercial use.
Any problems are not my responsibility.
Server limit is too small.
<script async src="https://lc.araj.jp/lc.min.js"></script>
Use sdk script via cdn (in both domains)
<script async src="https://lc.araj.jp/lc.min.js"></script>
Set in https://my-host.com
<script>
linkchain = window.linkchain || {}
linkchain.ready = function (lc) {
lc.set({
myName: "araj-dev",
})
}
</script>
Get in https://external-host.com
<script>
linkchain = window.linkchain || {}
linkchain.ready = function (lc) {
console.log(lc.data)
// {myName: "araj-dev"}
}
</script>
linkchain server is hosted by araj-dev's vercel server. please contact araj-dev if you want to host your own server.
Create issue or PR
MIT License
In progress
- [] Use jwt / E2EE for security
- [] Enterprise plan
- [] Namespaced data
- [] More option for security
- [] Self-hosting option