Skip to content

seacoastpartners/surfscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surfscreen

Rotating surf cam screensaver

About

The Surfscreen CLI launches a full-screen browser window that rotates between a list of surf cams. Put it on your extra monitor or idle TV to keep an eye on the surf.

Development

Get started contributing to Surfscreen's codebase.

Prerequisites

Configure the following prerequisites:

  1. Git (v2.x).

  2. Node.js (LTS).

  3. Surfline Premium.

Setup

Clone the repository and checkout a new branch:

git clone https://github.com/seacoastpartners/surfscreen.git
cd surfscreen
git checkout -b <"feature || bug || enhancement">/<"your-branch-name"

Install

Install npm dependencies:

npm install

Configuration

Create a .env file in the root directory with the following environment variables:

EMAIL=<your-surfline-email>
PASSWORD=<your-surfline-password>
ROTATION_PERIOD=<number-of-seconds-per-cam> # default: 60

Run

Run the development script:

npm run dev

Releases

No releases published

Packages

No packages published