Skip to content

About

Free Screen Visuals turns any Smart TV into a live display: a looping menu board with your own product photos and prices, a countdown, a big clock, a welcome title or your logo – on top of a relaxing video. Open it in your TV's browser, set it up in minutes, press Fullscreen.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Free Screen Visuals

Free browser-based digital signage for Smart TVs. Play a YouTube video as the background and show a looping price list / menu board, countdown, clock, title, info panel or your logo on top. No install, no account. Settings are saved in the browser.

Live: https://free-screen-visuals.github.io/

Files

index.html               page + SEO content (loads everything below)
style/style.css          UI and overlay base styles
scripts/embeded-links.js background video list   (Data.embeded_links)
scripts/overlay-01.js    Countdown
scripts/overlay-02.js    Center text
scripts/overlay-03.js    Title (lower third)
scripts/overlay-04.js    Info panel
scripts/overlay-05.js    Clock
scripts/overlay-06.js    Logo (upload or URL, placeholder when empty)
scripts/overlay-07.js    Price list carousel (product photo, name, price, was-price, badge)
scripts/view.js          core: toolbar, panels, player, overlay rendering, storage
images/products/         sample product images used by the Price list defaults
media/                   promo.mp4 (vertical, silent), poster, promo-narration.txt, YouTube upload text
start-server.bat / .sh   local web server for testing

Run locally

YouTube embeds need an HTTP Referer, so a page opened as file:// shows Error 153. Serve the folder instead:

  • Windows: double-click start-server.bat
  • macOS / Linux: ./start-server.sh
  • then open http://localhost:8000 (both scripts need Python)

Publish on GitHub Pages

The address https://free-screen-visuals.github.io/ requires:

  1. a GitHub account or organization named exactly free-screen-visuals,
  2. a repository named free-screen-visuals.github.io with these files at its root,
  3. Settings → Pages → Branch main, folder / (root).

Using another address? Replace free-screen-visuals.github.io in index.html, sitemap.xml, robots.txt and media/youtube-upload.txt.

Add a background video

Add an entry to scripts/embeded-links.js:

{ id: 'fireplace', title: 'Cozy fireplace', youtube: 'https://youtu.be/XXXXXXXXXXX',
  channel: 'Channel name', channelUrl: 'https://www.youtube.com/@handle', start: 0, tags: ['Cozy'] }

Users can also paste their own YouTube links in the Background panel.

Add a layout

Create scripts/overlay-08.js and add <script src="scripts/overlay-08.js"></script> before view.js in index.html. The core does not change.

Data.overlays.push({
    id: 'quote',                    // unique; output gets class .ov-quote
    name: 'Quote',
    icon: '❝',
    description: 'A centered quote.',
    live: false,                    // true = re-render every second (clocks, timers)

    defaults: { quote: 'Stay curious.', author: '', photo: '' },

    fields: [                       // Text panel controls are generated from this
        { key: 'quote', label: 'Quote', type: 'textarea', maxLength: 300 },
        { key: 'author', label: 'Author', type: 'text' },
        { key: 'photo', label: 'Photo', type: 'image' }       // upload from computer or URL
    ],

    style: { position: 'center', scale: 1.1 },              // Style panel defaults for this layout
    css: '.ov-quote .q { font-size: 2em; }',               // injected once

    render: function (s, h) {
        // s.text, s.style, s.display, s.video, s.now
        var src = h.img(s.text.photo);
        return (src ? '<img src="' + h.esc(src) + '">' : '') +
               '<div class="q">' + h.text(s.text.quote) + '</div>';
    }
});

Field types: text, textarea, number, range, select, toggle, color, datetime, time, position, image, list, action, note. Use showIf (object or function) to show a field conditionally.

list holds repeating items (see the Price list layout): itemFields, itemDefaults, itemTitle, maxItems, addLabel.

Helpers (h): esc, text, lines, num, price(value, symbol), img(value), countdown, time, date, parseDate. Always insert user text with h.esc or h.text.

Storage

  • Settings live in cookies (fsv_n, fsv_0…), split into chunks when large, kept for 365 days, SameSite=Lax, Secure on https. Invalid or outdated data falls back to defaults.
  • Uploaded images are resized (max 1600 px, WebP) and stored in the browser's IndexedDB (fsv-images); settings only keep a short reference like idb:k3f9a2. Images no longer used by any setting are deleted automatically. Everything stays on the user's device.
  • Text and style are saved separately for each layout.
  • Save & load file: the toolbar's Save panel downloads all settings plus uploaded images as one .json file and loads it back later (another browser, another TV, or after clearing cookies). Reset all settings lives there too.

SEO checklist

Included: title/description, canonical, Open Graph + Twitter cards, JSON-LD (WebApplication, VideoObject, HowTo, FAQPage), readable content below the player, robots.txt, sitemap.xml (with video), site.webmanifest, icons, og-image.png, .nojekyll.

After publishing:

  1. Add the site to Google Search Console (paste the verification tag at the marked spot in <head>) and submit sitemap.xml. Do the same in Bing Webmaster Tools (also feeds DuckDuckGo and Yahoo).
  2. Record the voice-over from media/promo-narration.txt, add it to media/promo.mp4, and upload it as a YouTube Short / Reel / TikTok with the text in media/youtube-upload.txt.
  3. Share the link where people ask about free signage: r/smallbusiness, r/digitalsignage, r/smarttv, r/Twitch (starting-soon screens), Product Hunt, and local business groups. Links from other sites are what move a new site up in Google.

Shortcuts

Esc closes a panel · F fullscreen · the toolbar hides after 2.5 s without mouse movement (move to the top edge to bring it back) · on touch screens use the ••• button · console: FSV.state, FSV.reset()

About

Free Screen Visuals turns any Smart TV into a live display: a looping menu board with your own product photos and prices, a countdown, a big clock, a welcome title or your logo – on top of a relaxing video. Open it in your TV's browser, set it up in minutes, press Fullscreen.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages