Skip to content

Commit

Permalink
deploy: 9d1edee
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Mar 7, 2024
1 parent b047629 commit a53b33a
Show file tree
Hide file tree
Showing 8 changed files with 230 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body><h1>Repositories</h1><a href="samples/">samples</a><br></body></html>
Binary file added samples/QR Message Board.zip
Binary file not shown.
Binary file added samples/QR Message Board/image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
206 changes: 206 additions & 0 deletions samples/QR Message Board/scenes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
[
{
"default": true,
"edges": [
{
"id": "ce55c95a-d890-4eaf-bf1b-13ffcba51dc9",
"source": "8174a506-d5d4-4264-8472-8ae5a0b5f645",
"sourceHandle": "next",
"target": "933a782b-a6c4-4a42-b1b1-0db075c6d90c",
"targetHandle": "prev"
},
{
"id": "5062b48d-81b5-48af-9ec8-728ce49e9b9b",
"source": "933a782b-a6c4-4a42-b1b1-0db075c6d90c",
"sourceHandle": "next",
"target": "eb54d359-2986-4012-8b49-a034437ebdeb",
"targetHandle": "prev"
},
{
"id": "f16ee7aa-c727-49dc-8a4b-bc5815a982c8",
"source": "eb54d359-2986-4012-8b49-a034437ebdeb",
"sourceHandle": "next",
"target": "500000cd-2952-496a-95c3-0575e1f63571",
"targetHandle": "prev"
},
{
"id": "ebc64daa-9d92-4fe5-a960-f35deea48360",
"source": "500000cd-2952-496a-95c3-0575e1f63571",
"sourceHandle": "next",
"target": "6359b0d1-62c4-4e2e-a9b7-379a4f012049",
"targetHandle": "prev"
},
{
"id": "40ba622b-079c-4bdc-b06c-33542f3c3118",
"source": "8174a506-d5d4-4264-8472-8ae5a0b5f645",
"sourceHandle": "code/state{\"background\"}.getStr()",
"target": "933a782b-a6c4-4a42-b1b1-0db075c6d90c",
"targetHandle": "fieldInput/keyword"
},
{
"id": "61b1d749-dd2f-40d5-a11a-2f381ddb5b18",
"source": "8174a506-d5d4-4264-8472-8ae5a0b5f645",
"sourceHandle": "code/state{\"text\"}.getStr()",
"target": "eb54d359-2986-4012-8b49-a034437ebdeb",
"targetHandle": "fieldInput/text"
},
{
"id": "27e04186-e571-4612-a1da-de7a61395b2f",
"source": "8174a506-d5d4-4264-8472-8ae5a0b5f645",
"sourceHandle": "code/state{\"fontSize\"}.getFloat()",
"target": "eb54d359-2986-4012-8b49-a034437ebdeb",
"targetHandle": "fieldInput/fontSize"
}
],
"fields": [
{
"access": "public",
"label": "Background Image (only one word!)",
"name": "background",
"persist": "disk",
"placeholder": "one word, e.g. nature",
"type": "string",
"value": "nature"
},
{
"access": "public",
"label": "Text to display",
"name": "text",
"persist": "disk",
"type": "text",
"value": "Keep at it!"
},
{
"access": "public",
"label": "Font size",
"name": "fontSize",
"persist": "disk",
"type": "float",
"value": "90.0"
}
],
"id": "dc31c8f9-5c33-4143-a908-c640813b0bf8",
"name": "QR Message Board",
"nodes": [
{
"data": {
"keyword": "render"
},
"dragging": false,
"height": 144,
"id": "8174a506-d5d4-4264-8472-8ae5a0b5f645",
"position": {
"x": 5.588973116178522,
"y": 269.13891897006386
},
"positionAbsolute": {
"x": 5.588973116178522,
"y": 269.13891897006386
},
"selected": false,
"type": "event",
"width": 197
},
{
"data": {
"config": {
"cacheSeconds": "3600"
},
"keyword": "unsplash"
},
"dragging": false,
"height": 130,
"id": "933a782b-a6c4-4a42-b1b1-0db075c6d90c",
"position": {
"x": 290.35503152122044,
"y": 168.01661624328028
},
"positionAbsolute": {
"x": 290.35503152122044,
"y": 168.01661624328028
},
"selected": false,
"type": "app",
"width": 410
},
{
"data": {
"config": {
"borderWidth": "4"
},
"keyword": "text"
},
"dragging": false,
"height": 332,
"id": "eb54d359-2986-4012-8b49-a034437ebdeb",
"position": {
"x": 871.4777406191998,
"y": 258.3135115441166
},
"positionAbsolute": {
"x": 871.4777406191998,
"y": 258.3135115441166
},
"selected": false,
"type": "app",
"width": 303
},
{
"data": {
"config": {
"backgroundColor": "#000000",
"offsetX": "0",
"offsetY": "0",
"padding": "1",
"position": "top-left",
"qrCodeColor": "#ffffff",
"size": "1"
},
"keyword": "qr"
},
"dragging": false,
"height": 444,
"id": "500000cd-2952-496a-95c3-0575e1f63571",
"position": {
"x": 1262.105500453396,
"y": 253.92443559092328
},
"positionAbsolute": {
"x": 1262.105500453396,
"y": 253.92443559092328
},
"selected": false,
"type": "app",
"width": 430
},
{
"data": {
"config": {
"fontSize": "24",
"padding": "5",
"position": "top-right"
},
"keyword": "clock"
},
"dragging": false,
"height": 404,
"id": "6359b0d1-62c4-4e2e-a9b7-379a4f012049",
"position": {
"x": 1760.2656211408262,
"y": 251.72989761432677
},
"positionAbsolute": {
"x": 1760.2656211408262,
"y": 251.72989761432677
},
"selected": false,
"type": "app",
"width": 372
}
],
"settings": {
"backgroundColor": "#000000",
"refreshInterval": 300
}
}
]
9 changes: 9 additions & 0 deletions samples/QR Message Board/template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "QR Message Board",
"description": "A simple message board where you scan the shown QR code, and update its content with your phone.",
"config": null,
"image": "./image.jpg",
"image_width": 480,
"image_height": 800,
"scenes": "./scenes.json"
}
5 changes: 5 additions & 0 deletions samples/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html><body><h1>samples</h1>
<h2>templates</h2>
<a href="repository.json">repository.json</a><br>
<a href="./QR Message Board.zip">QR Message Board.zip</a><br>
</body></html>
3 changes: 3 additions & 0 deletions samples/repo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "FrameOS Samples"
}
6 changes: 6 additions & 0 deletions samples/repository.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"name": "QR Message Board",
"zip": "./QR Message Board.zip"
}
]

0 comments on commit a53b33a

Please sign in to comment.