frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

TelUI 1.2: TelUI with fun alignments

1•telui•2h ago
# TelUI

TelUI is a Electron-based UI framework that packages a handful of reusable front-end primitives—color utilities, typography helpers, and basic structural styles—so you can prototype simple desktop UI ideas with minimal setup.

## Features - Bundled Electron runner (`npm start`) that serves `index.html` for instant desktop previews. - Tokenized styling layers: `color.css`, `font.css`, `header.css`, and `align.css` keep presentation rules isolated and easy to remix. - Micro-interaction helpers in `animation.css` (e.g., `.hover-fade`, `light`) for subtle hover states or accent passes. - Google Fonts integration (Funnel Display) plus opt-in utility classes like `.arial`. - Drop-in icon assets under `icons/` to help illustrate loading and status states.

## Quick start

```bash npm install npm run start ```

The app launches an 800×600 Electron window that loads `index.html`. Modify any CSS or HTML file and restart (or reload) to see the changes.

## Project layout

```text index.js # Electron bootstrapper index.html # Demo canvas that consumes TelUI styles font.css # Typography utilities and Google Fonts import color.css # Color tokens (e.g., gentleblue, brightblue, gray/grey, green) animation.css # Hover fade helper and light filter effects header.css # Structural tweaks for header containers align.css # `<center>` helper to horizontally center any block icons/ # Shared bitmap / gif assets (e.g., loading.gif) package.json # Dependencies and npm scripts ```

## Using the utilities

1. Reference the styles you need in your HTML entry point:

    ```html
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="color.css">
    <link rel="stylesheet" href="header.css">
    <link rel="stylesheet" href="animation.css">
    <link rel="stylesheet" href="align.css">
    ```
2. Apply the provided classes or custom element tags:

    ```html
    <gentleblue>
    <header>
      <h1>TelUI</h1>
    </header>
    <p class="arial">Prototype copy goes here.</p>
    </gentleblue>
    ```

   `font.css` exposes `.funneldisplay` and `.arial`. The color tokens (`gentleblue`, `brightblue`, `gray`, `grey`, `green`) can be used either as element selectors or converted into classes if you prefer `.gentleblue` syntax.
3. Add animation helpers where needed:

    ```html
    <button class="hover-fade funneldisplay">Hover me</button>
    <light>Accent block</light>
    ```

   `.hover-fade` applies the shared opacity/scale transition; the `light` tag gives you a filtered highlight wrapper without touching inline styles.
4. Center blocks with the dedicated tag:

    ```html
    <center>
      <button>CTA</button>
    </center>
    ```

   The `align.css` stylesheet constrains `<center>` to `max-width: fit-content` and uses auto horizontal margins so any nested elements stay centered without extra wrappers.
5. Reuse icons by pointing to the assets directory:

    ```html
    <img src="icons/loading.gif" alt="Loading indicator">
    ```
## Extending TelUI

- Add new color tokens or typography helpers by updating the corresponding CSS file; keep selectors declarative and organized by category. - For additional Electron behaviors (menus, preload scripts, IPC), expand `index.js` while leaving the UI-focused files framework‑agnostic. - When shipping as a distributable app, configure `electron-builder` or your favorite packager; the current setup is intentionally minimal.

## License

Unless stated otherwise in individual files, TelUI is distributed under the MIT License. Please include the license text when redistributing TelUI or derivative works,

URL:

https://github.com/eotter-beep/telui

Show HN: Sitemap Harvester – Extract metadata from any website's sitemap to CSV

https://github.com/meysam81/sitemap-harvester
1•meysamazad•2m ago•0 comments

Lessons from Alex Hormozi's $100M Book Launch

https://thewritetoroam.com/2025/11/lessons-from-alex-hormozis-100m-book-launch
1•EthanDBrooks•14m ago•0 comments

Fear Is Coming Back to the Junk Bond Market

https://www.bloomberg.com/news/articles/2025-11-08/fear-is-coming-back-to-the-junk-bond-market-cr...
1•zerosizedweasle•20m ago•0 comments

What a leaked transcript reveals about China's muscular statecraft

https://www.economist.com/china/2025/11/06/what-a-leaked-transcript-reveals-about-chinas-muscular...
3•andsoitis•40m ago•1 comments

I don't love Rust (either)

https://cbarrete.com/rust-bad.html
2•MrBuddyCasino•40m ago•0 comments

