Jérôme Deuchnord
c39cd3aefa
fix: handle out of range date error
4 years ago
Jérôme Deuchnord
75eba4977c
fix: avoid returning ephemerides for yesterday or tomorrow
4 years ago
Jérôme Deuchnord
4ea148e8d1
feat: display a graph in the PDF output for the ephemerides
Show a graph instead of a table for the ephemerides in the PDF output
4 years ago
Jérôme Deuchnord
6618712030
refactor: simplify ephemerides, remove dead code
BREAKING CHANGE: the JSON format has deeply changed to enhance its
consistency
4 years ago
brain_face
b9454be459
feat: add support for relative dates on --date argument
4 years ago
Jérôme Deuchnord
b8d6ae2f51
feat: add support for occultations
4 years ago
Jérôme Deuchnord
5dec0dcc4c
feat: add support for environment variables
The observer's position and timezone can now be set using the following
environment variables:
- `KOSMORRO_LATITUDE`: the observer's latitude
- `KOSMORRO_LONGITUDE`: the observer's longitude
- `KOSMORRO_TIMEZONE`: the observer's timezone
4 years ago
Jérôme Deuchnord
c063f6e0f5
feat: add support for Moon conjunctions
4 years ago
Jérôme Deuchnord
c7bc7574df
fix(events): prevent false detection of conjunctions
4 years ago
Jérôme Deuchnord
32489ae355
feat: move the date to a single argument
BREAKING CHANGE: the --day, --month and --year arguments have been removed in the
favor of a single one.
4 years ago
Jérôme Deuchnord
87c1cdad9d
build: bump version 0.6.0
4 years ago
Jérôme Deuchnord
9dbc093631
feat: add support for maximal elongations of Mercury and Venus
4 years ago
Jérôme Deuchnord
d7730bd2ad
feat: add support for timezones
4 years ago
Jérôme Deuchnord
ebbcce5811
test: add tests to enhance coverage
4 years ago
Jérôme Deuchnord
2fadc2a95e
feat: add ability to save PDF file
You can now use the `--format=pdf` argument to save the data computed by
Kosmorro to a PDF file. The new `--output` argument must be given with
the export file path.
4 years ago
Jérôme Deuchnord
38fc06657f
feat: add colors in the text return
Colors can be disabled with the new `--no-colors` argument.
5 years ago
Jérôme Deuchnord
c4f07a1d64
feat(i18n): make the strings translatable
5 years ago
Jérôme Deuchnord
8d60a2ad99
feat(events): add support for conjunctions
5 years ago
Jérôme Deuchnord
4029ba9ec2
feat: rename fields in the JSON response for more coherence
BREAKING CHANGE: the fields "details" and "ephemerides" have been switched.
5 years ago
Jérôme Deuchnord
467c8227df
feat(ephemerides): compute ephemerides if the position is set only
BREAKING CHANGE: invoking kosmorro command without --latitude and
--longitude arguments will now only output the Moon phase and,
eventually, the events for the given date (or today if date not given).
5 years ago
Jérôme Deuchnord
fa2da9e4a9
feat(events): add support for opposition events
5 years ago
Jérôme Deuchnord
d7157466d9
fix(moonphase): fix the Moon phase prediction
5 years ago
Jérôme Deuchnord
6856d45643
feat(moon-phase): compute more accurate Moon phase
BREAKING CHANGE: JSON format now returns the moon phase as an object
instead of a string
5 years ago
Jérôme Deuchnord
82bdc7055b
fix: set times are now correct
5 years ago
Jérôme Deuchnord
a8dfe3bd11
Add unit tests, fix variable names
5 years ago