frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

TelUI: UI framework for easy-to-use applications

2•telui•1d 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`, and `header.css` keep presentation rules isolated and easy to remix. - 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 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) header.css # Structural tweaks for header containers 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">
    ```
2. Apply the provided classes or custom element tags:

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

   `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. 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/blob/main

Ask HN: What Are You Working On? (Nov 2025)

15•david927•37m ago•28 comments

Ask HN: How do you get over the fear of sharing code?

35•sodokuwizard•4h ago•56 comments

Ask HN: How would you set up a child’s first Linux computer?

162•evolve2k•10h ago•203 comments

YouTube A/B testing removing playback speed controls

4•dotancohen•56m ago•3 comments

Valori – A Python-native Vector Database I built from scratch

6•varshith17•9h ago•3 comments

Ask HN: Why do designers have repugnant websites?

10•admissionsguy•8h ago•7 comments

Ask HN: Should there be a monthly Who is NOT hiring post

4•WhoIsNotHiring_•10h ago•1 comments

Ask HN: Any actual AI projects in production at bigcorp?

4•meetingthrower•11h ago•2 comments

LLMs let me maintain my PostgreSQL extension for PRQL after becoming a parent

4•kaspermarstal•11h ago•0 comments

Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

312•urnicus•4d ago•306 comments

Tell HN: X is opening any tweet link in a webview whether you press it or not

641•stillatit•5d ago•515 comments

Ask HN: Who is hiring? (November 2025)

396•whoishiring•6d ago•532 comments

Ask HN: What's a Purchase You Regret?

10•znpy•1d ago•29 comments

Ask HN: Who wants to be hired? (November 2025)

197•whoishiring•6d ago•442 comments

Ask HN: Windows/Linux software that has no real equivalent on macOS?

7•fastily•1d ago•15 comments

Ask HN: What is the most important thing in life?

13•awesomehry•1d ago•28 comments

Tell HN: Mechanical Turk is twenty years old today

94•csmoak•1w ago•62 comments

TelUI: UI framework for easy-to-use applications

2•telui•1d ago•0 comments

Ask HN: Where to begin with "modern" Emacs?

224•weakfish•1w ago•121 comments

Ask HN: My university wants all my IP (PhD Student) is there anything I can do?

9•thrownaway98723•2d ago•32 comments

Ask HN: P2P Archive.is Alternative?

5•rnmmrnm•1d ago•1 comments

Ask HN: What games let you simulate running a startup?

12•tbwriting•3d ago•11 comments

Ask HN: VC-funded startup lurking in my community Slack – how to respond?

17•nduncan_hmc•3d ago•14 comments

Reuters.com no longer works with JavaScript disabled

8•rkagerer•3d ago•8 comments

An Elegy for Jetbrains

9•dfaiv•2d ago•11 comments

Ask HN: How much time do you spend reading books?

17•roundstars•3d ago•25 comments

You've reached the end!