A didactic implementation example of the swisseph library in JavaScript for astronomical calculations.
This project demonstrates how to integrate and use the Swiss Ephemeris library through a JavaScript API using Hono/Express.
bun install
bun prepare:sweph
bun dev
Visit http://localhost:1234 to view the project.
Build the Docker image:
docker build --pull -t swisseph-api .
Run the container:
docker run -p 3000:3000 swisseph-api
This project uses the Swiss Ephemeris library, subject to AGPL-3.0.
Astrodienst AG for the original Swiss Ephemeris library.
timotejroiko for the JavaScript binding of Swiss Ephemeris.
This project was bootstrapped with Hono.