SSARCandy / slack-for-APOD

slack bot that post Astronomy Picture of the Day

Home Page:http://ssarcandy.tw/slack-for-APOD/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slack-for-APOD

Slack bot that post Astronomy Picture of the Day.

Usage

node index.js [lang]

Support language: see node-apod

Installation

  1. Clone it & install dependences
git clone https://github.com/SSARCandy/slack-for-APOD.git && cd slack-for-APOD
npm install
  1. setup config.js
cp config/config-template.js config/config.js

# Fillup HOOK_URL, NASA_API_KEY
vim config/config.js 
  1. Run it or use crontab
  • Run once, node index.js
  • Run with crontab, add 0 12 * * * node ~/slack-for-APOD/index.js to crontab. (post APOD everyday at noon)

Reference

About

slack bot that post Astronomy Picture of the Day

http://ssarcandy.tw/slack-for-APOD/

License:MIT License


Languages

Language:JavaScript 100.0%