0.1.6 • Published 7 months ago

wispr-api v0.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

wispr-api

Description

Routine module designed for wispr Instagram bot. Uses supabase and instagram-private-api.

Wispr Routine

Populate all the available images from storage and published images database.
Filter out all elements found in both lists, pick one unpublished image.
Post this image to Insta feed+story, write filename to database.
Done.

Installation

npm install wispr-api

Requirements

  • Instagram username and password
  • Supabase project URL and key
  • A table containing at least id and name columns
  • A bucket containing all the PNG pictures to post

Environment Variables

  • IG_USER: Instagram Username
  • IG_PASS: Instagram Password
  • SUPA_URL: Supabase Project URL
  • SUPA_KEY: Supabase Key

Usage

First, import the module:

import wispr from 'wispr-api';

Create a config object and run the wispr function:

const supabaseConfig = {
  table: "wispr_published",
  column: "name",
  bucket: "wispr-seasonOne",
};
wispr(supabaseConfig);
0.1.6

7 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago