instagram_stories

package module
v0.0.0-...-a9c3a70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

Instagram Stories Generator

Quick Start Guide

Compile
make
Run Server

By default, server will run in 0.0.0.0:8080, this can be customized by providing the --host and --port parameters.

./instagram-storires server
Create a Story

Send an HTTP POST request to the http://localhost:8080/api/v1/stories/ endpoint, you can do this manually using a tool like curl or via a webhook automation from IFTTT or some other automation tool, ie:

title="Come with me and you'll be, In a world of pure imagination, Take a look and you'll see, Into your imagination" \
curl -X POST http://localhost:8080/api/v1/stories/ -d \
"{\"title\": \"$title\", \"source\": \"Pure Imagination\", \"url\": \"https://www.youtube.com/watch?v=nKhGnRIlaro\"}" \
-H "Content-Type: application/json"

Images will be generated under $project/assets/stories/, ie: image info

Help
./instagram-stories --help
NAME:
  instagram-stories - instagram-stories

DESCRIPTION:


USAGE:
  instagram-stories [FLAGS] COMMAND [ARGS...]

COMMANDS:
  server, srv  starts instagram-stories server

FLAGS:
  --help, -h     show help
  --version, -v  print the version

VERSION:
  (dev)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func NewError

func NewError(code int, msg string) Error

func (Error) Error

func (e Error) Error() string

func (Error) Status

func (e Error) Status() int

Directories

Path Synopsis
cmd
internal
Package restapi Instagram Stories
Package restapi Instagram Stories

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