Giter VIP home page Giter VIP logo

sobot's Introduction

- SOBOT - Automated Social Media Sharing Tool

Social media post sharing tool

Features

  • The application has a stable beta version. Errors that will occur will be on the selector codes.
  • For now it only has instagram and twitter support.
  • Saves screenshots for bug tracking
  • Username and password are used for first login only. Then it continues over the cookie.

Usage/Examples

package main

import (
    "github.com/canack/sobot/pkg"
)

func main(){
    // User creds
    username := "nickname"
    password := "secretpass123"

    // Post parameters
    file := "/home/user/Desktop/photo.jpg"
    comment := "Have a nice day!"

    // you can activate debugging with Share(true)
    // Sharing on Instagram
    sobot.Instagram(username, password).SetFile(file).SetCaption(comment).Share(true)
	
    // Sharing on Twitter
    sobot.Twitter(username, password).SetFile(file).SetCaption(comment).Share(true)
}

By default, Rod will disable the browser's UI to maximize the performance. But when developing an automation task we usually care more about the ease of debugging. Rod provides a lot of solutions to help you debug the code.

Let's create a ".rod" config file under the current working directory. The content is:

show


The automated operations are too fast for human eyes to catch, to debug them we usually enable the visual trace config, let's update the ".rod" file:

show
trace

Routemap

  • [+] Instagram support (currently stable-beta)

  • [+] Twitter support (currently stable-beta)

Contributors

sobot's People

Contributors

canack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.