Skip to content

OmerMohideen/instagram-auto-post-maker

Repository files navigation

instagram-auto-post-maker

Create posts with qoutes using html and css as the base template

Installation

npm i instagram-auto-post-maker --save

Usage

import { create } from "instagram-auto-post-maker";

create({
  max_quote_words: 50,
  min_quote_words: 20,
  quote_generator_api: "https://programming-quotesapi.vercel.app/api/random",
  api_quote_key: "quote",
  api_series_key: "",
  api_character_key: "author",
  template_file: "./templates/example.html",
});

Options

instagram-auto-post-maker requires 10 options

  • max_quote_words - maximum amount of words quote should have (Defaults to 50)
  • min_quote_words - minimum amount of words quote should have (Defaults to 1)
  • quote_generator_api - api link to get random quotes
  • api_quote_key - quote key in api
  • api_series_key - movie/series/tvshow/anime key in api (Defaults to "")
  • api_character_key - character/author (person who says) key in api
  • template_file - template file path
  • custom_search - custom google search for image if we don't want a picture of the author as background set true if using and assign custom_search_keywords (Defaults to false)
  • custom_search_keywords - custom google search keywords (Defaults to "")
  • extra_google_search_keywords - extra keywords for searching a background for the author of quote (Defaults to "")

License

MIT License © 2023 Omer Mohideen

Releases

No releases published

Packages

No packages published