From 688535a0c36bcd17e38c761f11b57292b6709f40 Mon Sep 17 00:00:00 2001 From: NoahMaizels Date: Thu, 28 May 2026 02:10:31 +0700 Subject: [PATCH] chore: add .gitignore for runtime artifacts Ignore .env files (Bee node config), simple-blog generated site output, and simple-blog/config.json and posts.json (written at runtime by the example scripts). --- .gitignore | 4 ++++ simple-blog/config.json | 6 ------ simple-blog/posts.json | 14 -------------- simple-blog/site/index.html | 16 ---------------- simple-blog/site/posts/hello-world.html | 8 -------- simple-blog/site/posts/xss-test.html | 8 -------- 6 files changed, 4 insertions(+), 52 deletions(-) create mode 100644 .gitignore delete mode 100644 simple-blog/config.json delete mode 100644 simple-blog/posts.json delete mode 100644 simple-blog/site/index.html delete mode 100644 simple-blog/site/posts/hello-world.html delete mode 100644 simple-blog/site/posts/xss-test.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..045b9cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.env +simple-blog/config.json +simple-blog/posts.json +simple-blog/site/ diff --git a/simple-blog/config.json b/simple-blog/config.json deleted file mode 100644 index a768805..0000000 --- a/simple-blog/config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "privateKey": "34650dd98c9971618125a78927adfa6fef7b91e4615d97a14fe1f030a74de9e6", - "owner": "dcf18055fda5a47e4f876e5a2314693e97499ed0", - "topic": "blog", - "manifest": "26e5f2833634f002e7ce363f3bfbed0be348d7e134298f26e85bd8ecb8b8344e" -} \ No newline at end of file diff --git a/simple-blog/posts.json b/simple-blog/posts.json deleted file mode 100644 index 3dd4e1c..0000000 --- a/simple-blog/posts.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "slug": "hello-world", - "title": "Hello Swarm!", - "body": "Updated: this is my first post, now improved.", - "date": "2026-03-16T09:54:04.581Z" - }, - { - "slug": "xss-test", - "title": "", - "body": "body with html", - "date": "2026-03-16T09:55:37.180Z" - } -] \ No newline at end of file diff --git a/simple-blog/site/index.html b/simple-blog/site/index.html deleted file mode 100644 index 2fcdac8..0000000 --- a/simple-blog/site/index.html +++ /dev/null @@ -1,16 +0,0 @@ - -My Blog - -

My Blog

-

2 posts

- -
-

<script>alert(1)</script>

- 2026-03-16T09:55:37.180Z -
- -
-

Hello Swarm!

- 2026-03-16T09:54:04.581Z -
- \ No newline at end of file diff --git a/simple-blog/site/posts/hello-world.html b/simple-blog/site/posts/hello-world.html deleted file mode 100644 index 0bad612..0000000 --- a/simple-blog/site/posts/hello-world.html +++ /dev/null @@ -1,8 +0,0 @@ - -Hello Swarm! - -

← Back

-

Hello Swarm!

- 2026-03-16T09:54:04.581Z -
Updated: this is my first post, now improved.
- \ No newline at end of file diff --git a/simple-blog/site/posts/xss-test.html b/simple-blog/site/posts/xss-test.html deleted file mode 100644 index ac8b4f3..0000000 --- a/simple-blog/site/posts/xss-test.html +++ /dev/null @@ -1,8 +0,0 @@ - -<script>alert(1)</script> - -

← Back

-

<script>alert(1)</script>

- 2026-03-16T09:55:37.180Z -
body with <b>html</b>
- \ No newline at end of file