Skip to content

upstash/upstash-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c728644 · Feb 25, 2025
Oct 13, 2023
Feb 17, 2025
Feb 25, 2025
Feb 25, 2025
Feb 20, 2025
May 18, 2022
Feb 17, 2025
May 31, 2023
Feb 15, 2024
Jan 31, 2024
Aug 21, 2024
Oct 13, 2023
Feb 17, 2025
Sep 10, 2024
Mar 19, 2024
Oct 4, 2024
Feb 17, 2025
Feb 17, 2025
Feb 17, 2025
Oct 13, 2023
Oct 31, 2024
Oct 13, 2023
Feb 17, 2025
Sep 11, 2024
Sep 11, 2024

Repository files navigation

Upstash

Blog Post Features


Note

<Note>You can use any Redis® client, but we recommend @upstash/redis</Note>

<Note type="info">
  You can use any Redis® client, but we recommend @upstash/redis
</Note>

<Note type="tip">
  You can use any Redis® client, but we recommend @upstash/redis
</Note>

<Note type="caution">
  You can use any Redis® client, but we recommend @upstash/redis
</Note>

<Note type="danger">
  You can use any Redis® client, but we recommend @upstash/redis
</Note>

<Note title="custom">
  You can use any Redis® client, but we recommend @upstash/redis
</Note>
<Note title="custom" danger>
  You can use any Redis® client, but we recommend @upstash/redis
</Note>

Code Block

```javascript title:"pages/api/hello.ts"
import type { NextRequest } from 'next/server';
import { Redis } from '@upstash/redis';
```

```javascript:pages/api/hello.ts showLineNumbers {5-8,12}
import type { NextRequest } from 'next/server';
import { Redis } from '@upstash/redis'
```

Announcing (Confetti)

---
slug: qstash-announcement
title: "qStash: Messaging for the Serverless"
author: enes
tags: [announce]
---

Snipsync

We use snipsync to synchronize snippets from other repos (like redis-examples) to the docs, so they are deduplicated. Snipsync runs automatically when you do yarn build

How to use:

Source files:

Use comments to identify code snippets and the locations where they should be merged. In the source repo, wrap the code snippets in comments with a unique snippet identifier like this:

// @@@SNIPSTART hellouniverse
func HelloUniverse() {
        fmt.Println("Hello Universe!")
}
// @@@SNIPEND

In the example above, "hellouniverse" is the unique identifier for the code snippet. Unique identifiers can contain letters, numbers, hyphens, and underscores.

Docs files:

In the target files wrap the location with comments that reference the identifier of the code snippet that will be placed there:

In the example above, the "hellouniverse" code snippet will be spliced between the comments. Any text inside of the placeholders will be replaced by the code snippet when the tool runs.