Skip to content

ndkode/wwebjs-s3store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wwebjs-s3store

An S3 Store plugin for the whatsapp-web.js library!

Use S3 to save your WhatsApp MultiDevice session on a AWS S3.

Quick Links

Installation

The module is now available on npm! npm i wwebjs-s3store

Example usage

const { Client, RemoteAuth } = require('whatsapp-web.js');
const { S3Store } = require('wwebjs-s3store');
const { S3Client } = require("@aws-sdk/client-s3");

const client = new Client({
    authStrategy: new RemoteAuth({
        store: new S3Store({
            s3client: new S3Client({})
        }),
        backupSyncIntervalMs: 60000
    })
});

client.initialize();

About

An S3 store plugin for the whatsapp-web.js library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published