Project

httpstate

0.0
The project is in a healthy, maintained state
HTTP State, httpstate.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
httpstate mascot

httpstate

The missing reactive layer for all your applications.

Create interactive experiences with a couple lines of code.

More at httpstate.com.

Quick Start (browser, node.js)

Install from CDN (Script Tag)

<script src="https://cdn.jsdelivr.net/npm/@httpstate/typescript/dist/index.global.js" type="text/javascript"></script>

or import from CDN (ES Module)

import httpstate from 'https://cdn.jsdelivr.net/npm/@httpstate/typescript@0.0.42/dist/index.esm.js';

or install from npm

npm install @httpstate/typescript

and then import

import * as httpstate from '@httpstate/typescript';

Pick any valid UUID v4. You can generate one here.

We'll use 45fb3654-0e92-44da-aa21-ca409c6bdab3 or 45fb36540e9244daaa21ca409c6bdab3 (works without dashes).

Store some data with

httpstate.set('45fb36540e9244daaa21ca409c6bdab3', 'Hi! 👋🏻');

and retrieve it with

const data = await httpstate.get('45fb36540e9244daaa21ca409c6bdab3');

You can also get realtime updates

import httpstate from '@httpstate/typescript';

const hs = httpstate('45fb36540e9244daaa21ca409c6bdab3');

hs.on('change', data => {
  console.log(`This will change everytime data is set [${data}].`);
});

That's it! 🐙

httpstate in your favorite language

JS Javascript / Typescript (typescript)

Browser and server (node.js, deno, bun) compatible clients.

npm install @httpstate/typescript

API and Docs

React React (react)

npm install @httpstate/react

Then useHttpState(uuid) as you would useState().

API and Docs

Go Go (go)

go get github.com/httpstate/httpstate/go

API and Docs

Java Java (java)

[...]

API and Docs

Python Python (python)

pip install httpstate

API and Docs

Ruby Ruby (ruby)

[...]

API and Docs

Rust Rust (rust)

cargo add httpstate

API and Docs


Learn

Community: [...]

Cookbook: [...]


About

Alex Morales, moralestapia.com

Copyright © Alex Morales, 2026

Contact

Comments, feature requests, etc. are welcome at inbox @ httpstate.com.

License

Unless otherwise stated in particular files or directories, this software is free software.

You can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See LICENSE for more information.