Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
HTTP based Redis Client for Serverless and Edge Functions
| Date | Stars |
|---|---|
| 2026-07-24 | 959 |
| 2026-07-25 | 959 |
| 2026-07-28 | 959 |
| 2026-07-30 | 959 |
| 2026-08-06 | 959 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
5.0
growth rate 0.00%/day
# Upstash Redis
`@upstash/redis` is an HTTP/REST based Redis client for typescript, built on top
of [Upstash REST API](https://docs.upstash.com/features/restapi).
[](https://github.com/upstash/upstash-redis/actions/workflows/tests.yaml)


> [!NOTE]
> **This project is in GA Stage.**
>
> The Upstash Professional Support fully covers this project. It receives regular updates, and bug fixes. The Upstash team is committed to maintaining and improving its functionality.
It is the only connectionless (HTTP based) Redis client and designed for:
- Serverless functions (AWS Lambda ...)
- Cloudflare Workers (see
[the example](https://github.com/upstash/upstash-redis/tree/main/examples/cloudflare-workers))
- Fastly Compute@Edge (see
[the example](https://github.com/upstash/upstash-redis/tree/main/examples/fastly))
- Next.js, Jamstack ...
- Client side web/mobile applications
- WebAssembly
- and other environments where HTTP is preferred over TCP.
See
[the list of APIs](https://upstash.com/docs/redis/overall/rediscompatibility)
supported.
> [!TIP]
> **Need a Redis database fast?** Skip the signup and dashboard — POST to [`https://upstash.com/start-redis`](https://upstash.com/start-redis) to get an endpoint and token in a single HTTP request. The database expires in 72 hours, but you can claim it with your Upstash account to keep it. Especially useful for AI agents that need scratch storage on the fly.
## Quick Start
### Install
#### Node.js
```bash
npm install @upstash/redis
```
#### Deno
```ts
import { Redis } from "https://esm.sh/@upstash/redis";
```
### Create database
Create a new redis database on [upstash](https://console.upstash.com/)
## Basic Usage:
```ts
import { Redis } from "@upstash/redis"
const redis = new Redis({
url: <UPSTASH_REDIS_REST_URL>,
token: <UPSTASH_REDIS_REST_TOKEN>,
})
// string
await redis.set('key', 'value');
let data = await redis.get('key');
console.log(data)
await redis.set('key3', 'value3', {ex: 1});
// sorted set
await redis.zadd('scores', { score: 1, member: 'team1' })
data = await redis.zrange('scores', 0, 100 )
console.log(data)
// list
await redis.lpush('elements', 'magnesium')
data = await redis.lrange('elements', 0, 100 )
console.log(data)
// hash
await redis.hset('people', {name: 'joe'})
data = await redis.hget('people', 'name' )
console.log(data)
// sets
await redis.sadd('animals', 'cat')
data = await redis.spop('animals', 1)
console.log(data)
```
## Troubleshooting
We have a
[dedicated page](https://docs.upstash.com/redis/sdks/javascriptsdk/troubleshooting)
for common problems. If you can't find a solution, please
[open an issue](https://github.com/upstash/upstash-redis/issues/new).
## Docs
See [the documentation](https://upstash.com/docs/redis/sdks/ts/overview) for
details.
## Resources
- [Examples](https://github.com/upstash/redis-js/tree/main/examples) — runnable usage examples across runtimes and frameworks
- [xadd](https://www.xadd.dev/) — engineering blog about Redis
- [Search Upstash Redis docs with AI](https://context7.com/websites/upstash_redis) — query the docs via Context7
## Release Workflow
### Stable Release
1. Create a changeset (`pnpm changeset`) describing your changes and merge it to `main`
2. **Changeset** workflow runs on push to `main`. If changesets are pending, it opens a "Version Packages" PR. When that PR is merged, the workflow runs again, publishes git tags, creates GitHub releases, and uploads a `release-meta` artifact
3. **Router** workflow detects the Changeset completion via `workflow_run`, downloads the `release-meta` artifact, and calls the **npm Publish** workflow with `prerelease: false` and the resolved version
4. **npm Publish** checks out the released commit, builds, and publishes to npm under tExcerpt of 5,372 characters
Read on GitHub145
145
51
36
Enes Akar · Upstash
26
11
Fahreddin Özcan · @Upstash · Turkey
7
Mehmet Dogan · @upstash · Turkey
6
5
Joscha Neske · @upstash · Germany
5
4
2
2
1
1
1
1
1
Aykut Kardas · @fal-ai
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:c4d2739b85800f2a, topic:serverless