Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix: merge duplicate style block and add missing profanity module

nirholasf6e4e19113ca
diff --git a/chat/src/App.svelte b/chat/src/App.svelte
index 4224380dc..0e84fb09e 100644
--- a/chat/src/App.svelte
+++ b/chat/src/App.svelte
@@ -2795,6 +2795,60 @@
width: 7px;
height: 7px;
}
+ :global(body.user-is-touching) .group:focus-within .group-focus-within\:visible {
+ visibility: visible;
+ opacity: 1;
+ }
+ :global(.h-footer-horizon) {
+ background: #F5F4EF !important;
+ color: #1A1A1A !important;
+ border-top: 1px solid #E5E3DC !important;
+ }
+ :global(.h-footer-horizon .h-footer-glow-line, .h-footer-horizon .h-footer-floor, .h-footer-horizon .h-footer-haze, .h-footer-horizon .h-footer-watermark) {
+ display: none;
+ }
+ :global(.h-footer-links a) {
+ color: rgba(0,0,0,0.65) !important;
+ }
+ :global(.h-footer-links a:hover) {
+ color: #000 !important;
+ text-shadow: none !important;
+ }
+ :global(.h-footer-link-heading) {
+ color: rgba(0,0,0,0.45) !important;
+ }
+ :global(.h-footer-brand) {
+ color: #000 !important;
+ }
+ :global(.h-footer-brand .wordmark-dot) {
+ background: #000 !important;
+ box-shadow: none !important;
+ }
+ :global(.h-footer-tagline) {
+ color: rgba(0,0,0,0.55) !important;
+ }
+ :global(.h-footer-legal) {
+ color: rgba(0,0,0,0.52) !important;
+ }
+ :global(.h-footer-legal-links a) {
+ color: rgba(0,0,0,0.65) !important;
+ }
+ :global(.h-footer-social) {
+ color: rgba(0,0,0,0.65) !important;
+ background: rgba(0,0,0,0.03) !important;
+ border-color: rgba(0,0,0,0.06) !important;
+ }
+ :global(.h-footer-social:hover) {
+ color: #000 !important;
+ background: rgba(0,0,0,0.08) !important;
+ border-color: rgba(0,0,0,0.18) !important;
+ }
+ :global(.h-footer-bottom) {
+ border-top: 1px solid rgba(0,0,0,0.06) !important;
+ }
+ :global(.h-footer-inner) {
+ margin-bottom: 2rem;
+ }
</style>
<footer class="h-footer-horizon" style="margin-top: auto;">
@@ -2876,60 +2930,3 @@
</div>
</div>
</footer>
-
-<style>
- :global(body.user-is-touching) .group:focus-within .group-focus-within\:visible {
- visibility: visible;
- opacity: 1;
- }
- :global(.h-footer-horizon) {
- background: #F5F4EF !important;
- color: #1A1A1A !important;
- border-top: 1px solid #E5E3DC !important;
- }
- :global(.h-footer-horizon .h-footer-glow-line, .h-footer-horizon .h-footer-floor, .h-footer-horizon .h-footer-haze, .h-footer-horizon .h-footer-watermark) {
- display: none;
- }
- :global(.h-footer-links a) {
- color: rgba(0,0,0,0.65) !important;
- }
- :global(.h-footer-links a:hover) {
- color: #000 !important;
- text-shadow: none !important;
- }
- :global(.h-footer-link-heading) {
- color: rgba(0,0,0,0.45) !important;
- }
- :global(.h-footer-brand) {
- color: #000 !important;
- }
- :global(.h-footer-brand .wordmark-dot) {
- background: #000 !important;
- box-shadow: none !important;
- }
- :global(.h-footer-tagline) {
- color: rgba(0,0,0,0.55) !important;
- }
- :global(.h-footer-legal) {
- color: rgba(0,0,0,0.52) !important;
- }
- :global(.h-footer-legal-links a) {
- color: rgba(0,0,0,0.65) !important;
- }
- :global(.h-footer-social) {
- color: rgba(0,0,0,0.65) !important;
- background: rgba(0,0,0,0.03) !important;
- border-color: rgba(0,0,0,0.06) !important;
- }
- :global(.h-footer-social:hover) {
- color: #000 !important;
- background: rgba(0,0,0,0.08) !important;
- border-color: rgba(0,0,0,0.18) !important;
- }
- :global(.h-footer-bottom) {
- border-top: 1px solid rgba(0,0,0,0.06) !important;
- }
- :global(.h-footer-inner) {
- margin-bottom: 2rem;
- }
-</style>
diff --git a/public/chat/index.html b/public/chat/index.html
index a85d4b492..71cc59050 100644
--- a/public/chat/index.html
+++ b/public/chat/index.html
@@ -34,6 +34,7 @@
crossorigin="anonymous"
/>
<title>three.ws chat</title>
+ <link rel="stylesheet" href="/footer.css" />
<script type="importmap">
{
@@ -43,8 +44,8 @@
}
}
</script>
- <script type="module" crossorigin src="/chat/assets/index-DRIaITPE.js"></script>
- <link rel="stylesheet" crossorigin href="/chat/assets/index-BvlQ9GOR.css">
+ <script type="module" crossorigin src="/chat/assets/index-2xQ9_xaT.js"></script>
+ <link rel="stylesheet" crossorigin href="/chat/assets/index-BS8U8RZM.css">
</head>
<body>
<div id="app"></div>
diff --git a/src/profanity.js b/src/profanity.js
new file mode 100644
index 000000000..c882b6675
--- /dev/null
+++ b/src/profanity.js
@@ -0,0 +1,59 @@
+/**
+ * Word blacklist used to filter meme-coin events that surface in the
+ * Pump.fun feed widget. Tokens whose name / symbol / description contain
+ * any substring listed here are dropped before rendering.
+ *
+ * Lower-case substring match. Includes common slurs and severe profanity
+ * we never want to render in a public feed embedded on third-party sites.
+ */
+
+export const WORD_BLACKLIST = [
+ 'nigger',
+ 'nigga',
+ 'niglet',
+ 'niggers',
+ 'niggas',
+ 'faggot',
+ 'fagot',
+ 'faggots',
+ 'tranny',
+ 'trannies',
+ 'retard',
+ 'retarded',
+ 'kike',
+ 'kikes',
+ 'chink',
+ 'chinks',
+ 'spic',
+ 'spics',
+ 'gook',
+ 'gooks',
+ 'wetback',
+ 'wetbacks',
+ 'beaner',
+ 'beaners',
+ 'coon',
+ 'coons',
+ 'cunt',
+ 'cunts',
+ 'pedophile',
+ 'pedo',
+ 'pedos',
+ 'cp ',
+ ' cp',
+ 'childporn',
+ 'child porn',
+ 'rape',
+ 'rapist',
+ 'rapists',
+ 'kys',
+ 'killyourself',
+ 'kill yourself',
+ 'jewrat',
+ 'whitepower',
+ 'white power',
+ 'heilhitler',
+ 'heil hitler',
+ 'sieg heil',
+ '1488',
+];