Skip to content

marcmarine/swisseph-api

Repository files navigation

Swiss Ephemeris API

A didactic implementation example of the swisseph library in JavaScript for astronomical calculations.

Description

This project demonstrates how to integrate and use the Swiss Ephemeris library through a JavaScript API using Hono/Express.

Get Started

bun install
bun prepare:sweph
bun dev

Visit http://localhost:1234 to view the project.

Docker

Build the Docker image:

docker build --pull -t swisseph-api .

Run the container:

docker run -p 3000:3000 swisseph-api

License

This project uses the Swiss Ephemeris library, subject to AGPL-3.0.

Credits

Astrodienst AG for the original Swiss Ephemeris library.

timotejroiko for the JavaScript binding of Swiss Ephemeris.

This project was bootstrapped with Hono.

About

Swiss Ephemeris API for Node.js

Topics

Resources

License

Stars

Watchers

Forks