Skip to content

Lightweight web app for AMSAT satellite predictions

Notifications You must be signed in to change notification settings

schrockwell/brahe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brahe!

…get me my potatofeng!

This Sinatra app downloads the latest AMSAT two-line Keplerian Elements, passing them to the orbit gem for calculation. The results are displayed via Reactrb components.

Installation

Using RVM:

# Install Ruby 2.3.0
rvm install 2.3.0

# Go into the root directory of the repo
cd brahe # rvm should automatically detect and create "brahe" gemset

# Install Bundler
gem install bundler --no-ri --no-rdoc

# Install required gems
bundle

# Start Sinatra
rackup

The page is live at http://localhost:9292/

API

/current

  • from=lat,lng,alt_m – optional; specify observation location to get current look angles (altitude optional, assumed zero if omitted)
  • ids=sat_id_1,sat_id_2,… – optional; only include certain sats (all sats returned if omitted)
  • paths=1 – optional; include ground tracks for each satellite (± 30 minutes)

/passes

  • from=lat,lng,alt_mrequired; observation location (altitude optional, assumed zero unless specified)
  • ids=sat_id_1,sat_id_2,…required; specify sats

About

Lightweight web app for AMSAT satellite predictions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages