ocearo-ui 2.1.2 → 2.1.4

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.
Files changed (99) hide show
  1. package/404.html +1 -1
  2. package/CHANGELOG.md +364 -0
  3. package/README.fr.md +28 -31
  4. package/README.md +28 -31
  5. package/__next.__PAGE__.txt +3 -3
  6. package/__next._full.txt +3 -3
  7. package/__next._tree.txt +2 -2
  8. package/_next/static/chunks/01ij-cuy61l35.js +1 -0
  9. package/_next/static/chunks/047e3x_ahxnrl.js +1 -0
  10. package/_next/static/chunks/0ath9h2eo-m4-.js +1 -0
  11. package/_next/static/chunks/0bxzs0khjn1uj.js +1 -0
  12. package/_next/static/chunks/0ejjon45nq_-h.js +9 -0
  13. package/_next/static/chunks/{1quvj-861o57h.js → 0kdc_niwgmx_8.js} +1 -1
  14. package/_next/static/chunks/{1bvrvkcwf3ge-.js → 0ngl63fz0a-bo.js} +1 -1
  15. package/_next/static/chunks/0ucob1nu_x8bl.js +1 -0
  16. package/_next/static/chunks/0wi5jop1ihbm6.js +2 -0
  17. package/_next/static/chunks/18e6nw0w7akkb.js +180 -0
  18. package/_next/static/chunks/18vlmqe7txbmt.js +1 -0
  19. package/_next/static/chunks/{3utjjgdhnlx86.js → 192c42s2wc7qe.js} +1 -1
  20. package/_next/static/chunks/1_twx50ejqan5.js +1 -0
  21. package/_next/static/chunks/1na56snuhu-pc.js +346 -0
  22. package/_next/static/chunks/1vchkqgn-xw-o.js +1 -0
  23. package/_next/static/chunks/20p1hr--2grl8.js +9 -0
  24. package/_next/static/chunks/2393lwi8kee3m.js +48 -0
  25. package/_next/static/chunks/25v2cwta2fy-7.js +393 -0
  26. package/_next/static/chunks/28wfa6j-9g_qc.js +1 -0
  27. package/_next/static/chunks/290k3k__vbum2.js +121 -0
  28. package/_next/static/chunks/2cecf_xnd_9em.js +1 -0
  29. package/_next/static/chunks/2die6btm3_mhq.js +1 -0
  30. package/_next/static/chunks/2hm43avzk8_jb.js +503 -0
  31. package/_next/static/chunks/2ijx7rln4jshb.css +3 -0
  32. package/_next/static/chunks/2q_bl16zedyyo.js +503 -0
  33. package/_next/static/chunks/2xntuu6mzh41s.js +1 -0
  34. package/_next/static/chunks/30p1dpgmonstj.js +1 -0
  35. package/_next/static/chunks/31p7nz0hfuym7.js +1 -0
  36. package/_next/static/chunks/{1e-w_-usen7fy.js → 34nhy77liurum.js} +2 -2
  37. package/_next/static/chunks/37g-wmrgbgd6h.js +739 -0
  38. package/_next/static/chunks/{18_i6mf6hb_c7.js → 395ffa6t18601.js} +1 -1
  39. package/_next/static/chunks/3bai186_bv3i_.js +1 -0
  40. package/_next/static/chunks/3h_m2s30sr9mt.js +430 -0
  41. package/_next/static/chunks/3j453-2u58qbv.js +1 -0
  42. package/_next/static/chunks/3k-r-4veivdjr.js +1 -0
  43. package/_next/static/chunks/3yz0mxxv4vrfg.js +1 -0
  44. package/_not-found/__next._full.txt +2 -2
  45. package/_not-found/__next._not-found.__PAGE__.txt +2 -2
  46. package/_not-found/__next._tree.txt +2 -2
  47. package/_not-found.html +1 -1
  48. package/_not-found.txt +2 -2
  49. package/boats/boats.json +11 -19
  50. package/boats/windsurf/assets/license.txt +6 -8
  51. package/boats/windsurf/assets/rider.glb +0 -0
  52. package/boats/wingfoil/assets/license.txt +9 -0
  53. package/boats/wingfoil/assets/rider.glb +0 -0
  54. package/guide/bathymetry.jpg +0 -0
  55. package/guide/weather.jpg +0 -0
  56. package/index.html +1 -1
  57. package/index.txt +3 -3
  58. package/package.json +27 -5
  59. package/settings/__next._full.txt +3 -3
  60. package/settings/__next._tree.txt +2 -2
  61. package/settings/__next.settings.__PAGE__.txt +3 -3
  62. package/settings.html +1 -1
  63. package/settings.txt +3 -3
  64. package/_next/static/chunks/0-19-ljntm5ig.js +0 -1
  65. package/_next/static/chunks/0-g-ujyrfgutp.js +0 -2
  66. package/_next/static/chunks/0-jqvc-r0kh0c.js +0 -1
  67. package/_next/static/chunks/05do10p9ldt1p.js +0 -409
  68. package/_next/static/chunks/0c91q-13wh8hk.js +0 -1
  69. package/_next/static/chunks/0fv1wwxeyagln.js +0 -446
  70. package/_next/static/chunks/0jucaltuccn03.js +0 -1
  71. package/_next/static/chunks/0m7wbuocx-b4_.js +0 -9
  72. package/_next/static/chunks/0o7hu-sypv2u9.js +0 -1
  73. package/_next/static/chunks/0ujzg6ofy2r73.js +0 -1
  74. package/_next/static/chunks/162bfkgcudvew.js +0 -9
  75. package/_next/static/chunks/1bo0ke8gjc1c2.js +0 -1
  76. package/_next/static/chunks/1do-2zwq3ws0f.js +0 -346
  77. package/_next/static/chunks/1ho2ekxa9io1_.js +0 -1
  78. package/_next/static/chunks/1m3-nchdgcxy1.css +0 -3
  79. package/_next/static/chunks/271ys-u920uqd.js +0 -564
  80. package/_next/static/chunks/2_iau6x7s0vil.js +0 -1131
  81. package/_next/static/chunks/2ab6q6u6uo_bf.js +0 -1
  82. package/_next/static/chunks/2pt-apz8_pa4j.js +0 -1
  83. package/_next/static/chunks/2rnpgrmuyhpkd.js +0 -119
  84. package/_next/static/chunks/2w71oj1brox5z.js +0 -1
  85. package/_next/static/chunks/3e5jmzthktu9w.js +0 -1
  86. package/_next/static/chunks/3r8nellt-dsed.js +0 -1
  87. package/_next/static/chunks/3wwn1rti8oc_r.js +0 -1
  88. package/_next/static/chunks/41odv061mfm6t.js +0 -1
  89. package/boats/optimist/Scene.jsx +0 -28
  90. package/boats/optimist/assets/license.txt +0 -11
  91. package/boats/optimist/assets/scene-transformed.glb +0 -0
  92. package/boats/sailboat/Scene.jsx +0 -21
  93. package/boats/sailboat/assets/license.txt +0 -10
  94. package/boats/sailboat/assets/scene-transformed.glb +0 -0
  95. package/boats/windsurf/Scene.jsx +0 -22
  96. package/boats/windsurf/assets/scene-transformed.glb +0 -0
  97. /package/_next/static/{m52l9mE01yTljNwbWjYQ7 → 0nycI4RUzRHiehQwdbDCp}/_buildManifest.js +0 -0
  98. /package/_next/static/{m52l9mE01yTljNwbWjYQ7 → 0nycI4RUzRHiehQwdbDCp}/_clientMiddlewareManifest.js +0 -0
  99. /package/_next/static/{m52l9mE01yTljNwbWjYQ7 → 0nycI4RUzRHiehQwdbDCp}/_ssgManifest.js +0 -0
