commit 5348b246d8f36227f7eb84ad9e7ea14061004e9a
Author: root <root@hub.scroll.pub>
Date: 2025-01-02 15:06:15 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..9c4d4c6
--- /dev/null
+++ b/body.html
@@ -0,0 +1,34 @@
+<header>
+ <h1>API Hub</h1>
+ <p>Your Centralized Platform for Managing SDKs and APIs</p>
+</header>
+
+<main>
+ <section class="sdk-section">
+ <h2>Android SDK</h2>
+ <p>Manage and publish your Android SDK with ease.</p>
+ <a href="/android" class="btn">View Details</a>
+ </section>
+
+ <section class="sdk-section">
+ <h2>iOS SDK</h2>
+ <p>Streamline your iOS SDK releases.</p>
+ <a href="/ios" class="btn">View Details</a>
+ </section>
+
+ <section class="sdk-section">
+ <h2>TypeScript SDK/API</h2>
+ <p>Handle your TypeScript SDK and API efficiently.</p>
+ <a href="/ts" class="btn">View Details</a>
+ </section>
+
+ <section class="sdk-section">
+ <h2>Python SDK/API</h2>
+ <p>Organize and deploy your Python SDK and API.</p>
+ <a href="/python" class="btn">View Details</a>
+ </section>
+</main>
+
+<footer>
+ <p>API Hub - Simplifying SDK and API Management</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..dd62887
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://apihub.scroll.pub
+metaTags
+editButton /edit.html
+title API Hub - Manage Your SDKs and APIs
+style.css
+body.html
+script.js
\ No newline at end of file
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..1ef3ab0
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "e48afb47-fc82-4127-baf2-2d4dfb48e97c",
+ "object": "chat.completion",
+ "created": 1735830359,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\napihub.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://apihub.scroll.pub\nmetaTags\neditButton /edit.html\ntitle API Hub - Manage Your SDKs and APIs\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>API Hub</h1>\n <p>Your Centralized Platform for Managing SDKs and APIs</p>\n</header>\n\n<main>\n <section class=\"sdk-section\">\n <h2>Android SDK</h2>\n <p>Manage and publish your Android SDK with ease.</p>\n <a href=\"/android\" class=\"btn\">View Details</a>\n </section>\n\n <section class=\"sdk-section\">\n <h2>iOS SDK</h2>\n <p>Streamline your iOS SDK releases.</p>\n <a href=\"/ios\" class=\"btn\">View Details</a>\n </section>\n\n <section class=\"sdk-section\">\n <h2>TypeScript SDK/API</h2>\n <p>Handle your TypeScript SDK and API efficiently.</p>\n <a href=\"/ts\" class=\"btn\">View Details</a>\n </section>\n\n <section class=\"sdk-section\">\n <h2>Python SDK/API</h2>\n <p>Organize and deploy your Python SDK and API.</p>\n <a href=\"/python\" class=\"btn\">View Details</a>\n </section>\n</main>\n\n<footer>\n <p>API Hub - Simplifying SDK and API Management</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background-color: #f4f4f9;\n color: #333;\n}\n\nheader {\n background-color: #6200ea;\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1.5rem;\n}\n\n.sdk-section {\n background-color: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease, box-shadow 0.3s ease;\n}\n\n.sdk-section:hover {\n transform: translateY(-5px);\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);\n}\n\n.sdk-section h2 {\n margin-top: 0;\n font-size: 1.5rem;\n color: #6200ea;\n}\n\n.sdk-section p {\n font-size: 1rem;\n line-height: 1.5;\n}\n\n.btn {\n display: inline-block;\n padding: 0.75rem 1.5rem;\n background-color: #6200ea;\n color: white;\n text-decoration: none;\n border-radius: 4px;\n transition: background-color 0.3s ease;\n}\n\n.btn:hover {\n background-color: #3700b3;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: #333;\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n main {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\n// JavaScript for any interactive elements can be added here\ndocument.addEventListener('DOMContentLoaded', function() {\n // Example: Add event listeners or dynamic content here\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 263,
+ "completion_tokens": 901,
+ "total_tokens": 1164,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 263
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..0b6ae0e
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# apihub.scroll.pub
+Website generated by DeepSeek from prompt: 我需要一个网站,帮我管理要发布的api,包括:android sdk,ios sdk,ts sdk/api,python sdk/api
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..2973cd0
--- /dev/null
+++ b/script.js
@@ -0,0 +1,4 @@
+// JavaScript for any interactive elements can be added here
+document.addEventListener('DOMContentLoaded', function() {
+ // Example: Add event listeners or dynamic content here
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..e640b97
--- /dev/null
+++ b/style.css
@@ -0,0 +1,91 @@
+body {
+ font-family: 'Arial', sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: #f4f4f9;
+ color: #333;
+}
+
+header {
+ background-color: #6200ea;
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+}
+
+main {
+ padding: 2rem;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1.5rem;
+}
+
+.sdk-section {
+ background-color: white;
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
+}
+
+.sdk-section:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
+}
+
+.sdk-section h2 {
+ margin-top: 0;
+ font-size: 1.5rem;
+ color: #6200ea;
+}
+
+.sdk-section p {
+ font-size: 1rem;
+ line-height: 1.5;
+}
+
+.btn {
+ display: inline-block;
+ padding: 0.75rem 1.5rem;
+ background-color: #6200ea;
+ color: white;
+ text-decoration: none;
+ border-radius: 4px;
+ transition: background-color 0.3s ease;
+}
+
+.btn:hover {
+ background-color: #3700b3;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: #333;
+ color: white;
+ margin-top: 2rem;
+}
+
+@media (max-width: 768px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ main {
+ grid-template-columns: 1fr;
+ }
+}
\ No newline at end of file