------------------------------------------------------------
commit 8a2df649abe7e734df7f2708ad822bec146560d3
Author: Breck Yunits <breck7@gmail.com>
Date: Wed Dec 18 09:52:59 2024 -0800
diff --git a/live-status-UCgiZJmuxlXqhvBl415tOaCA.json b/live-status-UCgiZJmuxlXqhvBl415tOaCA.json
deleted file mode 100644
index c0d4580..0000000
--- a/live-status-UCgiZJmuxlXqhvBl415tOaCA.json
+++ /dev/null
@@ -1 +0,0 @@
-{"timestamp":1734019530228,"data":{"isLive":true,"videoId":"eYgWEEkodKs","title":"sunlight.","thumbnailUrl":"https://i.ytimg.com/vi/eYgWEEkodKs/default_live.jpg","channelTitle":"OK Banger","startTime":"2024-12-11T18:13:54Z"}}
\ No newline at end of file
diff --git a/live-status-UChEEElYETR8gpc_RL0GGJng.json b/live-status-UChEEElYETR8gpc_RL0GGJng.json
deleted file mode 100644
index fa78974..0000000
--- a/live-status-UChEEElYETR8gpc_RL0GGJng.json
+++ /dev/null
@@ -1 +0,0 @@
-{"timestamp":1733497630268,"data":{"isLive":false,"videoId":"TPkN94OgAog"}}
\ No newline at end of file
diff --git a/live-status-UChIv2ovrTHbZDDIaLFR9P-Q.json b/live-status-UChIv2ovrTHbZDDIaLFR9P-Q.json
deleted file mode 100644
index d37f4ce..0000000
--- a/live-status-UChIv2ovrTHbZDDIaLFR9P-Q.json
+++ /dev/null
@@ -1 +0,0 @@
-{"timestamp":1733415329102,"data":{"isLive":true,"videoId":"BKMJKqQgR48","title":"Smooth Jazz Music | Morning Seaside Cafe Ambience - Jazz Instrumental Music for Stress Relief","thumbnailUrl":"https://i.ytimg.com/vi/BKMJKqQgR48/default_live.jpg","channelTitle":"Relaxing Jazz Coffee","startTime":"2024-03-28T09:41:42Z"}}
\ No newline at end of file
------------------------------------------------------------
commit 949f8c99ac31930de7463c7d929b425711ef0bb3
Author: Breck Yunits <breck7@gmail.com>
Date: Wed Dec 18 09:52:50 2024 -0800
diff --git a/.gitignore b/.gitignore
index b804a56..307fab5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@ package-lock.json
*.mp4
gifs/
downloads/
+.*
+*.json
\ No newline at end of file
------------------------------------------------------------
commit 985cd0c51a0846099a49e8629a0ecf7b4ab5d8d5
Author: Breck Yunits <breck7@gmail.com>
Date: Thu Dec 12 06:06:04 2024 -1000
diff --git a/gifs/eYgWEEkodKs.gif b/gifs/eYgWEEkodKs.gif
index 8bf1ad7..869c879 100644
Binary files a/gifs/eYgWEEkodKs.gif and b/gifs/eYgWEEkodKs.gif differ
diff --git a/live-status-UCgiZJmuxlXqhvBl415tOaCA.json b/live-status-UCgiZJmuxlXqhvBl415tOaCA.json
index f2671cd..c0d4580 100644
--- a/live-status-UCgiZJmuxlXqhvBl415tOaCA.json
+++ b/live-status-UCgiZJmuxlXqhvBl415tOaCA.json
@@ -1 +1 @@
-{"timestamp":1733415200046,"data":{"isLive":false}}
\ No newline at end of file
+{"timestamp":1734019530228,"data":{"isLive":true,"videoId":"eYgWEEkodKs","title":"sunlight.","thumbnailUrl":"https://i.ytimg.com/vi/eYgWEEkodKs/default_live.jpg","channelTitle":"OK Banger","startTime":"2024-12-11T18:13:54Z"}}
\ No newline at end of file
------------------------------------------------------------
commit c28abdaf0c8fd49fe8fff90d012153b413d21814
Author: Breck Yunits <breck7@gmail.com>
Date: Thu Dec 12 06:03:27 2024 -1000
diff --git a/gifs/eYgWEEkodKs.gif b/gifs/eYgWEEkodKs.gif
new file mode 100644
index 0000000..8bf1ad7
Binary files /dev/null and b/gifs/eYgWEEkodKs.gif differ
------------------------------------------------------------
commit ad7986a62267b11a388a673411d5979af379c60b
Author: Breck Yunits <breck7@gmail.com>
Date: Tue Dec 10 06:03:22 2024 -1000
diff --git a/gifs/NwL9rCugShI.gif b/gifs/NwL9rCugShI.gif
new file mode 100644
index 0000000..146a9d0
Binary files /dev/null and b/gifs/NwL9rCugShI.gif differ
------------------------------------------------------------
commit 2dcccf8ecc6a1f31d89a603cf0ca7288c0252977
Author: Breck Yunits <breck7@gmail.com>
Date: Fri Dec 6 13:14:30 2024 -1000
diff --git a/index.scroll b/index.scroll
index 09bf9fb..1632b35 100644
--- a/index.scroll
+++ b/index.scroll
@@ -14,5 +14,6 @@ br 3
</form>
br 3
disk gifs
- compose img <img src="gifs/{name}"/>
- printColumn img
+ orderBy -lastModified
+ compose img <img src="gifs/{name}"/>
+ printColumn img
------------------------------------------------------------
commit ec96856e0feb87faa1c3a3720073bb07280beeba
Author: Breck Yunits <breck7@gmail.com>
Date: Fri Dec 6 13:12:39 2024 -1000
diff --git a/gifs/IN-KZ2DPRkM.gif b/gifs/IN-KZ2DPRkM.gif
new file mode 100644
index 0000000..861a6a1
Binary files /dev/null and b/gifs/IN-KZ2DPRkM.gif differ
------------------------------------------------------------
commit c1c98a93c3111357c5319923bf5d110cdd114aa4
Author: Breck Yunits <breck7@gmail.com>
Date: Fri Dec 6 05:09:27 2024 -1000
diff --git a/frame.scroll b/frame.scroll
deleted file mode 100644
index 52a607f..0000000
--- a/frame.scroll
+++ /dev/null
@@ -1,14 +0,0 @@
-buildTxt
-Below is the source code for WarpCast frames v2.
-
-toStamp ../frames-v2-demo
-
-I want a demo that is MUCH simpler.
-
-No react or next.js.
-
-Plain HTML, css, and Javascript.
-
-Please make that.
-
-
------------------------------------------------------------
commit a5180a23903cc7d6ec3b196737b6ad153cc476a2
Author: Breck Yunits <breck7@gmail.com>
Date: Fri Dec 6 05:07:56 2024 -1000
diff --git a/check.mjs b/check.mjs
index f585fab..8cf135b 100644
--- a/check.mjs
+++ b/check.mjs
@@ -1,4 +1,4 @@
-import { AutoGifCLI } from "./autogif.mjs"
+import { AutoGifCLI } from "./cli.mjs"
try {
const post = JSON.parse(process.env.REQUEST_BODY)
diff --git a/gifs/0FBiyFpV__g.gif b/gifs/0FBiyFpV__g.gif
new file mode 100644
index 0000000..348e668
Binary files /dev/null and b/gifs/0FBiyFpV__g.gif differ
diff --git a/gifs/BKMJKqQgR48.gif b/gifs/BKMJKqQgR48.gif
new file mode 100644
index 0000000..c1e9f59
Binary files /dev/null and b/gifs/BKMJKqQgR48.gif differ
diff --git a/gifs/HhTFLQ-FdVA.gif b/gifs/HhTFLQ-FdVA.gif
new file mode 100644
index 0000000..179f4fb
Binary files /dev/null and b/gifs/HhTFLQ-FdVA.gif differ
diff --git a/index.scroll b/index.scroll
index bd96486..09bf9fb 100644
--- a/index.scroll
+++ b/index.scroll
@@ -13,7 +13,6 @@ br 3
<button type="submit">Get gif</button>
</form>
br 3
-
disk gifs
compose img <img src="gifs/{name}"/>
printColumn img
diff --git a/landing.css b/landing.css
index c746333..1b7eade 100644
--- a/landing.css
+++ b/landing.css
@@ -16,6 +16,7 @@ input {
font-size: 16px;
transition: border-color 0.3s ease;
outline: none;
+ min-width: 300px;
}
button {
@@ -28,4 +29,5 @@ button {
cursor: pointer;
transition: all 0.3s ease;
margin-left: 10px;
+ min-width: 100px;
}
diff --git a/live-status-UChEEElYETR8gpc_RL0GGJng.json b/live-status-UChEEElYETR8gpc_RL0GGJng.json
new file mode 100644
index 0000000..fa78974
--- /dev/null
+++ b/live-status-UChEEElYETR8gpc_RL0GGJng.json
@@ -0,0 +1 @@
+{"timestamp":1733497630268,"data":{"isLive":false,"videoId":"TPkN94OgAog"}}
\ No newline at end of file
------------------------------------------------------------
commit 0fbe1bef8b624021b6b898f6f0c1cb26f29eb4e6
Author: Breck Yunits <breck7@gmail.com>
Date: Fri Dec 6 04:59:13 2024 -1000
diff --git a/check.mjs b/check.mjs
new file mode 100644
index 0000000..f585fab
--- /dev/null
+++ b/check.mjs
@@ -0,0 +1,10 @@
+import { AutoGifCLI } from "./autogif.mjs"
+
+try {
+ const post = JSON.parse(process.env.REQUEST_BODY)
+ const cli = new AutoGifCLI()
+ await cli.checkCommand(process.cwd(), [post.url])
+} catch (error) {
+ console.error("Error:", error.message)
+ process.exit(1)
+}
diff --git a/cli.mjs b/cli.mjs
index 53c80a7..60918e3 100755
--- a/cli.mjs
+++ b/cli.mjs
@@ -226,7 +226,9 @@ class AutoGifCLI extends SimpleCLI {
}
}
-const cli = new AutoGifCLI()
-cli.executeUsersInstructionsFromShell()
+if (import.meta.url === `file://${process.argv[1]}`) {
+ const cli = new AutoGifCLI()
+ cli.executeUsersInstructionsFromShell()
+}
export { AutoGifCLI }
diff --git a/index.scroll b/index.scroll
index 2e50bdc..bd96486 100644
--- a/index.scroll
+++ b/index.scroll
@@ -4,8 +4,14 @@ metaTags
landing.css
container 600px
-# OkBanger AutoGif
+center
+# OkBanger AutoGif
+br 3
+<form method="POST" action="check.mjs">
+<input type="text" name="url">
+<button type="submit">Get gif</button>
+</form>
br 3
disk gifs
diff --git a/landing.css b/landing.css
index 5ee6c6f..c746333 100644
--- a/landing.css
+++ b/landing.css
@@ -9,3 +9,23 @@ body {
background: linear-gradient(45deg, #1a1a2e, #16213e, #1a1a2e);
color: #fff;
}
+input {
+ padding: 12px 16px;
+ border: 2px solid #e0e0e0;
+ border-radius: 8px;
+ font-size: 16px;
+ transition: border-color 0.3s ease;
+ outline: none;
+}
+
+button {
+ padding: 12px 24px;
+ background: #4a90e2;
+ color: white;
+ border: none;
+ border-radius: 8px;
+ font-size: 16px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ margin-left: 10px;
+}