Skip to content

Java bot for monitoring Shopify storefronts for changes. Create your own notification plugins using the WatchListener Interface. Use supplied plugins such as DiscordListener to send notifications to a Discord channel through webhooks.

License

Notifications You must be signed in to change notification settings

glangho/shopwatchj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShopWatchj

Java monitoring bot for Shopify. Create your own notification plugins using the WatchListener interface or use the supplied plugins.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The pom file contains all dependencies required to run. The bot relies on the Jackson and Unirest libraries below:

	<dependencies>
		<dependency>
			<groupId>com.mashape.unirest</groupId>
			<artifactId>unirest-java</artifactId>
			<version>1.4.9</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-core</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-annotations</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.module</groupId>
			<artifactId>jackson-module-parameter-names</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.datatype</groupId>
			<artifactId>jackson-datatype-jdk8</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.datatype</groupId>
			<artifactId>jackson-datatype-jsr310</artifactId>
			<version>2.9.7</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.dataformat</groupId>
			<artifactId>jackson-dataformat-xml</artifactId>
			<version>2.9.7</version>
		</dependency>
	</dependencies>

Installing

Simply build the binaries using mvn clean install. Distribution files will be created in the ../target directory

mvn clean install

Deployment

You must create a /resources/conf/properties.json file. Refer to the Wiki to create your own or rename one of the supplied example property files within the distribution.

Run the bot using java -jar option from command line or via shell script

java -jar shopwatchj.jar

Built With

  • Maven - Dependency Management

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details

About

Java bot for monitoring Shopify storefronts for changes. Create your own notification plugins using the WatchListener Interface. Use supplied plugins such as DiscordListener to send notifications to a Discord channel through webhooks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages