Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 37 additions & 27 deletions edge-apps/blueprint/bun.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions edge-apps/blueprint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"prettier": "./.prettierrc.json",
"dependencies": {
"@photostructure/tz-lookup": "^11.4.0",
"@sentry/vue": "^10.34.0",
"@typescript-eslint/typescript-estree": "^8.53.0",
"@sentry/vue": "^10.35.0",
"@typescript-eslint/typescript-estree": "^8.53.1",
"country-locale-map": "^1.9.11",
"dayjs": "^1.11.19",
"offline-geocode-city": "^1.0.2",
"pinia": "^3.0.4",
"vue": "^3.5.26",
"vue": "^3.5.27",
"yaml": "^2.8.2"
},
"devDependencies": {
Expand All @@ -39,7 +39,7 @@
"sass-embedded": "^1.97.2",
"typescript": "~5.9.3",
"vite": "^7.3.1",
"vite-plugin-static-copy": "^3.1.4",
"vite-plugin-static-copy": "^3.1.5",
"vite-plugin-vue-devtools": "^8.0.5",
"vitest": "^4.0.17",
"vue-tsc": "^3.2.2"
Expand Down
5 changes: 5 additions & 0 deletions edge-apps/clock-new/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
build
screenly.js
.DS_Store
6 changes: 6 additions & 0 deletions edge-apps/clock-new/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"printWidth": 80
}
62 changes: 62 additions & 0 deletions edge-apps/clock-new/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Clock New

Clock Edge App

## Development

```bash
# Install dependencies
bun install

# Start dev server with hot reload
bun run dev
```

Open http://localhost:5173 in your browser.

### Dev Tools

In development mode, you'll see:
- 📐 **Safe zone overlay** (dashed lines showing the 5% padding)
- 📊 **Info panel** (viewport, resolution, scale factor)
- ⌨️ **Press "D"** to toggle the overlay on/off

**These are automatically hidden in production builds!**

## Building

```bash
# Build for production
bun run build
```

## Deployment

```bash
# Deploy to Screenly
bun run deploy
```

## Project Structure

```
clock-new/
├── src/
│ ├── main.ts # Main entry point
│ └── styles.css # Tailwind CSS
├── static/ # Built assets
├── index.html # HTML template
├── screenly.yml # Screenly manifest
└── package.json # Dependencies
```

## Using the Library

This app uses `@screenly/edge-apps` for:
- **Auto-scaling** - Content scales from 1920×1080 to any screen
- **Safe zones** - Prevents TV overscan cropping
- **Theme integration** - Automatic Screenly branding
- **Settings & Metadata** - Access to Screenly configuration

See the [library documentation](../edge-apps-library/README.md) for more details.

Binary file not shown.
Binary file added edge-apps/clock-new/assets/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions edge-apps/clock-new/assets/images/icons/chancesleet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions edge-apps/clock-new/assets/images/icons/clear-night.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions edge-apps/clock-new/assets/images/icons/clear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions edge-apps/clock-new/assets/images/icons/cloudy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions edge-apps/clock-new/assets/images/icons/drizzle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions edge-apps/clock-new/assets/images/icons/fewdrops.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions edge-apps/clock-new/assets/images/icons/fog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions edge-apps/clock-new/assets/images/icons/haze.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions edge-apps/clock-new/assets/images/icons/mostly-cloudy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions edge-apps/clock-new/assets/images/icons/partially-cloudy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions edge-apps/clock-new/assets/images/icons/partlysunny.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions edge-apps/clock-new/assets/images/icons/rain-night.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions edge-apps/clock-new/assets/images/icons/rainy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading