> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lampac.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Storage: пользовательское хранилище

> Хранилище Sync и NWS: /storage/* и /backup.js.

Часть стека [Sync](/modules/sync). API: [api/sync](/api/sync).

## Состояние

Загружается, если не добавить `Storage` в SkipModules.

## Маршруты

| Метод  | Путь                  | Назначение     |
| ------ | --------------------- | -------------- |
| `GET`  | `/storage/get`        | Чтение         |
| `POST` | `/storage/set`        | Запись         |
| `GET`  | `/storage/temp/{key}` | Временный ключ |
| `GET`  | `/backup.js`          | Backup plugin  |

## Конфигурация

```json theme={null}
{
  "Storage": { "enableTemp": true }
}
```

<Note>Модуль безопасен для локальной сети; для удалённого доступа включите accsdb и HTTPS.</Note>

Проверка: `curl -fsS http://127.0.0.1:9118/storage/get`
