Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gdiggs/michael-scott
Generate an ical file for team work anniversaries and birthdays
https://github.com/gdiggs/michael-scott
Last synced: 7 days ago
JSON representation
Generate an ical file for team work anniversaries and birthdays
- Host: GitHub
- URL: https://github.com/gdiggs/michael-scott
- Owner: gdiggs
- License: mit
- Created: 2019-12-11T21:31:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T15:06:24.000Z (over 3 years ago)
- Last Synced: 2024-12-11T17:22:17.765Z (about 1 month ago)
- Language: Ruby
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Michael Scott
This ruby script will generate an [iCalendar](https://icalendar.org) file of team birthdays and work anniversaries, to be imported to your work calendar.
## Usage
First, fill out a `data.yml` file in the following format:
```yaml
anniversaries:
Jim Halpert: "1999-02-02"
Creed Bratton: "1969-07-04"
birthdays:
Dwight Schrute: "01-20"
Meredith Palmer: "05-12"
```Then, run the script `./run data.yml > team_events.ics` and import it into your calendar
## Docker Usage
This script can also be run as a Docker container. You can either build it yourself or pull it from Docker Hub. To build, run:
```
docker build --rm -t gordondiggs/michael-scott .
```And to run:
```
docker run -v "$PWD/data.yml":/tmp/data.yml gordondiggs/michael-scott /tmp/data.yml > team_events.ics
```