Deploy Nexusmon Community Space
Browse files- README.md +12 -3
- __pycache__/app.cpython-312.pyc +0 -0
- app.py +34 -20
- custom.css +23 -23
README.md
CHANGED
|
@@ -8,7 +8,7 @@ sdk_version: 5.9.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
-
short_description: Public Nexusmon community space with
|
| 12 |
tags:
|
| 13 |
- nexusmon
|
| 14 |
- community
|
|
@@ -25,9 +25,10 @@ It is for:
|
|
| 25 |
|
| 26 |
- ideas
|
| 27 |
- art
|
|
|
|
| 28 |
- launch notes
|
| 29 |
- public questions
|
| 30 |
-
- safe community
|
| 31 |
|
| 32 |
It is not for:
|
| 33 |
|
|
@@ -41,7 +42,7 @@ It is not for:
|
|
| 41 |
|
| 42 |
- gives the public a clean Nexusmon landing surface
|
| 43 |
- keeps the message creative and high-level
|
| 44 |
-
- mints a tiny public-safe
|
| 45 |
- keeps the core sealed by design
|
| 46 |
|
| 47 |
## What to post here
|
|
@@ -50,12 +51,20 @@ It is not for:
|
|
| 50 |
- one short community update
|
| 51 |
- one public-facing question
|
| 52 |
- one safe feature request
|
|
|
|
| 53 |
|
| 54 |
## What stays sealed
|
| 55 |
|
| 56 |
The engine, the wiring, and the private working parts stay inside Nexusmon.
|
| 57 |
This Space only shows the outer story.
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
## Style
|
| 60 |
|
| 61 |
- dark
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
short_description: Public Nexusmon community space with a sealed mythic core.
|
| 12 |
tags:
|
| 13 |
- nexusmon
|
| 14 |
- community
|
|
|
|
| 25 |
|
| 26 |
- ideas
|
| 27 |
- art
|
| 28 |
+
- symbols
|
| 29 |
- launch notes
|
| 30 |
- public questions
|
| 31 |
+
- safe community signals
|
| 32 |
|
| 33 |
It is not for:
|
| 34 |
|
|
|
|
| 42 |
|
| 43 |
- gives the public a clean Nexusmon landing surface
|
| 44 |
- keeps the message creative and high-level
|
| 45 |
+
- mints a tiny public-safe signal from one theme
|
| 46 |
- keeps the core sealed by design
|
| 47 |
|
| 48 |
## What to post here
|
|
|
|
| 51 |
- one short community update
|
| 52 |
- one public-facing question
|
| 53 |
- one safe feature request
|
| 54 |
+
- one symbolic anomaly or ritual note
|
| 55 |
|
| 56 |
## What stays sealed
|
| 57 |
|
| 58 |
The engine, the wiring, and the private working parts stay inside Nexusmon.
|
| 59 |
This Space only shows the outer story.
|
| 60 |
|
| 61 |
+
## Tone
|
| 62 |
+
|
| 63 |
+
- mythic
|
| 64 |
+
- minimal
|
| 65 |
+
- secretive
|
| 66 |
+
- anomaly-led
|
| 67 |
+
|
| 68 |
## Style
|
| 69 |
|
| 70 |
- dark
|
__pycache__/app.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ
|
|
|
app.py
CHANGED
|
@@ -20,11 +20,22 @@ def _community_spark(theme: str) -> str:
|
|
| 20 |
topic = _clean(theme) or "one creative thing to explore"
|
| 21 |
return "\n".join(
|
| 22 |
[
|
| 23 |
-
"###
|
| 24 |
f"- **Theme:** {topic}",
|
| 25 |
-
"- **Public angle:**
|
| 26 |
-
"
|
| 27 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
]
|
| 29 |
)
|
| 30 |
|
|
@@ -78,14 +89,14 @@ def build_ui() -> gr.Blocks:
|
|
| 78 |
<div class="nx-hero">
|
| 79 |
<h1 class="nx-title">Nexusmon Community</h1>
|
| 80 |
<p class="nx-sub">
|
| 81 |
-
A public creative ring around Nexusmon. We share
|
| 82 |
-
The engine stays sealed. The
|
| 83 |
</p>
|
| 84 |
<div class="nx-badge-row">
|
| 85 |
-
<span class="nx-badge">
|
| 86 |
-
<span class="nx-badge">
|
|
|
|
| 87 |
<span class="nx-badge">sealed-core</span>
|
| 88 |
-
<span class="nx-badge">no internals</span>
|
| 89 |
</div>
|
| 90 |
</div>
|
| 91 |
"""
|
|
@@ -94,21 +105,21 @@ def build_ui() -> gr.Blocks:
|
|
| 94 |
with gr.Row(equal_height=True):
|
| 95 |
with gr.Column(scale=1, min_width=320):
|
| 96 |
with gr.Group(elem_classes=["nx-card"]):
|
| 97 |
-
gr.Markdown("###
|
| 98 |
gr.Markdown(
|
| 99 |
-
"Drop one theme, one idea, or one post direction. The page returns a tiny public-safe
|
| 100 |
)
|
| 101 |
theme_input = gr.Textbox(
|
| 102 |
label="Theme",
|
| 103 |
lines=3,
|
| 104 |
-
placeholder="Example:
|
| 105 |
)
|
| 106 |
-
spark_btn = gr.Button("Mint
|
| 107 |
spark_out = gr.Markdown()
|
| 108 |
|
| 109 |
with gr.Column(scale=1, min_width=320):
|
| 110 |
with gr.Group(elem_classes=["nx-card"]):
|
| 111 |
-
gr.Markdown("### What stays
|
| 112 |
gr.Markdown(
|
| 113 |
"- engine details\n"
|
| 114 |
"- operator keys\n"
|
|
@@ -120,7 +131,7 @@ def build_ui() -> gr.Blocks:
|
|
| 120 |
with gr.Row():
|
| 121 |
with gr.Column():
|
| 122 |
with gr.Group(elem_classes=["nx-card"]):
|
| 123 |
-
gr.Markdown("### Community
|
| 124 |
gr.Markdown(
|
| 125 |
"1. Keep it creative.\n"
|
| 126 |
"2. Keep it respectful.\n"
|
|
@@ -131,12 +142,15 @@ def build_ui() -> gr.Blocks:
|
|
| 131 |
with gr.Row():
|
| 132 |
with gr.Column():
|
| 133 |
with gr.Group(elem_classes=["nx-card"]):
|
| 134 |
-
gr.Markdown("###
|
| 135 |
gr.Markdown(
|
| 136 |
-
"
|
| 137 |
-
"-
|
| 138 |
-
"
|
| 139 |
-
"
|
|
|
|
|
|
|
|
|
|
| 140 |
)
|
| 141 |
|
| 142 |
spark_btn.click(fn=_community_spark, inputs=theme_input, outputs=spark_out)
|
|
|
|
| 20 |
topic = _clean(theme) or "one creative thing to explore"
|
| 21 |
return "\n".join(
|
| 22 |
[
|
| 23 |
+
"### Signal",
|
| 24 |
f"- **Theme:** {topic}",
|
| 25 |
+
"- **Public angle:** one short story, image, line, or question.",
|
| 26 |
+
"",
|
| 27 |
+
"### Veil",
|
| 28 |
+
"- Keep the engine hidden.",
|
| 29 |
+
"- Keep the language clean.",
|
| 30 |
+
"- Keep the public side creative.",
|
| 31 |
+
"",
|
| 32 |
+
"### Anomaly matrix",
|
| 33 |
+
"- **Normal:** a simple share with a clear point.",
|
| 34 |
+
"- **Strange:** a tiny symbol, fragment, or ritual note.",
|
| 35 |
+
"- **Secret:** a meaning only the public layer can see.",
|
| 36 |
+
"",
|
| 37 |
+
"### Next rite",
|
| 38 |
+
"Post one thing that feels like a signal, not a leak.",
|
| 39 |
]
|
| 40 |
)
|
| 41 |
|
|
|
|
| 89 |
<div class="nx-hero">
|
| 90 |
<h1 class="nx-title">Nexusmon Community</h1>
|
| 91 |
<p class="nx-sub">
|
| 92 |
+
A public creative ring around Nexusmon. We share symbols, stories, and small transmissions here.
|
| 93 |
+
The engine stays sealed. The anomaly stays beautiful.
|
| 94 |
</p>
|
| 95 |
<div class="nx-badge-row">
|
| 96 |
+
<span class="nx-badge">mythic</span>
|
| 97 |
+
<span class="nx-badge">minimal</span>
|
| 98 |
+
<span class="nx-badge">secret-anomaly</span>
|
| 99 |
<span class="nx-badge">sealed-core</span>
|
|
|
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
"""
|
|
|
|
| 105 |
with gr.Row(equal_height=True):
|
| 106 |
with gr.Column(scale=1, min_width=320):
|
| 107 |
with gr.Group(elem_classes=["nx-card"]):
|
| 108 |
+
gr.Markdown("### Mint a signal")
|
| 109 |
gr.Markdown(
|
| 110 |
+
"Drop one theme, one idea, or one post direction. The page returns a tiny public-safe signal."
|
| 111 |
)
|
| 112 |
theme_input = gr.Textbox(
|
| 113 |
label="Theme",
|
| 114 |
lines=3,
|
| 115 |
+
placeholder="Example: ritual launch note, fan art, community question, weekly recap",
|
| 116 |
)
|
| 117 |
+
spark_btn = gr.Button("Mint signal", variant="primary")
|
| 118 |
spark_out = gr.Markdown()
|
| 119 |
|
| 120 |
with gr.Column(scale=1, min_width=320):
|
| 121 |
with gr.Group(elem_classes=["nx-card"]):
|
| 122 |
+
gr.Markdown("### What stays sealed")
|
| 123 |
gr.Markdown(
|
| 124 |
"- engine details\n"
|
| 125 |
"- operator keys\n"
|
|
|
|
| 131 |
with gr.Row():
|
| 132 |
with gr.Column():
|
| 133 |
with gr.Group(elem_classes=["nx-card"]):
|
| 134 |
+
gr.Markdown("### Community rite")
|
| 135 |
gr.Markdown(
|
| 136 |
"1. Keep it creative.\n"
|
| 137 |
"2. Keep it respectful.\n"
|
|
|
|
| 142 |
with gr.Row():
|
| 143 |
with gr.Column():
|
| 144 |
with gr.Group(elem_classes=["nx-card"]):
|
| 145 |
+
gr.Markdown("### Anomaly matrix")
|
| 146 |
gr.Markdown(
|
| 147 |
+
"| State | Public reading |\n"
|
| 148 |
+
"| --- | --- |\n"
|
| 149 |
+
"| Normal | Clean community note |\n"
|
| 150 |
+
"| Strange | Fragment, symbol, or omen |\n"
|
| 151 |
+
"| Secret | Meaning hidden in plain sight |\n"
|
| 152 |
+
"\n"
|
| 153 |
+
"You can use it to shape posts, prompts, and public rituals."
|
| 154 |
)
|
| 155 |
|
| 156 |
spark_btn.click(fn=_community_spark, inputs=theme_input, outputs=spark_out)
|
custom.css
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
|
| 3 |
:root {
|
| 4 |
--nx-bg-0: #07080f;
|
| 5 |
-
--nx-bg-1: #
|
| 6 |
--nx-bg-2: #111827;
|
| 7 |
-
--nx-line: rgba(120, 200, 255, 0.
|
| 8 |
-
--nx-line-strong: rgba(120, 200, 255, 0.
|
| 9 |
-
--nx-glow-cyan: rgba(0, 174, 242, 0.
|
| 10 |
-
--nx-glow-amber: rgba(255, 178, 0, 0.
|
| 11 |
--nx-text: #ecf7ff;
|
| 12 |
--nx-muted: #8ba4c7;
|
| 13 |
--nx-accent: #00aef2;
|
|
@@ -19,9 +19,9 @@
|
|
| 19 |
margin: 0 auto !important;
|
| 20 |
font-family: "Outfit", system-ui, sans-serif !important;
|
| 21 |
background:
|
| 22 |
-
radial-gradient(900px 600px at 10% -10%, rgba(0, 174, 242, 0.
|
| 23 |
-
radial-gradient(900px 500px at 90% 0%, rgba(255, 178, 0, 0.
|
| 24 |
-
radial-gradient(1200px 700px at 50% 115%, rgba(35, 198, 255, 0.
|
| 25 |
linear-gradient(180deg, var(--nx-bg-0), var(--nx-bg-1) 44%, var(--nx-bg-2)) !important;
|
| 26 |
color: var(--nx-text) !important;
|
| 27 |
}
|
|
@@ -51,8 +51,8 @@ footer {
|
|
| 51 |
border-radius: 24px;
|
| 52 |
background:
|
| 53 |
linear-gradient(135deg, rgba(10, 15, 28, 0.92), rgba(16, 24, 39, 0.82)),
|
| 54 |
-
radial-gradient(120% 140% at 0% 0%, rgba(0, 174, 242, 0.
|
| 55 |
-
radial-gradient(90% 120% at 100% 0%, rgba(255, 178, 0, 0.
|
| 56 |
box-shadow:
|
| 57 |
0 0 0 1px rgba(0, 0, 0, 0.4),
|
| 58 |
0 26px 90px -28px rgba(0, 0, 0, 0.72),
|
|
@@ -63,9 +63,9 @@ footer {
|
|
| 63 |
content: "";
|
| 64 |
position: absolute;
|
| 65 |
inset: -1px;
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
repeating-linear-gradient(90deg, transparent, transparent
|
| 69 |
opacity: 0.65;
|
| 70 |
pointer-events: none;
|
| 71 |
}
|
|
@@ -85,8 +85,8 @@ footer {
|
|
| 85 |
z-index: 1;
|
| 86 |
font-family: "Outfit", sans-serif;
|
| 87 |
font-weight: 800;
|
| 88 |
-
font-size: clamp(2rem,
|
| 89 |
-
letter-spacing: -0.
|
| 90 |
line-height: 0.95;
|
| 91 |
color: var(--nx-text);
|
| 92 |
margin: 0 0 0.5rem;
|
|
@@ -98,9 +98,9 @@ footer {
|
|
| 98 |
position: relative;
|
| 99 |
z-index: 1;
|
| 100 |
color: rgba(235, 247, 255, 0.78);
|
| 101 |
-
font-size:
|
| 102 |
-
max-width:
|
| 103 |
-
line-height: 1.
|
| 104 |
margin: 0;
|
| 105 |
}
|
| 106 |
|
|
@@ -110,7 +110,7 @@ footer {
|
|
| 110 |
display: flex;
|
| 111 |
flex-wrap: wrap;
|
| 112 |
gap: 0.55rem;
|
| 113 |
-
margin-top:
|
| 114 |
}
|
| 115 |
|
| 116 |
.nx-badge {
|
|
@@ -121,7 +121,7 @@ footer {
|
|
| 121 |
font-size: 0.72rem;
|
| 122 |
text-transform: uppercase;
|
| 123 |
letter-spacing: 0.12em;
|
| 124 |
-
padding: 0.
|
| 125 |
border-radius: 999px;
|
| 126 |
border: 1px solid var(--nx-line-strong);
|
| 127 |
color: #9fe7ff;
|
|
@@ -134,7 +134,7 @@ footer {
|
|
| 134 |
border: 1px solid var(--nx-line) !important;
|
| 135 |
border-radius: 22px !important;
|
| 136 |
background:
|
| 137 |
-
linear-gradient(180deg, rgba(15, 23, 42, 0.
|
| 138 |
box-shadow:
|
| 139 |
0 18px 50px -30px rgba(0, 0, 0, 0.65),
|
| 140 |
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
@@ -146,8 +146,8 @@ footer {
|
|
| 146 |
position: absolute;
|
| 147 |
inset: 0;
|
| 148 |
background:
|
| 149 |
-
radial-gradient(circle at 20% 0%, rgba(0, 174, 242, 0.
|
| 150 |
-
radial-gradient(circle at 100% 0%, rgba(255, 178, 0, 0.
|
| 151 |
pointer-events: none;
|
| 152 |
}
|
| 153 |
|
|
|
|
| 2 |
|
| 3 |
:root {
|
| 4 |
--nx-bg-0: #07080f;
|
| 5 |
+
--nx-bg-1: #0a0f1b;
|
| 6 |
--nx-bg-2: #111827;
|
| 7 |
+
--nx-line: rgba(120, 200, 255, 0.15);
|
| 8 |
+
--nx-line-strong: rgba(120, 200, 255, 0.24);
|
| 9 |
+
--nx-glow-cyan: rgba(0, 174, 242, 0.18);
|
| 10 |
+
--nx-glow-amber: rgba(255, 178, 0, 0.1);
|
| 11 |
--nx-text: #ecf7ff;
|
| 12 |
--nx-muted: #8ba4c7;
|
| 13 |
--nx-accent: #00aef2;
|
|
|
|
| 19 |
margin: 0 auto !important;
|
| 20 |
font-family: "Outfit", system-ui, sans-serif !important;
|
| 21 |
background:
|
| 22 |
+
radial-gradient(900px 600px at 10% -10%, rgba(0, 174, 242, 0.12), transparent 60%),
|
| 23 |
+
radial-gradient(900px 500px at 90% 0%, rgba(255, 178, 0, 0.08), transparent 55%),
|
| 24 |
+
radial-gradient(1200px 700px at 50% 115%, rgba(35, 198, 255, 0.06), transparent 60%),
|
| 25 |
linear-gradient(180deg, var(--nx-bg-0), var(--nx-bg-1) 44%, var(--nx-bg-2)) !important;
|
| 26 |
color: var(--nx-text) !important;
|
| 27 |
}
|
|
|
|
| 51 |
border-radius: 24px;
|
| 52 |
background:
|
| 53 |
linear-gradient(135deg, rgba(10, 15, 28, 0.92), rgba(16, 24, 39, 0.82)),
|
| 54 |
+
radial-gradient(120% 140% at 0% 0%, rgba(0, 174, 242, 0.1), transparent 52%),
|
| 55 |
+
radial-gradient(90% 120% at 100% 0%, rgba(255, 178, 0, 0.08), transparent 45%);
|
| 56 |
box-shadow:
|
| 57 |
0 0 0 1px rgba(0, 0, 0, 0.4),
|
| 58 |
0 26px 90px -28px rgba(0, 0, 0, 0.72),
|
|
|
|
| 63 |
content: "";
|
| 64 |
position: absolute;
|
| 65 |
inset: -1px;
|
| 66 |
+
background:
|
| 67 |
+
linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
|
| 68 |
+
repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(0, 174, 242, 0.02) 60px, rgba(0, 174, 242, 0.02) 61px);
|
| 69 |
opacity: 0.65;
|
| 70 |
pointer-events: none;
|
| 71 |
}
|
|
|
|
| 85 |
z-index: 1;
|
| 86 |
font-family: "Outfit", sans-serif;
|
| 87 |
font-weight: 800;
|
| 88 |
+
font-size: clamp(2rem, 4.9vw, 3.2rem);
|
| 89 |
+
letter-spacing: -0.045em;
|
| 90 |
line-height: 0.95;
|
| 91 |
color: var(--nx-text);
|
| 92 |
margin: 0 0 0.5rem;
|
|
|
|
| 98 |
position: relative;
|
| 99 |
z-index: 1;
|
| 100 |
color: rgba(235, 247, 255, 0.78);
|
| 101 |
+
font-size: 1rem;
|
| 102 |
+
max-width: 56ch;
|
| 103 |
+
line-height: 1.58;
|
| 104 |
margin: 0;
|
| 105 |
}
|
| 106 |
|
|
|
|
| 110 |
display: flex;
|
| 111 |
flex-wrap: wrap;
|
| 112 |
gap: 0.55rem;
|
| 113 |
+
margin-top: 1rem;
|
| 114 |
}
|
| 115 |
|
| 116 |
.nx-badge {
|
|
|
|
| 121 |
font-size: 0.72rem;
|
| 122 |
text-transform: uppercase;
|
| 123 |
letter-spacing: 0.12em;
|
| 124 |
+
padding: 0.4rem 0.7rem;
|
| 125 |
border-radius: 999px;
|
| 126 |
border: 1px solid var(--nx-line-strong);
|
| 127 |
color: #9fe7ff;
|
|
|
|
| 134 |
border: 1px solid var(--nx-line) !important;
|
| 135 |
border-radius: 22px !important;
|
| 136 |
background:
|
| 137 |
+
linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(12, 17, 29, 0.9)) !important;
|
| 138 |
box-shadow:
|
| 139 |
0 18px 50px -30px rgba(0, 0, 0, 0.65),
|
| 140 |
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
|
|
| 146 |
position: absolute;
|
| 147 |
inset: 0;
|
| 148 |
background:
|
| 149 |
+
radial-gradient(circle at 20% 0%, rgba(0, 174, 242, 0.08), transparent 28%),
|
| 150 |
+
radial-gradient(circle at 100% 0%, rgba(255, 178, 0, 0.05), transparent 20%);
|
| 151 |
pointer-events: none;
|
| 152 |
}
|
| 153 |
|