termarium 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +25 -2
- package/README.md +34 -22
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -6,8 +6,9 @@ https://codeberg.org/astronexus/hyg
|
|
|
6
6
|
https://www.astronexus.com/projects/hyg
|
|
7
7
|
|
|
8
8
|
The HYG Database is licensed under Creative Commons Attribution-ShareAlike 4.0
|
|
9
|
-
International (CC BY-SA 4.0). The filtered file in this repository keeps
|
|
10
|
-
|
|
9
|
+
International (CC BY-SA 4.0). The filtered file in this repository keeps stars
|
|
10
|
+
needed by Termarium's default bright-sky catalog plus the HIP entries required
|
|
11
|
+
by the bundled Chinese sky-culture line catalog. It stores only these fields:
|
|
11
12
|
|
|
12
13
|
hip, proper, ra, dec, mag, ci, con
|
|
13
14
|
|
|
@@ -19,6 +20,28 @@ authoritative nomenclature catalog; it is a convenience index for the TUI.
|
|
|
19
20
|
Termarium code is licensed under MIT. The bundled star data remains licensed
|
|
20
21
|
under CC BY-SA 4.0.
|
|
21
22
|
|
|
23
|
+
Termarium also includes compact Chinese sky-culture figure and line data
|
|
24
|
+
converted from the Stellarium Chinese sky culture.
|
|
25
|
+
|
|
26
|
+
Source:
|
|
27
|
+
https://github.com/Stellarium/stellarium-skycultures/tree/master/chinese
|
|
28
|
+
|
|
29
|
+
The Stellarium Chinese sky culture data is licensed under Creative Commons
|
|
30
|
+
Attribution-ShareAlike. Termarium converts its HIP-number figure paths and
|
|
31
|
+
metadata into compact offline CSV files for the optional Chinese sky-culture
|
|
32
|
+
mode.
|
|
33
|
+
|
|
34
|
+
Termarium also includes compact Chinese star-name and figure-name search
|
|
35
|
+
metadata converted from Celestial Data by Diego Hernangomez.
|
|
36
|
+
|
|
37
|
+
Source:
|
|
38
|
+
https://github.com/dieghernan/celestial_data
|
|
39
|
+
|
|
40
|
+
Celestial Data is licensed under the BSD 3-Clause License. Its traditional
|
|
41
|
+
Chinese constellations and star names are derived from Stellarium skycultures;
|
|
42
|
+
Termarium uses them only as compact search names, pinyin, English labels, and
|
|
43
|
+
HIP mappings.
|
|
44
|
+
|
|
22
45
|
Termarium also includes a converted constellation-line catalog derived from
|
|
23
46
|
ConstellationLines by Marc van der Sluys / hemel.waarnemen.com.
|
|
24
47
|
|
package/README.md
CHANGED
|
@@ -26,15 +26,18 @@ Linux x64, and Windows x64.
|
|
|
26
26
|
- Full-screen terminal UI built with Rust, Ratatui, and Crossterm
|
|
27
27
|
- Real HYG v4.2 bright-star subset, bundled for offline use
|
|
28
28
|
- 88 western constellation figures from a bundled CC BY 4.0 line catalog
|
|
29
|
+
- Optional Chinese sky culture with 318 星官 / 二十八宿 figures and traditional Chinese star-name search
|
|
29
30
|
- Offline Messier deep-sky catalog derived from OpenNGC v20260501
|
|
30
31
|
- Time travel, city tour, alias-aware target search, constellation highlight, and tonight panel
|
|
31
32
|
- Crosshair pointer mode for selecting visible stars directly from the sky map
|
|
32
33
|
- Globe view with offline Blue Marble terrain colors, daylight shading, city labels, rotating preview, and horizon flip animation
|
|
34
|
+
- Optional horizon and bearing-oriented ground landscape modes
|
|
35
|
+
- Configurable sky orientation: observer view defaults to east on the left and west on the right, with a map-style option
|
|
33
36
|
- Offline low-precision Venus, Mars, Jupiter, and Saturn positions
|
|
34
37
|
- Sun altitude, daylight/twilight state, sunset, and next sunrise
|
|
35
38
|
- First-run city search on the globe, plus setup for custom coordinates and timezone
|
|
36
39
|
- RA/Dec to Alt/Az sky projection for the current observer and time
|
|
37
|
-
-
|
|
40
|
+
- Programmer-friendly selectable themes plus ASCII/Unicode character modes
|
|
38
41
|
- English by default, with in-app Chinese toggle
|
|
39
42
|
|
|
40
43
|
## Usage
|
|
@@ -48,28 +51,17 @@ termarium --lat 31.2304 --lon 121.4737 --name Shanghai
|
|
|
48
51
|
termarium --lat 31.2304 --lon 121.4737 --name Shanghai --lang zh
|
|
49
52
|
termarium --lat 31.2304 --lon 121.4737 --name Shanghai --tz Asia/Shanghai
|
|
50
53
|
termarium --theme aurora --charset unicode
|
|
54
|
+
termarium --theme tokyo-night
|
|
51
55
|
termarium --time 2026-05-07T14:00:00Z
|
|
52
56
|
```
|
|
53
57
|
|
|
54
58
|
Inside the TUI:
|
|
55
59
|
|
|
56
60
|
```text
|
|
57
|
-
q quit
|
|
58
|
-
Esc clear selected target; quit if nothing is selected
|
|
59
|
-
←/→ switch city preset
|
|
60
|
-
space pause / resume
|
|
61
|
-
[ / ] jump one hour
|
|
62
|
-
{ / } jump one day
|
|
63
|
-
r return to live sky
|
|
64
61
|
/ search sky targets
|
|
65
62
|
s setup location; type on the preset row to search city presets
|
|
66
|
-
x pointer mode; arrows move the crosshair, hover selects a star
|
|
67
63
|
g flip between sky and globe
|
|
68
|
-
Tab next visible constellation
|
|
69
|
-
S-Tab previous visible constellation
|
|
70
|
-
h toggle tonight panel
|
|
71
64
|
o settings panel
|
|
72
|
-
v city tour
|
|
73
65
|
? detailed help
|
|
74
66
|
```
|
|
75
67
|
|
|
@@ -81,10 +73,24 @@ saved unless you open setup from that preview and confirm it.
|
|
|
81
73
|
Quick toggles still work, but they are also available in the settings panel:
|
|
82
74
|
|
|
83
75
|
```text
|
|
76
|
+
q quit; exits constellation zoom first
|
|
77
|
+
Esc clear selected target; quit if nothing is selected
|
|
78
|
+
←/→ switch city preset; rotate longitude in globe view
|
|
79
|
+
↑/↓ adjust latitude in globe view
|
|
80
|
+
space pause / resume
|
|
81
|
+
[ / ] jump one hour
|
|
82
|
+
{ / } jump one day
|
|
83
|
+
r return to live sky
|
|
84
|
+
x pointer mode; arrows move the crosshair, hover selects a star
|
|
85
|
+
z zoom selected constellation
|
|
86
|
+
Tab next visible constellation
|
|
87
|
+
S-Tab previous visible constellation
|
|
88
|
+
h toggle tonight panel
|
|
89
|
+
v city tour
|
|
84
90
|
a toggle animations
|
|
85
91
|
p toggle planets
|
|
86
92
|
d toggle deep-sky objects
|
|
87
|
-
T
|
|
93
|
+
T open theme menu
|
|
88
94
|
u cycle charset
|
|
89
95
|
t toggle English / Chinese
|
|
90
96
|
m toggle moon panel
|
|
@@ -93,8 +99,12 @@ c toggle constellation lines
|
|
|
93
99
|
+ / - adjust limiting magnitude
|
|
94
100
|
```
|
|
95
101
|
|
|
102
|
+
Landscape mode, sky orientation, and western / Chinese sky culture are
|
|
103
|
+
available from the settings panel.
|
|
104
|
+
|
|
96
105
|
Search accepts proper names, curated aliases, HIP/HD-style identifiers, western
|
|
97
|
-
constellation names, Chinese
|
|
106
|
+
constellation names, Chinese sky-culture asterisms, traditional Chinese star
|
|
107
|
+
names, planets, and Messier objects.
|
|
98
108
|
For example, `Tau Ceti`, `τ Ceti`, `天仓五`, `HD 10700`, and `HIP 8102` all
|
|
99
109
|
select the same star.
|
|
100
110
|
|
|
@@ -107,13 +117,15 @@ matched city fills the location fields, then the usual save row applies it.
|
|
|
107
117
|
The application code is MIT licensed. The bundled star catalog is a filtered
|
|
108
118
|
subset derived from the HYG Database v4.2 and remains under CC BY-SA 4.0. The
|
|
109
119
|
constellation-line catalog is derived from Marc van der Sluys'
|
|
110
|
-
ConstellationLines data and remains under CC BY 4.0. The
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
120
|
+
ConstellationLines data and remains under CC BY 4.0. The Chinese sky-culture
|
|
121
|
+
figures are converted from Stellarium Chinese sky culture data under CC BY-SA,
|
|
122
|
+
with compact search metadata from Celestial Data under BSD-3-Clause. The
|
|
123
|
+
deep-sky catalog is derived from OpenNGC v20260501 and remains under CC BY-SA
|
|
124
|
+
4.0. See `NOTICE` for attribution. The bundled world coastline and land data is
|
|
125
|
+
derived from Natural Earth 1:110m public domain vector data, and the bundled
|
|
126
|
+
globe color texture is downsampled from NASA Blue Marble Next Generation July
|
|
127
|
+
2004 topography and bathymetry imagery. Planet and solar calculations are local
|
|
128
|
+
approximate algorithms based on NASA/JPL and NOAA public reference formulas.
|
|
117
129
|
|
|
118
130
|
## Development
|
|
119
131
|
|
package/package.json
CHANGED