Skip to content

froma-dev/fredir

Repository files navigation

Fredir - Smart TV Redirect App

A lightweight web application built with LightningJS and Blits Smart TV Framework, designed specifically for Smart TVs to handle URL redirections with a user-friendly interface.

Fredir Screenshot

Features

  • Simple and intuitive navigation optimized for TV remote controls
  • Customizable redirect links
  • Built specifically for Smart TV experiences
  • Easy setup and configuration

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/froma-dev/fredir.git
    cd fredir
  2. Install dependencies:

    npm install
    # or
    yarn install
  3. Start the development server:

    npm run dev
    # or
    yarn dev

Configuration

Edit the public/redirs/redirects.json file to add or modify your redirect links. The format should be:

[
  {
    "id": 1,
    "title": "React",
    "url": "https://reactjs.org"
  },
  {
    "id": 2,
    "title": "Vue.js",
    "url": "https://vuejs.org"
  }
]

Building for Production

To create a production build:

npm run build
# or
yarn build

Caveats

Blocked request

When using local DNS such as local.me.dev:5173 you will get a blocked request error.

Blocked request. This host("local.me.dev") is not allowed. To allow this host, add "local.me.dev" to server.allowedHosts in vite.config.js

Technologies Used

  • LightningJS
  • Blits Smart TV Framework
  • TypeScript

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Simple redirections tool app to load in your smart tv.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published