# everyday-birthday

![Docker Build Status](https://img.shields.io/docker/build/gecko655/everyday-birthday.svg)
![Docker Automated build](https://img.shields.io/docker/automated/gecko655/everyday-birthday.svg)

Launch balloons on the user page of Twitter by changing your birthday EVERYDAY.
Twitterの誕生日を毎日0時に変更して、毎日風船を飛ばすやつ

## System requirements
- Docker on Mac 18.09.2
  - Might work on other docker runtimes

Or

- node v11.13.0
  - Might work on other node versions

## Run on Docker (by cron)
```bash
curl https://raw.githubusercontent.com/gecko655/everyday-birthday/master/secrets.env.tpl -o secrets.env
docker pull gecko655/everyday-birthday
docker run --name everyday-birthday -d --env-file secrets.env gecko655/everyday-birthday
```

or

```bash
# clone this repository
cp secrets.env.tpl secrets.env
vi secrets.env
./build.sh
./run.sh
```

## Run on node (for one time)
```bash
cp secrets.env.tpl secrets.env
vi secrets.env
npm install
(export `cat secrets.env` && npm run index)
```

# everyday-birthday

![Docker Build Status](https://img.shields.io/docker/build/gecko655/everyday-birthday.svg)
![Docker Automated build](https://img.shields.io/docker/automated/gecko655/everyday-birthday.svg)

Launch balloons on the user page of Twitter by changing your birthday EVERYDAY.
Twitterの誕生日を毎日0時に変更して、毎日風船を飛ばすやつ

## System requirements
- Docker on Mac 18.09.2
  - Might work on other docker runtimes

Or

- node v12.2
  - Might work on other node versions

## Run on Docker (by cron)
```bash
curl https://raw.githubusercontent.com/gecko655/everyday-birthday/master/secrets.env.tpl -o secrets.env
docker pull gecko655/everyday-birthday
docker run --name everyday-birthday -d --env-file secrets.env gecko655/everyday-birthday
```

or

```bash
# clone this repository
cp secrets.env.tpl secrets.env
vi secrets.env
./build.sh
./run.sh
```

## Run on node (for one time)
```bash
cp secrets.env.tpl secrets.env
vi secrets.env
npm install
(export `cat secrets.env` && npm run index)
```

Change node version to v12
Change node version to v12