package/README.fr.md CHANGED
@@ -1,22 +1,17 @@
1
- [![Licence](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](LICENSE)
1
+ [![Licence](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/LICENSE)
2
2
  [![npm](https://img.shields.io/npm/v/ocearo-ui.svg)](https://www.npmjs.com/package/ocearo-ui)
3
3
  [![Signal K](https://img.shields.io/badge/Signal%20K-webapp-0a7ea4.svg)](https://signalk.org)
4
4
  [![GitHub Issues](https://img.shields.io/github/issues/laborima/ocearo-ui.svg)](https://github.com/laborima/ocearo-ui/issues)
5
5
 
6
- [English 🇬🇧](README.md)
6
+ [English 🇬🇧](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/README.md)
7
7
 
8
- <p align="center">
9
- <picture>
10
- <source media="(prefers-color-scheme: dark)" srcset="docs/logo/ocearo-logo-dark.svg">
11
- <img src="docs/logo/ocearo-logo-light.svg" alt="Ocearo" width="360">
12
- </picture>
13
- </p>
8
+ ![Ocearo](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/logo/ocearo-logo-light.svg)
14
9
 
15
10
  # Ocearo UI
16
11
 
17
12
  **L’affichage de navigation open source pour Signal K.** Une image 3D claire et en temps réel du bateau, de la mer et du trafic autour — réglage des voiles, règles de barre, homme à la mer, veille au mouillage, bathymétrie et météo — dans une interface sobre inspirée de la visualisation de conduite Tesla. Il tourne comme webapp Signal K sur le serveur du bord (un Raspberry Pi suffit) et dans n’importe quel navigateur à bord : écran de table à cartes, tablette de cockpit ou téléphone.
18
13
 
19
- ![Sous spi à la sortie de La Rochelle : mer réaliste issue du vent réel, bandes de creux et penons, compas et marée](docs/screenshots/hero.jpg)
14
+ ![Sous spi à la sortie de La Rochelle : mer réaliste issue du vent réel, bandes de creux et penons, compas et marée](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/hero.jpg)
20
15
 
21
16
  > Toutes les images de cette page sont des captures de l’application, alimentée par des données réelles de La Rochelle du 4 octobre 2026 : vent Open-Meteo, marée, bathymétrie SHOM 20 m et trafic AIS scénarisé.
22
17
 
@@ -44,7 +39,7 @@
44
39
  ## Points forts
45
40
 
46
41
  - **Un bateau qu’on règle depuis l’écran.** Grand-voile, voiles d’avant et spi asymétrique dessinés d’après le vent (creux, vrillage, ris, changements de voile), avec bandes de creux, penons, chariot de grand-voile et chariots de foc à leur place.
47
- - **La mer autour de vous, de cinq façons.** Une mer réaliste construite à partir du vent réel (ou mesurée par une centrale inertielle), la carte en direct avec le balisage, le fond en 3D, la prévision de vent, ou un sol épuré façon FSD pour la régate — avec les bouées et balises en 3D et le vrai ciel de nuit.
42
+ - **La mer autour de vous, en couches.** Trois bases — une mer réaliste construite à partir du vent réel (ou mesurée par une centrale inertielle), une grille épurée façon FSD pour la régate, ou la carte 3D avec les fonds en relief — et des couches par-dessus : trafic AIS, prévision de vent et de courants, laylines, polaire, bouées et balises en 3D, et le vrai ciel de nuit. Cartes NOAA dans les eaux américaines, des fonds plus fins partout dans le monde.
48
43
  - **Un trafic lisible d’un coup d’œil.** Les cibles AIS dessinées selon leur type et leur taille réels, qui glissent entre deux messages, colorées selon qui doit manœuvrer d’après le RIPAM — avec la manœuvre à faire.
49
44
  - **La tactique.** Laylines vers le waypoint, isochrones tirées de vos polaires (où vous serez dans 5, 10 et 15 minutes), conseil VMG et bateau fantôme à la vitesse polaire.
50
45
  - **La sécurité d’abord.** Repère homme à la mer avec dérive estimée, veille au mouillage avec la vraie trace d’évitage, alerte de petits fonds selon votre tirant d’eau.
@@ -55,15 +50,17 @@
55
50
 
56
51
  ## La vue 3D
57
52
 
58
- Le cœur d’Ocearo est une scène 3D en direct centrée sur votre bateau. Un bouton fait défiler cinq représentations du monde autour.
53
+ Le cœur d’Ocearo est une scène 3D en direct centrée sur votre bateau. Un bouton choisit la base — la mer, une grille ou la carte 3D — et le menu des couches ajoute ce qu’il faut par-dessus : trafic AIS, vent, courants, laylines, polaire, bouées et balises.
59
54
 
60
55
  | | |
61
56
  |---|---|
62
- | ![Carte en direct avec balisage et AIS](docs/screenshots/chart.jpg) | ![Bathymétrie SHOM en grille de relevé](docs/screenshots/bathymetry.jpg) |
63
- | **Carte.** OpenStreetMap avec le balisage et les feux OpenSeaMap, à l’échelle de votre bateau et des cibles AIS. Utilise un fournisseur de cartes Signal K (MBTiles) s’il est installé. | **Bathymétrie.** Le fond en grille de relevé : relief exagéré, isobathes, sondes à la marée du moment, ligne de sondeur depuis la quille, et l’eau trop peu profonde pour votre tirant d’eau hachurée en orange. Relevés SHOM de 5 à 20 m sur les côtes françaises, relief mondial ailleurs. |
64
- | ![Calque de prévision de vent](docs/screenshots/weather.jpg) | ![Isochrones et laylines](docs/screenshots/polars.jpg) |
65
- | **Météo.** La prévision de vent à 48 h autour du bateau (Open-Meteo) aux couleurs de Windy, avec un curseur de temps. | **Polaires et laylines.** Où les polaires vous mettent dans 5, 10 et 15 minutes à chaque cap, les laylines vers le waypoint et la VMG à suivre. |
66
- | ![Ciel de nuit : la Lune, Mars, Jupiter, Procyon et Sirius au-dessus de l’entrée de La Rochelle, feux des bouées allumés](docs/screenshots/night-sky.jpg) | ![Bouées cardinales au crépuscule, feu allumé](docs/screenshots/seamarks.jpg) |
57
+ | ![Carte 3D : les fonds en relief, la carte par-dessus](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/bathymetry.jpg) | ![Courants : l’eau colorée par le courant, flèches façon traceur](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/currents.jpg) |
58
+ | **Carte 3D.** Les fonds en relief, colorés selon la profondeur, avec la carte en transparence par-dessus : isobathes, sondes à la marée du moment, ligne de sondeur depuis la quille, et l’eau trop peu profonde pour votre tirant d’eau hachurée en orange. Relevés SHOM de 5 à 20 m en France, EMODnet (~115 m) en Europe, grilles NOAA ailleurs (quelques mètres le long des côtes américaines). | **Courants.** L’eau, de la surface au fond, colorée par le courant (prévision Mercator via Open-Meteo, marée comprise) : claire à l’étale et sur les hauts-fonds, pleine couleur là où il porte. Des flèches façon traceur de cartes donnent la direction et la vitesse en nœuds, avec un liseré rouge quand il forcit et bleu quand il faiblit. |
59
+ | ![Prévision de vent en 3D : flèches avec la vitesse et la courbe sur 48 h](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/weather.jpg) | ![Isochrones et laylines](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/polars.jpg) |
60
+ | **Vent.** La prévision à 48 h autour du bateau (Open-Meteo) aux couleurs de Windy : l’air teinté par le vent, quelques traits et des flèches avec la force en nœuds. La barre de prévision a un curseur de temps et la courbe du vent et du courant au bateau sur les deux jours. | **Polaires et laylines.** Où les polaires vous mettent dans 5, 10 et 15 minutes à chaque cap, les laylines vers le waypoint et la VMG à suivre. |
61
+ | ![Carte marine NOAA sur les fonds aux Narrows, New York](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/chart.jpg) | ![Menu des couches, barre de prévision et cartes des coins](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/layers.jpg) |
62
+ | **Cartes.** Dans les eaux américaines, la carte marine officielle de la NOAA (sondes, bouées, feux, tirants d’air des ponts) ; ailleurs OpenStreetMap avec le balisage OpenSeaMap, ou vos propres MBTiles via un fournisseur de cartes Signal K. | **Couches et cartes des coins.** Le menu des couches active ou coupe l’AIS, le vent, les courants, les laylines, la polaire et le balisage sur n’importe quelle base. En plein écran, une carte dans chaque coin du bas — fond, vent, vitesse ou marée, changée d’un tap — avec ses 10 dernières minutes. |
63
+ | ![Ciel de nuit : la Lune, Mars, Jupiter, Procyon et Sirius au-dessus de l’entrée de La Rochelle, feux des bouées allumés](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/night-sky.jpg) | ![Bouées cardinales au crépuscule, feu allumé](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/seamarks.jpg) |
67
64
  | **Ciel de nuit.** Les 57 étoiles de navigation et la Polaire, Vénus, Mars, Jupiter, Saturne et la Lune avec sa phase, à leur vraie place d’après votre position et l’heure GPS (à quelques minutes d’arc près) ; les plus brillantes sont nommées. 2 novembre 2026, 2 h, au large de La Rochelle. | **Bouées et balises.** Cardinales, latérales, danger isolé, eaux saines et marques spéciales en 3D d’après OpenSeaMap, avec leurs couleurs, leur voyant et leur feu qui clignote à son vrai rythme la nuit, et les balises AIS reçues (les virtuelles en fantôme), aussi sur le radar. Téléchargées une fois, gardées hors-ligne ; désactivables. |
68
65
 
69
66
  La **mer** elle-même est générée à partir du vent réel : hauteur, longueur et direction d’une mer de vent côtière plus une houle, moutons à partir d’environ 7 nœuds, reflet du ciel et soleil à sa vraie place, et votre propre sillage qui suit la route réellement parcourue. Avec une centrale inertielle dans Signal K (par exemple [ocean-imu](https://github.com/bareboat-necessities/ocean-imu)), les vagues prennent la hauteur et la période mesurées, et le bateau roule, tangue et pilonne avec elles. Les voiles sont dessinées d’après le vent apparent avec leur réglage : bandes de creux avec la profondeur et la position du creux maximum, penons au guindant et à la chute, et chariots d’écoute sur leurs rails.
@@ -76,9 +73,9 @@ Bateaux : un racer de 10,8 m (par défaut), un catamaran de 14 m et des modèles
76
73
 
77
74
  | | |
78
75
  |---|---|
79
- | ![À nous de laisser passer un chalutier en pêche](docs/screenshots/colregs.jpg) | ![Un voilier bâbord amures doit s’écarter](docs/screenshots/standon.jpg) |
76
+ | ![À nous de laisser passer un chalutier en pêche](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/colregs.jpg) | ![Un voilier bâbord amures doit s’écarter](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/standon.jpg) |
80
77
  | **À nous de manœuvrer.** Un navire en pêche croise devant : d’après la règle 18, le voilier s’en écarte. Le bateau et le bandeau passent en rouge orangé, le conseil nomme la règle et le changement de cap (« Éviter : 15° sur bâbord »). | **À lui de manœuvrer.** Un voilier bâbord amures qui arrive par tribord doit s’écarter (règle 12) : il passe en violet avec la manœuvre attendue de lui. S’il n’agit pas, le conseil de la règle 17 b) apparaît. |
81
- | ![Trafic dense : ferry, cargo, chalutier, voiliers et catamaran, chacun avec son rôle](docs/screenshots/traffic.jpg) | ![Au moteur, un cargo sur tribord : règle 15, venir sur tribord](docs/screenshots/crossing.jpg) |
78
+ | ![Trafic dense : ferry, cargo, chalutier, voiliers et catamaran, chacun avec son rôle](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/traffic.jpg) | ![Au moteur, un cargo sur tribord : règle 15, venir sur tribord](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/crossing.jpg) |
82
79
  | **Trafic dense.** Chaque cible porte son rôle et sa règle : le ferry et le cargo doivent s’écarter d’un voilier sous voiles (18), le catamaran est au vent sur les mêmes amures (12 a-ii), le chalutier est prioritaire. Quand aucun changement de cap ne dégage tout le monde, le conseil le dit et propose de ralentir. | **Au moteur.** Moteur en route, le voilier est un navire à propulsion mécanique : un cargo sur tribord est prioritaire (règle 15). Le conseil passe sur son arrière (« Éviter : 75° sur tribord ») et la ligne pointillée marque le point de rapprochement maximal. |
83
80
 
84
81
  **Les règles appliquées par Ocearo**, d’après le statut AIS et le type de chaque cible, et d’après le nôtre (un voilier moteur en route est un navire à propulsion mécanique) :
@@ -102,10 +99,10 @@ Les couleurs ont partout le même sens : **rouge** — risque de collision et c
102
99
 
103
100
  | | |
104
101
  |---|---|
105
- | ![Homme à la mer](docs/screenshots/mob.jpg) | ![Veille au mouillage](docs/screenshots/anchor.jpg) |
102
+ | ![Homme à la mer](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/mob.jpg) | ![Veille au mouillage](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/anchor.jpg) |
106
103
  | **Homme à la mer.** Un bouton (ou toute notification MOB Signal K) déclenche l’alarme : point de chute, position estimée de la personne maintenant d’après courant et dérive, ligne de dérive, relèvement et distance à suivre. | **Veille au mouillage.** Rayon d’alarme et anneau de veille à 80 % centrés sur l’ancre, la ligne de mouillage, et la trace réellement décrite par le bateau : une renverse ou une ancre qui chasse se voient à sa forme bien avant l’alarme. Gardée par [ocearo-core](https://github.com/laborima/ocearo-core), elle survit à un rechargement. |
107
104
 
108
- ![Aide au port](docs/screenshots/parking.jpg)
105
+ ![Aide au port](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/parking.jpg)
109
106
 
110
107
  **Aide au port.** Choisissez la place (cul à quai, pointe avant, à couple, coffre) et suivez la trajectoire prévue avec le vent et le courant.
111
108
 
@@ -115,14 +112,14 @@ Les couleurs ont partout le même sens : **rouge** — risque de collision et c
115
112
 
116
113
  | | |
117
114
  |---|---|
118
- | ![Tableau de bord](docs/screenshots/dashboard.jpg) | ![Tableau de bord, thème sombre](docs/screenshots/dashboard-dark.jpg) |
115
+ | ![Tableau de bord](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard.jpg) | ![Tableau de bord, thème sombre](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard-dark.jpg) |
119
116
  | **Tableau de bord.** Radar AIS, météo, route vers le waypoint, réservoirs… à côté de la vue 3D, en thème jour… | …et en thème sombre, dans l’esprit de l’affichage FSD de Tesla : anthracite, formes claires, accents lumineux. |
120
- | ![Moteur](docs/screenshots/engine.jpg) | ![Énergie](docs/screenshots/energy.jpg) |
117
+ | ![Moteur](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/engine.jpg) | ![Énergie](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/energy.jpg) |
121
118
  | **Moteur.** Régime, heures, températures, pressions, inverseur et alarmes (les 24 notifications moteur NMEA 2000), plus un calendrier d’entretien. | **Énergie.** Batteries, charge et consommation, solaire, et l’état du Raspberry Pi qui fait tourner l’ensemble. |
122
- | ![Journal de bord](docs/screenshots/logbook.jpg) | ![Réglages](docs/screenshots/settings.jpg) |
119
+ | ![Journal de bord](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/logbook.jpg) | ![Réglages](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/settings.jpg) |
123
120
  | **Journal de bord.** Entrées automatiques et manuelles, chronologie, et sorties enregistrées à rejouer dans la vue 3D. | **Réglages.** Bateau, unités, langue, thèmes, qualité 3D (dont un profil Raspberry Pi), seuils d’alarme et données hors-ligne. |
124
121
 
125
- ![Thème nuit](docs/screenshots/dashboard-night.jpg)
122
+ ![Thème nuit](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard-night.jpg)
126
123
 
127
124
  **Thème nuit.** Uniquement du rouge et du rouge orangé, pour préserver la vision de nuit, avec des valeurs plus lumineuses que les libellés pour rester facile à lire. Le thème peut changer tout seul avec le soleil.
128
125
 
@@ -144,10 +141,10 @@ L’installation sur laquelle Ocearo est développé : derrière un panneau de l
144
141
 
145
142
  | | |
146
143
  |---|---|
147
- | ![Le Raspberry Pi et sa carte MacArthur HAT, câblés derrière le panneau de la table à cartes](docs/screenshots/onboard-1.jpg) | ![L’écran tactile encastré au-dessus du tableau électrique et de la VHF](docs/screenshots/onboard-2.jpg) |
144
+ | ![Le Raspberry Pi et sa carte MacArthur HAT, câblés derrière le panneau de la table à cartes](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-1.jpg) | ![L’écran tactile encastré au-dessus du tableau électrique et de la VHF](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-2.jpg) |
148
145
  | **Derrière le panneau.** Le Raspberry Pi, sa carte MacArthur HAT et le câblage vers les instruments, à l’abri mais facile d’accès. | **À la table à cartes.** L’écran est encastré dans le panneau, au-dessus du tableau électrique et de la VHF. |
149
146
 
150
- ![Ocearo sur l’écran de la table à cartes](docs/screenshots/onboard-3.jpg)
147
+ ![Ocearo sur l’écran de la table à cartes](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-3.jpg)
151
148
 
152
149
  *Photos prises avec une version antérieure d’Ocearo.*
153
150
 
@@ -161,7 +158,7 @@ Ocearo UI est une **webapp** Signal K.
161
158
  2. Redémarrez le serveur et ouvrez `http://<serveur-signalk>:3000/ocearo-ui/` sur n’importe quel écran du bord.
162
159
  3. Recommandé : installez **[ocearo-core](https://github.com/laborima/ocearo-core)** pour le journal de bord, la veille au mouillage, la bathymétrie SHOM, les métriques système et le copilote IA.
163
160
 
164
- Site web : <https://laborima.github.io/ocearo-ui/fr/> · démo en ligne avec des données simulées : <https://laborima.github.io/ocearo-ui/fr/demo/>
161
+ Site web : <https://ocearo.leslaborie.org/fr/> · démo en ligne avec des données simulées : <https://ocearo.leslaborie.org/fr/demo/>
165
162
 
166
163
  ### Prérequis Signal K
167
164
 
@@ -183,7 +180,7 @@ Matériel : un Raspberry Pi 4 ou 5 fait tourner sans peine le serveur et un écr
183
180
 
184
181
  Tout se règle dans l’application (**Réglages**) : adresse et authentification du serveur Signal K, modèle de bateau, tirant d’eau et polaires, unités, langue, thème (manuel ou selon le soleil), qualité 3D, échelle AIS et seuils de collision (CPA, TCPA), et données hors-ligne. Les réglages sont propres à chaque écran.
185
182
 
186
- Pour installer l’application en plein écran sur une tablette ou un téléphone (PWA), servez Signal K en HTTPS sur le réseau du bord : voir [docs/ssl.md](docs/ssl.md) (en anglais).
183
+ Pour installer l’application en plein écran sur une tablette ou un téléphone (PWA), servez Signal K en HTTPS sur le réseau du bord : voir [docs/ssl.md](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/ssl.md) (en anglais).
187
184
 
188
185
  ---
189
186
 
@@ -200,7 +197,7 @@ npm run build # export statique dans out/
200
197
 
201
198
  Pour essayer un build sur un serveur Signal K, liez-le comme webapp : `npm run link` (lien symbolique de `out/` vers `~/.signalk/node_modules/ocearo-ui`), puis redémarrez le serveur.
202
199
 
203
- Technologies : Next.js 16 (export statique), React 19, Three.js avec React Three Fiber, Tailwind CSS 4, i18next. Les bateaux, les voiles et la flotte AIS sont procéduraux (aucun modèle à télécharger) ; les conventions du projet sont dans [AGENTS.md](AGENTS.md).
200
+ Technologies : Next.js 16 (export statique), React 19, Three.js avec React Three Fiber, Tailwind CSS 4, i18next. Les bateaux, les voiles et la flotte AIS sont procéduraux (aucun modèle à télécharger) ; les conventions du projet sont dans [AGENTS.md](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/AGENTS.md).
204
201
 
205
202
  Les tables de marée pour le hors-ligne sont dans `public/tides/<port>/<MM>_<aaaa>.json`.
206
203
 
@@ -217,7 +214,7 @@ Les tables de marée pour le hors-ligne sont dans `public/tides/<port>/<MM>_<aaa
217
214
 
218
215
  ## Contribuer
219
216
 
220
- Rapports de bugs, idées et pull requests sont bienvenus — voir les [issues](https://github.com/laborima/ocearo-ui/issues). Les changements sont listés dans le [CHANGELOG](CHANGELOG.md).
217
+ Rapports de bugs, idées et pull requests sont bienvenus — voir les [issues](https://github.com/laborima/ocearo-ui/issues). Les changements sont listés dans le [CHANGELOG](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/CHANGELOG.md).
221
218
 
222
219
  **Comment Ocearo est fait.** Par souci de transparence : la plus grande partie du code a été écrite avec des assistants de programmation IA (« vibe coding »). Je suis développeur et plaisancier ; je décide de ce que fait l’application, je relis les changements et je la teste sur mon bateau, mais elle n’est pas écrite ligne à ligne à la main. Les relectures de code sont particulièrement bienvenues.
223
220
 
@@ -225,7 +222,7 @@ Rapports de bugs, idées et pull requests sont bienvenus — voir les [issues](h
225
222
 
226
223
  ## Licence
227
224
 
228
- [Apache 2.0](LICENSE).
225
+ [Apache 2.0](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/LICENSE).
229
226
 
230
227
  ## Avertissement de navigation
231
228
 
package/README.md CHANGED
@@ -1,22 +1,17 @@
1
- [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
1
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/LICENSE)
2
2
  [![npm](https://img.shields.io/npm/v/ocearo-ui.svg)](https://www.npmjs.com/package/ocearo-ui)
3
3
  [![Signal K](https://img.shields.io/badge/Signal%20K-webapp-0a7ea4.svg)](https://signalk.org)
4
4
  [![GitHub Issues](https://img.shields.io/github/issues/laborima/ocearo-ui.svg)](https://github.com/laborima/ocearo-ui/issues)
5
5
 
6
- [Français 🇫🇷](README.fr.md)
6
+ [Français 🇫🇷](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/README.fr.md)
7
7
 
8
- <p align="center">
9
- <picture>
10
- <source media="(prefers-color-scheme: dark)" srcset="docs/logo/ocearo-logo-dark.svg">
11
- <img src="docs/logo/ocearo-logo-light.svg" alt="Ocearo" width="360">
12
- </picture>
13
- </p>
8
+ ![Ocearo](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/logo/ocearo-logo-light.svg)
14
9
 
15
10
  # Ocearo UI
16
11
 
17
12
  **The open-source sailing display for Signal K.** A clear, real-time 3D picture of the boat, the sea and the traffic around it — sail trim, rules of the road, man overboard, anchor watch, bathymetry and weather — in a calm interface inspired by Tesla's driving visualisation. It runs as a Signal K webapp on the boat's server (a Raspberry Pi is enough) and in any browser on board: chart-table screen, cockpit tablet or phone.
18
13
 
19
- ![Under spinnaker leaving La Rochelle: realistic sea from the true wind, sail trim stripes and telltales, compass and tide](docs/screenshots/hero.jpg)
14
+ ![Under spinnaker leaving La Rochelle: realistic sea from the true wind, sail trim stripes and telltales, compass and tide](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/hero.jpg)
20
15
 
21
16
  > Every image on this page is a screenshot of the app, fed with real data for La Rochelle on 4 October 2026: wind from Open-Meteo, tides, the SHOM 20 m bathymetry and scripted AIS traffic.
22
17
 
@@ -44,7 +39,7 @@
44
39
  ## Highlights
45
40
 
46
41
  - **A boat you can trim from the screen.** Main, headsails and asymmetric spinnaker drawn from the wind (camber, twist, reefs, sail changes), with draft stripes, telltales and the traveller and jib cars where they should be.
47
- - **The sea around you, five ways.** A realistic sea built from the true wind (or measured by a motion sensor), the live chart with buoyage, the seabed in 3D, the wind forecast, or a clean FSD-style ground for racing — with the buoys and beacons in 3D and the real night sky.
42
+ - **The sea around you, in layers.** Three bases — a realistic sea built from the true wind (or measured by a motion sensor), a clean FSD-style grid for racing, or the 3D chart with the seabed in relief — and layers on top: AIS traffic, the wind and currents forecast, laylines, the polar, buoys and beacons in 3D, and the real night sky. NOAA charts in US waters, a finer seabed worldwide.
48
43
  - **Traffic you can read at a glance.** AIS targets drawn as real ship types and sizes, moving smoothly between reports, coloured by who must give way under COLREG — with the manoeuvre to make.
49
44
  - **Tactics.** Laylines to the waypoint, isochrones from your polars (where you will be in 5, 10 and 15 minutes), VMG advice and a polar-speed ghost boat.
50
45
  - **Safety first.** Man-overboard marker with drift prediction, anchor watch with the real swing track, shallow-water warnings against your draft.
@@ -55,15 +50,17 @@
55
50
 
56
51
  ## The 3D view
57
52
 
58
- The heart of Ocearo is a live 3D scene centred on your boat. A button cycles between five representations of the world around it.
53
+ The heart of Ocearo is a live 3D scene centred on your boat. One button picks the base — the sea, a plain grid or the 3D chart — and the layers menu adds what you need on top: AIS traffic, wind, currents, laylines, the polar, buoys and beacons.
59
54
 
60
55
  | | |
61
56
  |---|---|
62
- | ![Live chart with buoyage and AIS](docs/screenshots/chart.jpg) | ![SHOM bathymetry as a survey grid](docs/screenshots/bathymetry.jpg) |
63
- | **Chart.** OpenStreetMap with OpenSeaMap buoyage and lights, true to scale with your boat and the AIS targets. Uses a Signal K chart provider (MBTiles) when one is installed. | **Bathymetry.** The seabed as a survey grid: relief exaggerated, isobaths, soundings at the current tide, a sounder line from the keel, and water too shallow for your draft hatched in orange. 5–20 m SHOM surveys on the French coast, global relief elsewhere. |
64
- | ![Wind forecast layer](docs/screenshots/weather.jpg) | ![Isochrones and laylines](docs/screenshots/polars.jpg) |
65
- | **Weather.** The 48-hour wind forecast around the boat (Open-Meteo) in Windy colours, with a time slider. | **Polars and laylines.** Where the polars put you in 5, 10 and 15 minutes on every heading, the laylines to the waypoint and the VMG to steer. |
66
- | ![Night sky: the Moon, Mars, Jupiter, Procyon and Sirius over the entrance to La Rochelle, buoy lights flashing](docs/screenshots/night-sky.jpg) | ![Cardinal buoys at dusk, light flashing](docs/screenshots/seamarks.jpg) |
57
+ | ![3D chart: the seabed in relief with the chart over it](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/bathymetry.jpg) | ![Currents: the water coloured by the current, chart-plotter arrows](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/currents.jpg) |
58
+ | **3D chart.** The seabed in relief, coloured by depth, with the chart over it in transparency: isobaths, soundings at the current tide, a sounder line from the keel, and water too shallow for your draft hatched in orange. 5–20 m SHOM surveys in France, EMODnet (~115 m) in Europe, NOAA grids elsewhere (a few metres along the US coasts). | **Currents.** The water from the surface to the seabed coloured by the current (Mercator forecast through Open-Meteo, tides included): light in slack water and over the shallows, the full colour where it runs. Arrows in the chart-plotter style give the direction and the speed in knots, with a red border when it builds and a blue one when it eases. |
59
+ | ![Wind forecast in 3D: arrows with the speed and the 48-hour curve](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/weather.jpg) | ![Isochrones and laylines](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/polars.jpg) |
60
+ | **Wind.** The 48-hour forecast around the boat (Open-Meteo) in Windy colours: the air tinted by the wind, a few streaks and arrows with the speed in knots. The forecast bar has a time slider and the wind and current at the boat over the two days. | **Polars and laylines.** Where the polars put you in 5, 10 and 15 minutes on every heading, the laylines to the waypoint and the VMG to steer. |
61
+ | ![NOAA nautical chart over the seabed at the Narrows, New York](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/chart.jpg) | ![Layers menu, forecast bar and corner cards](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/layers.jpg) |
62
+ | **Charts.** In US waters the official NOAA nautical chart (depths, buoys, lights, bridge clearances); OpenStreetMap with OpenSeaMap buoyage elsewhere, or your own MBTiles through a Signal K chart provider. | **Layers and cards.** The layers menu turns AIS, wind, currents, laylines, the polar and buoys on or off over any base. In full screen, one card in each bottom corner — depth, wind, speed or tide, changed with a tap — with its last 10 minutes. |
63
+ | ![Night sky: the Moon, Mars, Jupiter, Procyon and Sirius over the entrance to La Rochelle, buoy lights flashing](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/night-sky.jpg) | ![Cardinal buoys at dusk, light flashing](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/seamarks.jpg) |
67
64
  | **Night sky.** The 57 navigational stars and Polaris, Venus, Mars, Jupiter, Saturn and the Moon with its phase, where they really are from your position and the GPS time (within a few arc minutes); the brightest are named. 2 November 2026, 02:00, off La Rochelle. | **Buoys and beacons.** Cardinal, lateral, isolated danger, safe water and special marks in 3D from OpenSeaMap, with their colours, topmark and light flashing its real rhythm at night, and the AIS aids to navigation received (virtual ones as a ghost), also on the radar. Downloaded once, kept offline; can be turned off. |
68
65
 
69
66
  The **sea** itself is generated from the true wind: wave height, length and direction of a coastal wind sea plus a swell, whitecaps from about 7 knots, the sky's reflection and the sun where it really is, and your own wake following the track you actually sailed. With a motion sensor in Signal K (for instance [ocean-imu](https://github.com/bareboat-necessities/ocean-imu)), the waves take the measured height and period, and the boat rolls, pitches and heaves with it. The sails are drawn from the apparent wind with their trim: draft stripes with the depth and position of maximum camber, telltales on the luff and leech, and the sheet cars on their tracks.
@@ -76,9 +73,9 @@ Boats: a 10.8 m racer (default), a 14 m catamaran and simpler models, chosen in
76
73
 
77
74
  | | |
78
75
  |---|---|
79
- | ![We must give way to a fishing vessel](docs/screenshots/colregs.jpg) | ![A port-tack yacht must keep clear of us](docs/screenshots/standon.jpg) |
76
+ | ![We must give way to a fishing vessel](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/colregs.jpg) | ![A port-tack yacht must keep clear of us](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/standon.jpg) |
80
77
  | **Our move.** A vessel engaged in fishing crosses ahead: under rule 18 the sailing yacht keeps clear. The boat and the banner turn orange-red, the advice names the rule and the alteration (“Avoid: 15° to port”). | **Their move.** A port-tack yacht closing from starboard must keep clear (rule 12): it turns violet with the manoeuvre expected of it. If it does not act, rule 17(b) advice appears. |
81
- | ![Busy water: a ferry, a cargo ship, a fishing vessel, yachts and a catamaran, each with its role](docs/screenshots/traffic.jpg) | ![Under engine, a cargo ship on the starboard side: rule 15, alter to starboard](docs/screenshots/crossing.jpg) |
78
+ | ![Busy water: a ferry, a cargo ship, a fishing vessel, yachts and a catamaran, each with its role](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/traffic.jpg) | ![Under engine, a cargo ship on the starboard side: rule 15, alter to starboard](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/crossing.jpg) |
82
79
  | **Busy water.** Every target carries its role and the rule: the ferry and the cargo ship must keep clear of a yacht under sail (18), the catamaran is to windward on the same tack (12 a-ii), the fishing vessel has right of way. When no single alteration clears everyone, the advice says so and asks to slow down. | **Under engine.** Motoring, the yacht is a power-driven vessel: a cargo ship on the starboard side has right of way (rule 15). The advice passes astern of her (“Avoid: 75° to starboard”) and the dashed line marks the closest point of approach. |
83
80
 
84
81
  **The rules Ocearo applies**, from the AIS status and ship type of each target and from our own (a yacht with its engine running is power-driven):
@@ -102,10 +99,10 @@ Colours mean the same thing everywhere: **red** — risk of collision and it is
102
99
 
103
100
  | | |
104
101
  |---|---|
105
- | ![Man overboard](docs/screenshots/mob.jpg) | ![Anchor watch](docs/screenshots/anchor.jpg) |
102
+ | ![Man overboard](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/mob.jpg) | ![Anchor watch](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/anchor.jpg) |
106
103
  | **Man overboard.** One button (or any Signal K MOB notification) raises the alarm: drop point, the person's estimated position now from current and leeway, the drift line and the bearing and distance to steer. | **Anchor watch.** Alarm radius and 80 % watch ring centred on the anchor, the rode, and the track the boat has actually described around it: a veer or a dragging anchor shows in its shape long before the alarm. Kept by [ocearo-core](https://github.com/laborima/ocearo-core), so it survives a reload. |
107
104
 
108
- ![Parking assist](docs/screenshots/parking.jpg)
105
+ ![Parking assist](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/parking.jpg)
109
106
 
110
107
  **Parking assist.** Choose the berth (bow-in, stern-in, alongside, mooring buoy) and follow the predicted track with wind and current.
111
108
 
@@ -115,14 +112,14 @@ Colours mean the same thing everywhere: **red** — risk of collision and it is
115
112
 
116
113
  | | |
117
114
  |---|---|
118
- | ![Dashboard](docs/screenshots/dashboard.jpg) | ![Dashboard, dark theme](docs/screenshots/dashboard-dark.jpg) |
115
+ | ![Dashboard](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard.jpg) | ![Dashboard, dark theme](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard-dark.jpg) |
119
116
  | **Dashboard.** AIS radar, weather, course to the waypoint, tanks… next to the 3D view, in the day theme… | …and the dark theme, in the spirit of Tesla's FSD display: charcoal, light shapes, luminous accents. |
120
- | ![Engine](docs/screenshots/engine.jpg) | ![Energy](docs/screenshots/energy.jpg) |
117
+ | ![Engine](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/engine.jpg) | ![Energy](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/energy.jpg) |
121
118
  | **Engine.** Speed, hours, temperatures, pressures, gear and alarms (the 24 NMEA 2000 engine notifications), plus a maintenance schedule. | **Energy.** Batteries, charge and consumption, solar, and the health of the Raspberry Pi running the stack. |
122
- | ![Logbook](docs/screenshots/logbook.jpg) | ![Settings](docs/screenshots/settings.jpg) |
119
+ | ![Logbook](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/logbook.jpg) | ![Settings](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/settings.jpg) |
123
120
  | **Logbook.** Automatic and manual entries, mission timeline, and recorded voyages you can replay in the 3D view. | **Settings.** Boat, units, language, themes, 3D quality (including a Raspberry Pi profile), alarm thresholds and offline data. |
124
121
 
125
- ![Night theme](docs/screenshots/dashboard-night.jpg)
122
+ ![Night theme](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/dashboard-night.jpg)
126
123
 
127
124
  **Night theme.** Red and red-orange only, so the screen keeps your night vision, with values brighter than labels so it stays easy to read. The theme can switch itself with the sun.
128
125
 
@@ -144,10 +141,10 @@ The installation Ocearo is developed on: behind a panel of the chart table, a Ra
144
141
 
145
142
  | | |
146
143
  |---|---|
147
- | ![The Raspberry Pi and its MacArthur HAT, wired behind the chart-table panel](docs/screenshots/onboard-1.jpg) | ![The touchscreen set into the panel above the switchboard and the VHF](docs/screenshots/onboard-2.jpg) |
144
+ | ![The Raspberry Pi and its MacArthur HAT, wired behind the chart-table panel](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-1.jpg) | ![The touchscreen set into the panel above the switchboard and the VHF](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-2.jpg) |
148
145
  | **Behind the panel.** The Raspberry Pi, its MacArthur HAT and the wiring to the instruments, out of the way but easy to reach. | **At the chart table.** The screen sits flush in the panel, above the switchboard and the VHF. |
149
146
 
150
- ![Ocearo on the chart-table screen](docs/screenshots/onboard-3.jpg)
147
+ ![Ocearo on the chart-table screen](https://raw.githubusercontent.com/laborima/ocearo-ui/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/screenshots/onboard-3.jpg)
151
148
 
152
149
  *Photos taken with an earlier version of Ocearo.*
153
150
 
@@ -161,7 +158,7 @@ Ocearo UI is a Signal K **webapp**.
161
158
  2. Restart the server and open `http://<signalk-server>:3000/ocearo-ui/` on any screen on board.
162
159
  3. Recommended: install **[ocearo-core](https://github.com/laborima/ocearo-core)** for the logbook, anchor watch, SHOM bathymetry, system metrics and the AI copilot.
163
160
 
164
- Website: <https://laborima.github.io/ocearo-ui/> · live demo with simulated data: <https://laborima.github.io/ocearo-ui/demo/>
161
+ Website: <https://ocearo.leslaborie.org/> · live demo with simulated data: <https://ocearo.leslaborie.org/demo/>
165
162
 
166
163
  ### Signal K prerequisites
167
164
 
@@ -183,7 +180,7 @@ Hardware: a Raspberry Pi 4 or 5 runs the server and a display comfortably; selec
183
180
 
184
181
  Everything is set in the app (**Settings**): Signal K server address and authentication, boat model, draft and polars, units, language, theme (manual or following the sun), 3D quality, AIS scale and collision thresholds (CPA, TCPA), and offline data. Settings are stored per display.
185
182
 
186
- To install the app on a tablet or phone as a full-screen app (PWA), serve Signal K over HTTPS on the boat's network: see [docs/ssl.md](docs/ssl.md).
183
+ To install the app on a tablet or phone as a full-screen app (PWA), serve Signal K over HTTPS on the boat's network: see [docs/ssl.md](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/docs/ssl.md).
187
184
 
188
185
  ---
189
186
 
@@ -200,7 +197,7 @@ npm run build # static export in out/
200
197
 
201
198
  To try a build on a Signal K server, link it as a webapp: `npm run link` (symlinks `out/` into `~/.signalk/node_modules/ocearo-ui`), then restart the server.
202
199
 
203
- Stack: Next.js 16 (static export), React 19, Three.js with React Three Fiber, Tailwind CSS 4, i18next. The 3D boats, sails and AIS fleet are procedural (no model files to download); see [AGENTS.md](AGENTS.md) for the project conventions.
200
+ Stack: Next.js 16 (static export), React 19, Three.js with React Three Fiber, Tailwind CSS 4, i18next. The 3D boats, sails and AIS fleet are procedural (no model files to download); see [AGENTS.md](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/AGENTS.md) for the project conventions.
204
201
 
205
202
  Tide tables for offline use live in `public/tides/<harbour>/<MM>_<yyyy>.json`.
206
203
 
@@ -217,7 +214,7 @@ Tide tables for offline use live in `public/tides/<harbour>/<MM>_<yyyy>.json`.
217
214
 
218
215
  ## Contributing
219
216
 
220
- Bug reports, ideas and pull requests are welcome — see the [issues](https://github.com/laborima/ocearo-ui/issues). Changes are listed in the [CHANGELOG](CHANGELOG.md).
217
+ Bug reports, ideas and pull requests are welcome — see the [issues](https://github.com/laborima/ocearo-ui/issues). Changes are listed in the [CHANGELOG](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/CHANGELOG.md).
221
218
 
222
219
  **How Ocearo is built.** In the interest of transparency: most of the code was written with AI coding assistants ("vibe coding"). I'm a developer and a sailor; I decide what the app does, review the changes and test it on my own boat, but it is not hand-written line by line. Code reviews are especially welcome.
223
220
 
@@ -225,7 +222,7 @@ Bug reports, ideas and pull requests are welcome — see the [issues](https://gi
225
222
 
226
223
  ## Licence
227
224
 
228
- [Apache 2.0](LICENSE).
225
+ [Apache 2.0](https://github.com/laborima/ocearo-ui/blob/27a2bbea3f832e6685cf159ba5d5e4828369e936/LICENSE).
229
226
 
230
227
  ## Navigation disclaimer
231
228
 
@@ -1,6 +1,6 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[47257,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ClientPageRoot"]
3
- 3:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/1ho2ekxa9io1_.js","/ocearo-ui/_next/static/chunks/2ab6q6u6uo_bf.js","/ocearo-ui/_next/static/chunks/18_i6mf6hb_c7.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/0c91q-13wh8hk.js","/ocearo-ui/_next/static/chunks/2pt-apz8_pa4j.js"],"default"]
3
+ 3:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/0ucob1nu_x8bl.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","/ocearo-ui/_next/static/chunks/047e3x_ahxnrl.js","/ocearo-ui/_next/static/chunks/3bai186_bv3i_.js","/ocearo-ui/_next/static/chunks/395ffa6t18601.js"],"default"]
4
4
  6:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
6
  b:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ViewportBoundary"]
@@ -8,9 +8,9 @@ c:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"MetadataBoundary"
8
8
  d:I[27201,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"IconMark"]
9
9
  f:I[39756,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
10
10
  10:I[37457,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
11
- :HL["/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","style"]
11
+ :HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
12
12
  a:X
13
- 0:{"buildId":"m52l9mE01yTljNwbWjYQ7","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/1ho2ekxa9io1_.js","async":true}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/2ab6q6u6uo_bf.js","async":true}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18_i6mf6hb_c7.js","async":true}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/0c91q-13wh8hk.js","async":true}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/2pt-apz8_pa4j.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#f7f8f9","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#101216","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Ocearo"}],["$","meta","1",{"name":"description","content":"Sailing made smarter"}],["$","link","2",{"rel":"manifest","href":"./manifest.json"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"Ocearo"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","7",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","8",{"rel":"icon","href":"./favicon.ico","type":"image/x-icon"}],["$","link","9",{"rel":"icon","href":"./favicon.svg","type":"image/svg+xml","sizes":"any"}],["$","link","10",{"rel":"icon","href":"./favicon-96x96.png","type":"image/png","sizes":"96x96"}],["$","link","11",{"rel":"apple-touch-icon","href":"./apple-touch-icon.png"}],["$","$Ld","12",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","precedence":"next"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":[["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@12","rootVaryParams":null,"needsRuntimeRequest":"$@13"}
13
+ 0:{"buildId":"0nycI4RUzRHiehQwdbDCp","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0ucob1nu_x8bl.js","async":true}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","async":true}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","async":true}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/047e3x_ahxnrl.js","async":true}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/3bai186_bv3i_.js","async":true}],["$","script","script-6",{"src":"/ocearo-ui/_next/static/chunks/395ffa6t18601.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#f7f8f9","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#101216","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Ocearo"}],["$","meta","1",{"name":"description","content":"Sailing made smarter"}],["$","link","2",{"rel":"manifest","href":"./manifest.json"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"Ocearo"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","7",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","8",{"rel":"icon","href":"./favicon.ico","type":"image/x-icon"}],["$","link","9",{"rel":"icon","href":"./favicon.svg","type":"image/svg+xml","sizes":"any"}],["$","link","10",{"rel":"icon","href":"./favicon-96x96.png","type":"image/png","sizes":"96x96"}],["$","link","11",{"rel":"apple-touch-icon","href":"./apple-touch-icon.png"}],["$","$Ld","12",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true}]],["$","html",null,{"lang":"en","translate":"no","children":[["$","head",null,{"children":[["$","meta",null,{"name":"google","content":"notranslate"}],["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@12","rootVaryParams":null,"needsRuntimeRequest":"$@13"}
14
14
  4:{}
15
15
  5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
16
16
  8:null
package/__next._full.txt CHANGED
@@ -2,15 +2,15 @@
2
2
  2:I[39756,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
3
3
  3:I[37457,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
4
4
  4:I[47257,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ClientPageRoot"]
5
- 5:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/1ho2ekxa9io1_.js","/ocearo-ui/_next/static/chunks/2ab6q6u6uo_bf.js","/ocearo-ui/_next/static/chunks/18_i6mf6hb_c7.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/0c91q-13wh8hk.js","/ocearo-ui/_next/static/chunks/2pt-apz8_pa4j.js"],"default"]
5
+ 5:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/0ucob1nu_x8bl.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","/ocearo-ui/_next/static/chunks/047e3x_ahxnrl.js","/ocearo-ui/_next/static/chunks/3bai186_bv3i_.js","/ocearo-ui/_next/static/chunks/395ffa6t18601.js"],"default"]
6
6
  8:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"OutletBoundary"]
7
7
  9:"$Sreact.suspense"
8
8
  b:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ViewportBoundary"]
9
9
  d:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"MetadataBoundary"]
10
10
  f:I[68027,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default",1]
11
- :HL["/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","style"]
11
+ :HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
12
12
  :HC["/",""]
13
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":[["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/1ho2ekxa9io1_.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/2ab6q6u6uo_bf.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18_i6mf6hb_c7.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/0c91q-13wh8hk.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/2pt-apz8_pa4j.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"m52l9mE01yTljNwbWjYQ7"}
13
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","translate":"no","children":[["$","head",null,{"children":[["$","meta",null,{"name":"google","content":"notranslate"}],["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0ucob1nu_x8bl.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/047e3x_ahxnrl.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/3bai186_bv3i_.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/ocearo-ui/_next/static/chunks/395ffa6t18601.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"0nycI4RUzRHiehQwdbDCp"}
14
14
  6:{}
15
15
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
16
16
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#f7f8f9","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#101216","media":"(prefers-color-scheme: dark)"}]]
package/__next._tree.txt CHANGED
@@ -1,3 +1,3 @@
1
- :HL["/ocearo-ui/_next/static/chunks/1m3-nchdgcxy1.css","style"]
1
+ :HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
2
2
  :HC["/",""]
3
- 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"m52l9mE01yTljNwbWjYQ7"}
3
+ 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"0nycI4RUzRHiehQwdbDCp"}
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43322,e=>{e.v(t=>Promise.all(["static/chunks/3l25j666ze4c1.js"].map(t=>e.l(t))).then(()=>t(56101)))},34882,e=>{e.v(t=>Promise.all(["static/chunks/1zuex-na8y-w4.js"].map(t=>e.l(t))).then(()=>t(77021)))},59499,e=>{e.v(t=>Promise.all(["static/chunks/28wfa6j-9g_qc.js"].map(t=>e.l(t))).then(()=>t(85003)))},30150,e=>{e.v(t=>Promise.all(["static/chunks/1d81m3g9jqkob.js"].map(t=>e.l(t))).then(()=>t(84237)))},64390,e=>{e.v(t=>Promise.all(["static/chunks/3zqx8h9yg5-ch.js"].map(t=>e.l(t))).then(()=>t(39554)))},93170,e=>{e.v(t=>Promise.all(["static/chunks/0-c2-u5p6bxzo.js","static/chunks/11awvgcou7v4r.js"].map(t=>e.l(t))).then(()=>t(50226)))},48217,e=>{e.v(t=>Promise.all(["static/chunks/2n86yq1wz1yx7.js"].map(t=>e.l(t))).then(()=>t(14774)))},29882,e=>{e.v(t=>Promise.all(["static/chunks/1vchkqgn-xw-o.js"].map(t=>e.l(t))).then(()=>t(56665)))},93889,e=>{e.v(t=>Promise.all(["static/chunks/1mtfh1vqpvit2.js"].map(t=>e.l(t))).then(()=>t(58166)))},36258,e=>{e.v(t=>Promise.all(["static/chunks/2xntuu6mzh41s.js","static/chunks/3h_m2s30sr9mt.js","static/chunks/290k3k__vbum2.js","static/chunks/37g-wmrgbgd6h.js","static/chunks/18e6nw0w7akkb.js","static/chunks/1na56snuhu-pc.js"].map(t=>e.l(t))).then(()=>t(59465)))},97820,e=>{e.v(t=>Promise.all(["static/chunks/1_twx50ejqan5.js","static/chunks/1na56snuhu-pc.js","static/chunks/3h_m2s30sr9mt.js"].map(t=>e.l(t))).then(()=>t(69675)))},82041,e=>{e.v(t=>Promise.all(["static/chunks/0bxzs0khjn1uj.js"].map(t=>e.l(t))).then(()=>t(41994)))},73321,e=>{e.v(t=>Promise.all(["static/chunks/44f5hh9caupby.js"].map(t=>e.l(t))).then(()=>t(78938)))},11657,e=>{e.v(t=>Promise.all(["static/chunks/07gn9z0d6clzs.js"].map(t=>e.l(t))).then(()=>t(75058)))},93540,e=>{e.v(t=>Promise.all(["static/chunks/1g8fbzv0hu0i2.js"].map(t=>e.l(t))).then(()=>t(84809)))},77324,e=>{e.v(t=>Promise.all(["static/chunks/30p1dpgmonstj.js"].map(t=>e.l(t))).then(()=>t(64587)))},71762,e=>{e.v(t=>Promise.all(["static/chunks/0ath9h2eo-m4-.js"].map(t=>e.l(t))).then(()=>t(91999)))},31987,e=>{e.v(t=>Promise.all(["static/chunks/3yz0mxxv4vrfg.js"].map(t=>e.l(t))).then(()=>t(81788)))},9617,e=>{"use strict";let t={moved:!1,placingWaypoint:!1,message:null},a=new Set,s=new Set,n=e=>{t={...t,...e},a.forEach(e=>e())},i=e=>{t.moved!==e&&n({moved:e})};e.s(["getViewState",0,()=>t,"onRecenter",0,e=>(s.add(e),()=>s.delete(e)),"requestRecenter",0,()=>{s.forEach(e=>e()),i(!1)},"setCameraMoved",0,i,"setPlacingWaypoint",0,e=>n({placingWaypoint:e,message:null}),"setViewMessage",0,e=>n({message:e}),"subscribeView",0,e=>(a.add(e),()=>a.delete(e))])},32598,e=>{e.v(t=>Promise.all(["static/chunks/2393lwi8kee3m.js","static/chunks/2q_bl16zedyyo.js"].map(t=>e.l(t))).then(()=>t(79224)))},32673,e=>{e.v(t=>Promise.all(["static/chunks/25v2cwta2fy-7.js"].map(t=>e.l(t))).then(()=>t(36540)))},11220,e=>{e.v(t=>Promise.all(["static/chunks/0ngl63fz0a-bo.js","static/chunks/1na56snuhu-pc.js","static/chunks/3h_m2s30sr9mt.js"].map(t=>e.l(t))).then(()=>t(27404)))},39271,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.i(85269);var s=e.i(22831),n=e.i(49721),i=e.i(68757),r=e.i(30206);let l=[10,30,60,120],o=()=>(0,a.useSyncExternalStore)(r.subscribeReplay,r.getReplayState,r.getReplayState);e.s(["default",0,()=>{let{t:e}=(0,s.useTranslation)(),a=o();if(!a.active)return null;let c=Math.max(1,a.end-a.start);return(0,t.jsxs)("div",{className:"hud-halo flex items-center gap-3 px-3 py-2 rounded-2xl bg-hud-bg/80 backdrop-blur select-none w-[min(40rem,100%)] flex-wrap",children:[(0,t.jsx)("span",{className:"text-caption font-semibold uppercase tracking-widest text-oBlue shrink-0",children:e("replay.title")}),(0,t.jsx)("button",{type:"button",onClick:r.togglePlay,"aria-label":e(a.playing?"replay.pause":"replay.play"),className:"w-9 h-9 rounded-full bg-hud-elevated text-hud-main flex items-center justify-center shrink-0",children:(0,t.jsx)(n.FontAwesomeIcon,{icon:a.playing?i.faPause:i.faPlay})}),(0,t.jsx)("input",{type:"range",min:a.start,max:a.end,step:1e3,value:a.time,onChange:e=>(0,r.seekReplay)(Number(e.target.value)),"aria-label":e("replay.timeline"),className:"flex-1 min-w-0 accent-oBlue"}),(0,t.jsx)("span",{className:"text-label font-semibold tabular-nums text-hud-main shrink-0",children:new Date(a.time).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})}),(0,t.jsxs)("span",{className:"text-caption text-hud-muted tabular-nums shrink-0",children:[Math.round((a.time-a.start)/c*100),"%"]}),(0,t.jsx)("div",{className:"flex gap-1 shrink-0",children:l.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>(0,r.setReplaySpeed)(e),className:`px-2 py-1 rounded-lg text-caption font-semibold ${a.speed===e?"bg-oBlue text-white":"text-hud-muted hover:text-hud-main"}`,children:["×",e]},e))}),(0,t.jsx)("button",{type:"button",onClick:r.stopReplay,"aria-label":e("replay.close"),className:"w-8 h-8 rounded-full text-hud-muted hover:text-hud-main flex items-center justify-center shrink-0",children:(0,t.jsx)(n.FontAwesomeIcon,{icon:i.faXmark})})]})},"useReplay",0,o])},66984,e=>{e.v(t=>Promise.all(["static/chunks/0jpa5m78l0ib0.js"].map(t=>e.l(t))).then(()=>t(79261)))},72466,e=>{"use strict";let t={WARNING_THRESHOLD:50,DANGER_THRESHOLD:20,CHARGING_THRESHOLD:13.2,MIN_VOLTAGE:10.5,MAX_VOLTAGE:14.4};e.s(["BATTERY_CONFIG",0,t,"estimateStateOfCharge",0,e=>{if(!e||"number"!=typeof e)return 0;if(e>=13)return 100;if(e<=t.MIN_VOLTAGE)return 0;let a=[{voltage:12.85,soc:100},{voltage:12.75,soc:90},{voltage:12.65,soc:80},{voltage:12.55,soc:70},{voltage:12.45,soc:60},{voltage:12.35,soc:50},{voltage:12.25,soc:40},{voltage:12.15,soc:30},{voltage:12.05,soc:20},{voltage:11.95,soc:15},{voltage:11.8,soc:10},{voltage:11.6,soc:5},{voltage:10.5,soc:0}];for(let t=0;t<a.length-1;t++)if(e>=a[t+1].voltage){let s=a[t].voltage,n=a[t+1].voltage,i=a[t].soc,r=a[t+1].soc;return Math.round(r+(e-n)/(s-n)*(i-r))}return 0},"isBatteryCharging",0,e=>e>t.CHARGING_THRESHOLD])},58567,e=>{"use strict";let t;var a=e.i(83402);let s=/v3d|videocore|llvmpipe|swiftshader/i,n=/android|iphone|ipad|ipod|mobile/i;e.s(["RENDER_QUALITIES",0,["auto","high","pi"],"getRenderProfile",0,()=>{let e=a.default.get("renderQuality")||"auto";return"pi"===e||"auto"===e&&(()=>{if("u"<typeof navigator)return!1;if(s.test((()=>{if(void 0!==t)return t;t="";try{let e=document.createElement("canvas").getContext("webgl"),a=e?.getExtension("WEBGL_debug_renderer_info");t=String(e?.getParameter(a?a.UNMASKED_RENDERER_WEBGL:e.RENDERER)||""),e?.getExtension("WEBGL_lose_context")?.loseContext()}catch{}return t})()))return!0;if(n.test(navigator.userAgent)||navigator.maxTouchPoints>1&&/Macintosh/.test(navigator.userAgent))return!1;if(/aarch64|armv7|armv8|arm64|raspbian|raspberry/i.test(navigator.userAgent))return!0;let e=navigator.hardwareConcurrency||8,a=navigator.deviceMemory||8;return e<=4&&a<=4})()?{id:"pi",fps:30,dpr:.75,antialias:!1}:{id:"high",fps:60,dpr:Math.min(window.devicePixelRatio||1,2.5),antialias:!0}}])},37256,e=>{"use strict";let t={bearingTrue:["navigation.course.calcValues.bearingTrue","navigation.courseGreatCircle.nextPoint.bearingTrue","navigation.courseRhumbline.nextPoint.bearingTrue"],distance:["navigation.course.calcValues.distance","navigation.courseGreatCircle.nextPoint.distance","navigation.courseRhumbline.nextPoint.distance"],timeToGo:["navigation.course.calcValues.timeToGo","navigation.courseGreatCircle.nextPoint.timeToGo","navigation.courseRhumbline.nextPoint.timeToGo"],crossTrackError:["navigation.course.calcValues.crossTrackError","navigation.courseGreatCircle.crossTrackError","navigation.courseRhumbline.crossTrackError"],velocityMadeGood:["navigation.course.calcValues.velocityMadeGood","navigation.courseGreatCircle.velocityMadeGood","navigation.courseRhumbline.velocityMadeGood"]};e.s(["coursePaths",0,(...e)=>e.flatMap(e=>t[e]),"courseValue",0,(e,a)=>{for(let s of t[a]){let t=e?.[s];if(Number.isFinite(t))return t}}])},52822,(e,t,a)=>{"use strict";var s=e.r(71645),n=e.r(2239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,l=s.useRef,o=s.useEffect,c=s.useMemo,u=s.useDebugValue;a.useSyncExternalStoreWithSelector=function(e,t,a,s,n){var h=l(null);if(null===h.current){var m={hasValue:!1,value:null};h.current=m}else m=h.current;var v=r(e,(h=c(function(){function e(e){if(!o){if(o=!0,r=e,e=s(e),void 0!==n&&m.hasValue){var t=m.value;if(n(t,e))return l=t}return l=e}if(t=l,i(r,e))return t;var a=s(e);return void 0!==n&&n(t,a)?(r=e,t):(r=e,l=a)}var r,l,o=!1,c=void 0===a?null:a;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,a,s,n]))[0],h[1]);return o(function(){m.hasValue=!0,m.value=v},[v]),u(v),v}},30224,(e,t,a)=>{"use strict";e.i(47167),t.exports=e.r(52822)}]);