International Space Station Being Decomissioned

https://unionrayo.com/en/international-space-station-nasa/
2•explosion-s•48m ago•0 comments

China's AI Upstart Moonshot Stuns Valley Again with a $4.6M Wonder

https://entropytown.com/articles/2025-11-07-kimi-k2-thinking/
4•chaosprint•58m ago•0 comments

OpenAI readies GPT-5.1 Thinking model ahead of Gemini 3 Pro

https://www.testingcatalog.com/openai-readies-gpt-5-1-thinking-model-ahead-of-gemini-3-pro/
3•gmays•1h ago•0 comments

Tom Cat: On duality, detachment, and life and death decisions

https://longreads.com/2025/11/06/identity-duality-deluge-detachment/
2•mooreds•1h ago•0 comments

Designing Perplexity

https://lukew.com/ff/entry.asp?2095
3•mooreds•1h ago•0 comments

AI-Induced Psychosis as Existential Risk Lowerbound

https://flocrivello.com/ai-induced-psychosis-as-existential-risk-lower-bound/
2•Altimor•1h ago•0 comments

Time words don't mean what you think [video]

https://www.youtube.com/watch?v=TK-8gfqmFNo
1•zeristor•1h ago•0 comments

Neuroendocrine control of calcium mobilization in the fruit fly

https://www.nature.com/articles/s41586-025-09670-z
1•PaulHoule•1h ago•0 comments

Comparing the Latitude of Europe and America

https://vividmaps.com/comparing-latitude-of-europe-and-america/
3•mooreds•1h ago•0 comments

AI powered stocks CLI tool

https://github.com/Chukwuebuka-2003/stock_cli
1•Chukwuebukaagm•1h ago•1 comments

PostgreSQL deserves better than libpq

https://twitter.com/tildeslash_/status/1987327780217102517
5•sovande•1h ago•0 comments

IRIX Introduction

http://www.sgistuff.net/software/irixintro/index.html
2•naves•1h ago•0 comments

Copy Edit This (2016)

https://www.nytimes.com/2016/07/19/insider/you-be-the-copy-editor.html
1•thundergolfer•1h ago•0 comments

Can peptides give you superpowers?

https://www.economist.com/science-and-technology/2025/11/07/can-peptides-give-you-superpowers
2•andsoitis•1h ago•0 comments

Statistical Estimate of Occurrence of Extraterrestrial Intelligence in Milky Way

https://arxiv.org/abs/2012.07902
2•bryanrasmussen•1h ago•0 comments

Bell Labs Innovations Song [video]

https://www.youtube.com/watch?v=U5V1sxAKu5I
1•gjvc•1h ago•0 comments

Close Pattern in Zig

https://zig.news/houghtonap/closure-pattern-in-zig-19i3
1•andsoitis•1h ago•0 comments

The File Search Tool in Gemini API

https://blog.google/technology/developers/file-search-gemini-api/
1•gmays•1h ago•0 comments

HTML to Markdown Converter

https://www.htmltomarkdown.io/
2•leadsrocks•1h ago•2 comments

Advances in Threat Actor Usage of AI Tools

https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools
2•andrescordova•1h ago•1 comments

Debt Has Entered the A.I. Boom

https://www.nytimes.com/2025/11/08/business/dealbook/debt-has-entered-the-ai-boom.html
9•JumpCrisscross•1h ago•1 comments

Receipts: A brief list of prominent articles proclaiming the death of the web

https://zeldman.com/2025/10/25/receipts-a-brief-list-of-prominent-articles-proclaiming-the-death-...
2•cpeterso•1h ago•0 comments

How Airbus Took Off

https://worksinprogress.co/issue/how-airbus-took-off/
2•JumpCrisscross•1h ago•0 comments

He Chunhui's Tiny386 Turns an ESP32-S3 into a Fully-Functional 386-Powered PC

https://www.hackster.io/news/he-chunhui-s-tiny386-turns-the-humble-esp32-s3-into-a-fully-function...
30•HardwareLust•1h ago•3 comments

Lego Icons Star Trek U.S..S. Enterprise NCC-1701-D

https://www.lego.com/en-us/aboutus/news/2025/november/lego-icons-star-trek-u-s-s-enterprise-ncc-1...
4•BiraIgnacio•1h ago•1 comments