Skip to content
Backend of Bark
Branch: master
Clone or download
Latest commit c10aa55 Mar 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore refactor(server): refactor Mar 1, 2019
Dockerfile
Makefile chore(ci): fix docker build cache Mar 1, 2019
README.md
docker-compose.yaml
go.mod
go.sum refactor(server): refactor Mar 1, 2019
main.go
server.go feat(data): support custom bark server db path Mar 1, 2019
version

README.md

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 && cd bark
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.12
  • 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

You can’t perform that action at this time.