mtntop / isthemountainout

available via curl, powershell, or in a browser - The mountain is out!

Home Page:https://themtn.top

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Mountain is Out!

themtn.top CLI

A simple CLI to answer a simple - yet important - question: "Is the mountain out?"

How to use

Open up your favorite terminal and do one of the following:

Using curl

curl themtn.top
curl https://themtn.top

Using powershell

(Invoke-WebRequest -Uri themtn.top).Content
(Invoke-WebRequest -Uri https://themtn.top).Content

What Mountain?

If you're not from Seattle and don't know what I mean by Mountain, this is what I'm talking about!:

The Mountain is Out!

Mt. Rainier it all its glory!

As an API

While the requests are low, there's an open API endpoint available at /api:

(Invoke-WebRequest -Uri https://themtn.top/api).Content

gets you:

{
  "result":true,
  "image":"https://ismtrainierout.com/timelapse/2017_06_19/1550.jpg"
}

There's an even simpler version of the API at /api/simple that return status code 200 OK if it's out or 404 Not Found if it's not.

Current Usage

Here are a list of projects that currently use this API:

About

available via curl, powershell, or in a browser - The mountain is out!

https://themtn.top


Languages

Language:JavaScript 96.1%Language:HTML 2.6%Language:Shell 1.2%