Skip to content

[WIP] Update README.md and UPDATES.md for @olsystem/lt-lh package release#1

Merged
asvitloaten merged 1 commit intomainfrom
copilot/update-readme-and-updates-for-package-release
Apr 8, 2026
Merged

[WIP] Update README.md and UPDATES.md for @olsystem/lt-lh package release#1
asvitloaten merged 1 commit intomainfrom
copilot/update-readme-and-updates-for-package-release

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

  • Explore repo structure and current file contents
  • README.md: Add npm badge for @olsystem/lt-lh after Node badge
  • README.md: Add "Open Source Packages" section between Features and Development Updates
  • README.md: Add @olsystem/lt-lh to latest releases list
  • README.md: Add LT-LH row to Quick Links table
  • UPDATES.md: Prepend new @olsystem/lt-lh v0.1.2 section at top
Original prompt

Overview

Update the README.md and UPDATES.md on main branch to announce the publication of the @olsystem/lt-lh npm package and its public GitHub repo. This is a major OLS accomplishment — the first published open-source package from OneLightSystem.


Context: What is @olsystem/lt-lh?

  • npm: https://www.npmjs.com/package/@olsystem/lt-lh
  • GitHub repo: https://github.com/onelightsystem/LT-LH
  • Version: 0.1.2
  • License: MIT
  • Language: TypeScript
  • Description: React components and utilities for real-time Sun Light Meditation timing — LightHour (LH) and LightDay (LD) conversion, with automatic sun-phase calculation
  • Key features:
    • useLightTime() React hook with auto-refresh
    • getLightHour() / getLightDay() pure functions
    • Embeddable vanilla HTML widgets (no build tools required)
    • Full TypeScript types, Zod validation
    • Zero tracking, no login required
    • MIT licensed
  • What Light Time is:
    • Light Hour (LH): 1LH–12LH = 6:00 AM to 5:00 PM (natural daylight window)
    • Dark Hour (dh): 1dh–12dh = 6:00 PM to 5:00 AM (rest window)
    • Light Day (LD): Day count since Winter Solstice (Dec 22, 2024)
    • Light Year: Currently 3406

File 1: Update README.md

The current README.md is at commit 578728fdb9ef86db9087e876105ab86769982cc3 with BlobSha 059d255d9dab9f079b3523ffc299b6783d0839b9.

Make these targeted additions to the existing README.md:

1a) Add an npm badge to the badge row (after the Node badge on line 14, before the closing </div>):

Add this badge:

[![@olsystem/lt-lh](https://img.shields.io/npm/v/@olsystem/lt-lh?label=%40olsystem%2Flt-lh&color=CB3837)](https://www.npmjs.com/package/@olsystem/lt-lh)

1b) Add a new section "## Open Source Packages" BETWEEN the "Features" section (ends around line 55 ---) and the "Development Updates" section (starts around line 58). The new section should be:

## Open Source Packages

| | Package | Version | Description |
|:--|:--------|:--------|:------------|
| 📦 | **[@olsystem/lt-lh](https://www.npmjs.com/package/@olsystem/lt-lh)** | [![npm](https://img.shields.io/npm/v/@olsystem/lt-lh?style=flat-square)](https://www.npmjs.com/package/@olsystem/lt-lh) | Light Time system — LightHour/LightDay conversion, React hooks, and embeddable widgets |

> 🆕 **Just published!** Our first open-source npm package. Install with `npm install @olsystem/lt-lh`
>
> **What is Light Time?** The OLS Light Calendar aligns daily rhythm with the Sun — **1LH = 6 AM**, **12LH = 5 PM**. Track your Light Day count since Winter Solstice and align meditation, sleep, and activity with natural solar cycles.
>
> **[GitHub Repo](https://github.com/onelightsystem/LT-LH)** · **[npm Package](https://www.npmjs.com/package/@olsystem/lt-lh)** · MIT Licensed

1c) Add @olsystem/lt-lh to the "Development Updates" latest releases list. Add a new bullet at the top of the latest releases list (before the v8.43.6 entry):

- **[@olsystem/lt-lh v0.1.2](https://www.npmjs.com/package/@olsystem/lt-lh)** — April 8, 2026 — First published npm package: Light Time system with React hooks & widgets

1d) Add the LT-LH repo link to the "Quick Links" table. Add a new row:

| 📦 **LT-LH Package** | [npm: @olsystem/lt-lh](https://www.npmjs.com/package/@olsystem/lt-lh) · [GitHub](https://github.com/onelightsystem/LT-LH) |

File 2: Update UPDATES.md

The current UPDATES.md is at commit 578728fdb9ef86db9087e876105ab86769982cc3 with BlobSha 4bd67fb0c7c6e54c29ca905274ec50c346c6fa6d.

Prepend a new dated section at the TOP of the updates (after line 14's --- and BEFORE the existing "## ☀️ v8.43.6 Release" section on line 16). Insert this new section:

## 📦 @olsystem/lt-lh v0.1.2 Published — April 08, 2026

> 🎉 **First published open-source npm package from OneLightSystem!**
>
> **npm:** [@olsystem/lt-lh](https://www.npmjs.com/package/@olsystem/lt-lh)  
> **GitHub:** [onelightsystem/LT-LH](https://github.com/onelightsystem/LT-LH)  
> **License:** MIT

### What Is Light Time?

The OLS Light Calendar helps you align with the Sun's natural rhythm instead of arbitrary clock time.

- **Light Hour (LH)**: 1LH–12LH = 6:00 AM to 5:00 PM (your natural daylight energy window)
- **Dark Hour (dh)**: 1dh–12dh = 6:00 PM to 5:00 AM (rest and recovery window)
- **Light Day (LD)**: Day count since Winter Solstice (Dec 22, 2024)
- **Light Year**: Currently 3406

### Package Features

- `useLightTime()` — React hook with auto-refresh (default 60s)
- `getLightHour()` / `getLightDay()` — Pure TypeScript functions
- Embeddable vanilla HTML widgets — no build tools required
- Full TypeScript types with Zod validation
- Zero tracking, no login, no network calls
- BEM-style class names for custom styling

### Quick Install

```bash
npm install @olsystem/lt-lh

React Example

import { useLightTime } from '@olsystem/lt-lh';

function LightTimeDisplay() {
  c...

</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

*This pull request was created from Copilot chat.*
>

@asvitloaten asvitloaten marked this pull request as ready for review April 8, 2026 08:18
@asvitloaten asvitloaten merged commit 00b556a into main Apr 8, 2026
1 check failed
Copilot stopped work on behalf of asvitloaten due to an error April 8, 2026 08:19
Copilot AI requested a review from asvitloaten April 8, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants