From 22b47c2a2f6d0c2abbe8a2045bd3f48b4efd2911 Mon Sep 17 00:00:00 2001 From: luxick Date: Wed, 1 Oct 2025 15:36:17 +0200 Subject: [PATCH] Update copilot folder --- .copilot/used-promts/01.Md | 9 --------- .copilot/used-promts/02.md | 13 ------------- .copilot/used-promts/03.md | 7 ------- .github/copilot-instructions.md | 1 + 4 files changed, 1 insertion(+), 29 deletions(-) delete mode 100755 .copilot/used-promts/01.Md delete mode 100644 .copilot/used-promts/02.md delete mode 100644 .copilot/used-promts/03.md create mode 100644 .github/copilot-instructions.md diff --git a/.copilot/used-promts/01.Md b/.copilot/used-promts/01.Md deleted file mode 100755 index a8d5fa9..0000000 --- a/.copilot/used-promts/01.Md +++ /dev/null @@ -1,9 +0,0 @@ -# A web application - -Create a simple web application using these Requirements: -- nim programming language -- single binary output -- HTMX for frontend interactivity -- TUI.CSS css framework for a retro look - -create a scaffolding for the project and explain your choices. \ No newline at end of file diff --git a/.copilot/used-promts/02.md b/.copilot/used-promts/02.md deleted file mode 100644 index e68c7a5..0000000 --- a/.copilot/used-promts/02.md +++ /dev/null @@ -1,13 +0,0 @@ -Change the asset handling to the following requirements: -- 2 Kinds of static assets - - Compiled into the binary (for example, images, css, js) called "static" - - Served from a defined folder (for example, user uploaded files) called "assets" -- statics are compiled into the binary and are served from a single handler -- Assets are served from a defined folder are served from a different handler -- The static handler uses a table to store all the static files -- The assets handler serves files from a defined folder on the filesystem - -Additional requirements: -- make the htmx lib a static asset -- add a www folder for the assets -- add a demo asset file to the www folder \ No newline at end of file diff --git a/.copilot/used-promts/03.md b/.copilot/used-promts/03.md deleted file mode 100644 index 79775e2..0000000 --- a/.copilot/used-promts/03.md +++ /dev/null @@ -1,7 +0,0 @@ -CHange the handling of static files: -- The entire `static/` directory is now compiled into the binary, not just specific files. -- The server serves static files from an in-memory table instead of reading from disk. -- The static files are linked by their paths under `/static/` in the HTML template. - - This includes the `/static/` part of the path -- The intention is that static assets can reference each other using relative paths. (e.g. CSS referencing images) -- The `www/` directory remains for user uploads, served from disk. diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..fa755ff --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1 @@ +- Do not end with a summary or explanation \ No newline at end of file