Most astrology MVPs start the same way: pick an ephemeris library or a WASM wrapper, get a chart on screen in a weekend, and look at the license only when the app is about to ship. That is the week the question becomes urgent.
This post is a checklist, not legal advice. Read the actual license text of whatever you use, and ask a lawyer if money depends on it.
1. Know which of three license families you are in
- Permissive (MIT, BSD, Apache 2.0). You can ship closed-source commercial code. Keep the notice files.
- Copyleft (GPL, AGPL). GPL obligations start when you distribute. AGPL adds a network clause: if users interact over a network with a modified version, which usually includes a program built on the library, you may have to offer them its full source. For a closed SaaS this is usually the deal-breaker.
- Dual license (AGPL or paid commercial). At least one widely used ephemeris library is offered this way: open under AGPL, or closed under a paid commercial license from the author. The commercial license is a real option; it just has to be bought before you ship, not after.
A wrapper has its own license, and so does the engine inside it. In practice the stricter one sets the terms. A permissive wrapper around an AGPL core is still an AGPL problem.
2. Data files count too
Ephemeris data files (the tables of positions) can carry their own terms, separate from the code. If your app downloads them to the browser or bundles them in a mobile build, you are distributing them. Check whether redistribution is allowed and whether attribution is required.
3. Where the code runs changes the question
- In the browser or in the app bundle: you distribute the library to every user. Distribution terms apply in full.
- On your own server: with permissive or commercial licenses, nothing is distributed. With AGPL, the network clause still applies.
- Someone else's hosted engine: you call an API and get numbers back. You do not ship their code, so meeting their library licenses is their obligation, not yours; your contract with them is what matters. Read their terms on caching, resale and attribution.
4. A decision tree that fits on one screen
- Is your product open source under a compatible license? Use the open library, keep the notices, publish your source.
- Closed source, and you want to own the math? Buy the commercial license from the library's author before launch, and budget for it.
- Closed source, and the math is not your product? Use a hosted engine and keep your effort on the interpretation, the design and the users.
5. Accuracy is part of the license decision
Whatever you choose, test it the way your users will: run a handful of charts with known birth data through your app and compare against an established calculator. Check the edge cases where apps disagree: unknown birth time, historical time zones, births near midnight or a sign boundary. The cheapest trust feature in this niche is to name the exact placement behind each reading, so a reader can check it.
Disclosure: I work on Esotier, which builds option 3: a hosted, server-side chart engine where the calculation is fixed software and the interpretation stays yours. What that looks like on your own design
This post was drafted with AI assistance and reviewed by a person. It is a checklist, not legal advice.

