Skip to content

Application for generating social media posts automatically. In a smart way 🤓.

Notifications You must be signed in to change notification settings

murilobellatini/smart-poster

Repository files navigation

SmartPoster

Application for generating social media posts automatically. In a smart way 🤓.

Check out our experimental Instagram profile with auto-generated posts (image and caption).

Instagram Profile: 📸 the.wisdom.drops

Examples

image

Usage

usage: main.py [-h] -t THEMES -c POST_COUNT_PER_THEME

optional arguments:
    -h, --help      show this help message and exit
    -t THEMES, --themes THEMES
                    string of themes to generate the posts about; Enter multiple ones separated by comma `,`
    -c POST_COUNT_PER_THEME, --post_count_per_theme POST_COUNT_PER_THEME
                    amount of posts per theme

Note

Posts generated according configuration set in config.yaml file.

How to setup

Requirements

Packages

  • Python >= 3.8
  • pipenv

Environment variables

Required
  • UNSPLASH_ACCESS_KEY: Access key for Unsplash API
  • UNSPLASH_SECRET_KEY: Secret key for Unsplash API
  • GCP_KEY: Google Cloud key with Image Custom Search enabled
  • GCX: Google context
Not implemented yet (Facebook API)
  • FB_ACCESS_TOKEN: Token for interacting with Facebook Graph API (with basic privileges)
  • FB_ACCESS_TOKEN_SANDBOX: Token with advanced privileges for using Marketing API features
  • AD_ACCOUNT_ID: Account ID for interacting with Business Data

Note

Alternatively create .env file at root of repo for setting env vars.

Credentials

  • ./credentials/gcloud.json: Place here the json file for Google Cloud Service Account.

Step-by-step

  1. Setup env vars and credentials
  2. Install packages
cd <REPO_ROOT_PATH>
pipenv shell
pip install -r requirements.txt
  1. Run script from cli (check Usage above)

About

Application for generating social media posts automatically. In a smart way 🤓.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy