diff --git a/README.md b/README.md index c7dcbf1..ea2c8c1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,17 @@ -### TRMNL FLASH LOGO +### Tailor your TRMNL -This repository lets you upload custom brand information onto your TRMNL. Supported Brand attributes are -1. Logo -2. Loading Icon +This repository contains the source code that lets you tailor your TRMNL. This works by creating a brand binary on your browser and updating the brand binary on the device directly without downloading / installing / modifying the [firmware](https://github.com/usetrmnl/trmnl-firmware) source code. + +## Supported Changes +You can make customizations to the following brand attributes +1. API Base URL (coming soon) +2. Logo +3. Loading Icon ### How to get started? 1. Clone this repository 2. `git submodule init` 3. `git submodule update` 4. Install emscripten eg: `brew install emscripten` -4. Compile the binary to wasm file `bash build.sh` +5. Compile and create a wasm file `bash build.sh` +6. open `index.html` on your browser. diff --git a/index.html b/index.html index f5f941d..1198cd2 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@ .card h2 { font-size: 20px; font-weight: 600; - margin-bottom: 24px; + margin-bottom: 20px; } .upload-zone { @@ -215,8 +215,7 @@ } .instructions { - margin-top: 32px; - padding: 24px; + padding: 20px; background: #fafafa; border-radius: 8px; } @@ -236,7 +235,7 @@ } .instructions li { - margin-bottom: 8px; + margin-bottom: 5px; } footer { @@ -410,15 +409,15 @@ btn.textContent = 'Ready to Flash!'; setTimeout(() => { - btn.textContent = 'Generate Firmware'; - btn.disabled = false; + btn.textContent = ''; + btn.disabled = true; }, 2000); } catch (error) { console.error(error); btn.textContent = 'Error - Try Again'; setTimeout(() => { - btn.textContent = 'Generate Firmware'; - btn.disabled = false; + btn.textContent = 'Generate Binary'; + btn.disabled = true; }, 2000); } }; @@ -430,13 +429,13 @@
Upload custom logo and loader images for your TRMNL. Maximum 800×480 pixels.
+ +Upload custom logo and loader images to your TRMNL. Maximum 800×480 pixels.