Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Lukas-Heiligenbrunner/byos_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is archived and no longer maintained.

This repository is kept for reference only. The original byos implementation grew very major and there is no point to compete with it.

BYOS_rs

This is a Rust implementation of a self-hostable server implementation for TRMNL displays.

It is still early days and more a first draft.

Currently supported plugins

  • Github Commit Graph

more to come...

Configuration

A schedule is configurable with a config file. eg:

default_screen:
  !githubcommitgraph

schedules:
  - screen: "GithubDay"
    start_time: "08:00"
    end_time: "16:00"
    update_interval: 600
    days: ["Monday", "Wednesday", "Friday"]
    plugin:
      !githubcommitgraph
  - screen: "GithubNight"
    start_time: "16:00"
    end_time: "23:00"
    update_interval: 600
    days: ["Monday", "Wednesday", "Friday"]
    plugin:
      !staticimage
        path: "./data/peter.bmp"
  - screen: "Screen3"
    start_time: "23:00"
    end_time: "08:00"
    update_interval: 600
    days: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
    plugin:
      !custom
          template: |
            <div>
              <h1>Welcome to Screen 3</h1>
              <p>This is a custom HTML template for Screen 3.</p>
            </div>
          plugin_code: |  # Ruby content code
            def custom_content
              # Your Ruby code here
              "This content is generated by Ruby code."
            end

plugin_config:
  githubcommitgraph:
    username: "lukas-heiligenbrunner"
    api_key: "<your_key>"

devices:
  - name: "Device1"
    mac_address: "00:1A:2B:3C:4D:5E"
    token: "42424242"

If schdules overlap the first time match is used.

Features missing:

  • More Plugins
  • custom code plugin support
  • trmnl authentication with token
  • multiple trmnl devices

License

This project is licensed under the MIT License. Feel free to contribute and modify as per the guidelines outlined in the license agreement.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •