jiobxn / bark-server

Backend of Bark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bark

Bark is an iOS App which allows you to push customed notifications to your iPhone.

Installation

For Docker User

Docker Automated build MicroBadger Size MicroBadger Layers

The docker image is already available, you can use the following command to run the bark server:

docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server

If you use the docker-compose tool, you can copy docker-copose.yaml under this project to any directory and run it:

mkdir bark-server && cd bark-server
curl -sL https://git.io/fhAsj > docker-compose.yaml
docker-compose up -d

For General User

  • 1、Download precompiled binaries from the releases page
  • 2、Add executable permissions to the bark-server binary: chmod +x bark-server
  • 3、Start bark-server: ./bark-server -l 0.0.0.0 -p 8080 -d ./bark-data
  • 4、Test the server: curl localhost:8080/ping

Note: Bark-server uses the /data directory to store data by default. Make sure that bark-server has permission to write to the /data directory, otherwise use the -d option to change the directory.

中文:

Contributing to bark-server

Development environment

This project requires at least the golang 1.12 version to compile and requires Go mod support.

  • Golang 1.13
  • GoLand 2018.3.4 or other Go IDE
  • Docker(Optional)

Update

The push certificate embedded in the program expires on 2020/01/30, please update the program after 2019/12/01

About

Backend of Bark


Languages

Language:Go 94.0%Language:Dockerfile 3.1%Language:Makefile 2.9%