Skip to content

Automate posting messages on Wire / Wireapp web interface using selenium

Notifications You must be signed in to change notification settings

lk16/wireapp_web_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WireApp Web Bot

This package consists of two parts:

  • An API to control a WireApp account with selenium
  • A command line tool based on that API

Installation

# start geckodriver
geckodriver 2>&1 >> geckodriver.log &

# get this repository
go get github.com/lk16/wireapp_web_bot

# install command line tool (optional)
go install github.com/lk16/wireapp_web_bot/cmd/wireapp_web_bot

Usage: command line tool

# show help for all flags
wireapp_web_bot -h

# send message
echo "hello world" | wireapp_web_bot -user 'wireapp_user' -pass 'wireapp_password' -topic 'chat_topic' 2>>wireapp.log

# send while reading from file/pipe
cat myfile | wireapp_web_bot -user 'wireapp_user' -pass 'wireapp_password' -topic 'chat_topic' 2>>wireapp.log

Development details

TODO list:

  • use https://github.com/pkg/errors better
  • buffer posting messages for x seconds
  • implement config file
  • implement sending files
  • implement interaction with sent messages
  • write usage and other stuff in this file

Linter

gometalinter --enable-all --disable=goimports --disable=gofmt ./...

About

Automate posting messages on Wire / Wireapp web interface using selenium

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages