Skip to content

chew-z/GoHoroscopeChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoHoroscopeChart

http server in Golang for visualizing horoscope data (radix, transit, houses, planetary cycles, etc.) with an astrology charts using splendid AstroChart.

It is using Swiss Ephemeris underneath wraped with swephgo. You will need compiled Swiss Ephemem library and ephemeris files on your server. Read here for instructions.

For CLI version check GoHoroscope.

Endpoints

  • /
  • /radix
  • /transit
  • /horoscope
  • /cycles

You can pass some parameters in a call like latitude and longitude, time as Unix milliseconds or time as string interpreted by go-httpdate ("1994-02-03T14:15" does not require encoding). Read handlers.go to figure out what you need.

Some other configuration is stored in .env file. Check .env.example

Screenshot

Horoscope