style: format

This commit is contained in:
codytseng
2025-11-07 10:54:04 +08:00
parent 9615a7e778
commit 0e550d2511
22 changed files with 52 additions and 38 deletions

View File

@@ -7,7 +7,7 @@ services:
args:
VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
ports:
- "8089:80"
- '8089:80'
restart: unless-stopped
networks:
- jumble
@@ -20,7 +20,7 @@ services:
- ENABLE_PPROF=true
- PORT=8080
ports:
- "8090:8080"
- '8090:8080'
networks:
- jumble
@@ -28,7 +28,7 @@ services:
image: scsibug/nostr-rs-relay:latest
container_name: jumble-nostr-relay
ports:
- "7000:8080"
- '7000:8080'
environment:
- RUST_LOG=warn,nostr_rs_relay=info
volumes:

View File

@@ -1,4 +1,4 @@
version: "3.8"
version: '3.8'
services:
jumble:
@@ -9,7 +9,7 @@ services:
args:
VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
ports:
- "8089:80"
- '8089:80'
restart: unless-stopped
networks:
- jumble
@@ -22,7 +22,7 @@ services:
- ENABLE_PPROF=true
- PORT=8080
ports:
- "8090:8080"
- '8090:8080'
networks:
- jumble

View File

@@ -5,16 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>Jumble</title>
<meta
name="description"
content="A user-friendly Nostr client for exploring relay feeds"
/>
<meta name="description" content="A user-friendly Nostr client for exploring relay feeds" />
<meta
name="keywords"
content="jumble, nostr, web, client, relay, feed, social, pwa, simple, clean"
/>
<meta name="apple-mobile-web-app-title" content="Jumble" />
<meta name="apple-mobile-web-app-title" content="Jumble" />
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml" />
<meta name="theme-color" content="#171717" media="(prefers-color-scheme: dark)" />

View File

@@ -6,7 +6,7 @@ export function useFetchWebMetadata(url: string) {
const [metadata, setMetadata] = useState<TWebMetadata>({})
const proxyServer = import.meta.env.VITE_PROXY_SERVER
if (proxyServer) {
url = `${proxyServer}/sites/${encodeURIComponent(url)}`
url = `${proxyServer}/sites/${encodeURIComponent(url)}`
}
useEffect(() => {

View File

@@ -491,6 +491,6 @@ export default {
'Explore Relays': 'استكشف المرحلات',
'Choose a feed': 'اختر خلاصة',
'and {{x}} others': 'و {{x}} آخرون',
selfZapWarning: 'Jumble غير مسؤولة عما يحدث إذا أرسلت zap لنفسك. تابع على مسؤوليتك الخاصة. 😉⚡',
selfZapWarning: 'Jumble غير مسؤولة عما يحدث إذا أرسلت zap لنفسك. تابع على مسؤوليتك الخاصة. 😉⚡'
}
}

View File

@@ -505,6 +505,7 @@ export default {
'Explore Relays': 'Relays erkunden',
'Choose a feed': 'Wähle einen Feed',
'and {{x}} others': 'und {{x}} andere',
selfZapWarning: 'Jumble ist nicht verantwortlich für das, was passiert, wenn Sie sich selbst zappen. Fahren Sie auf eigene Gefahr fort. 😉⚡',
selfZapWarning:
'Jumble ist nicht verantwortlich für das, was passiert, wenn Sie sich selbst zappen. Fahren Sie auf eigene Gefahr fort. 😉⚡'
}
}

View File

@@ -490,6 +490,7 @@ export default {
'Explore Relays': 'Explore Relays',
'Choose a feed': 'Choose a feed',
'and {{x}} others': 'and {{x}} others',
selfZapWarning: 'Jumble is not responsible for what happens if you zap yourself. Proceed at your own risk. 😉⚡',
selfZapWarning:
'Jumble is not responsible for what happens if you zap yourself. Proceed at your own risk. 😉⚡'
}
}

View File

@@ -499,6 +499,7 @@ export default {
'Explore Relays': 'Explorar Relays',
'Choose a feed': 'Elige un feed',
'and {{x}} others': 'y {{x}} otros',
selfZapWarning: 'Jumble no se hace responsable de lo que suceda si te zapeas a ti mismo. Procede bajo tu propio riesgo. 😉⚡',
selfZapWarning:
'Jumble no se hace responsable de lo que suceda si te zapeas a ti mismo. Procede bajo tu propio riesgo. 😉⚡'
}
}

View File

@@ -494,6 +494,7 @@ export default {
'Explore Relays': 'کاوش در رله‌ها',
'Choose a feed': 'یک فید انتخاب کنید',
'and {{x}} others': 'و {{x}} دیگر',
selfZapWarning: 'Jumble مسئولیتی در قبال اتفاقاتی که در صورت ارسال zap به خودتان می‌افتد ندارد. با مسئولیت خود ادامه دهید. 😉⚡',
selfZapWarning:
'Jumble مسئولیتی در قبال اتفاقاتی که در صورت ارسال zap به خودتان می‌افتد ندارد. با مسئولیت خود ادامه دهید. 😉⚡'
}
}

View File

@@ -504,6 +504,7 @@ export default {
'Explore Relays': 'Explorer les relais',
'Choose a feed': 'Choisir un fil',
'and {{x}} others': 'et {{x}} autres',
selfZapWarning: "Jumble n'est pas responsable de ce qui se passe si vous vous zappez vous-même. Procédez à vos risques et périls. 😉⚡",
selfZapWarning:
"Jumble n'est pas responsable de ce qui se passe si vous vous zappez vous-même. Procédez à vos risques et périls. 😉⚡"
}
}

View File

@@ -496,6 +496,7 @@ export default {
'Explore Relays': 'रिले एक्सप्लोर करें',
'Choose a feed': 'एक फीड चुनें',
'and {{x}} others': 'और {{x}} अन्य',
selfZapWarning: 'Jumble आपके द्वारा स्वयं को zap करने पर क्या होता है, इसके लिए जिम्मेदार नहीं है। अपनी जोखिम पर आगे बढ़ें। 😉⚡',
selfZapWarning:
'Jumble आपके द्वारा स्वयं को zap करने पर क्या होता है, इसके लिए जिम्मेदार नहीं है। अपनी जोखिम पर आगे बढ़ें। 😉⚡'
}
}

View File

@@ -51,9 +51,9 @@ export default {
'switch to system theme': 'alapértelmezett téma',
Note: 'Poszt',
note: 'poszt',
"username's following": "{{username}} követi",
"username's used relays": "{{username}} csomópontjai",
"username's muted": "{{username}} némításai",
"username's following": '{{username}} követi',
"username's used relays": '{{username}} csomópontjai',
"username's muted": '{{username}} némításai',
Login: 'Belépés',
'Follows you': 'Követ téged',
'Relay Settings': 'Csomópont Beállítások',
@@ -128,7 +128,7 @@ export default {
'Az írt csomópontokra küldöd a saját eseményeidet. Mások itt fogják keresni az általad publikált eseményeket.',
'read & write relays notice':
'Az írt és az olvasott csomópontok száma általában 2 és 4 között ideális.',
"Don't have an account yet?": "Nincs még profilod?",
"Don't have an account yet?": 'Nincs még profilod?',
'or simply generate a private key': 'vagy generálj egy titkos kulcsot',
'This is a private key. Do not share it with anyone. Keep it safe and secure. You will not be able to recover it if you lose it.':
'Ez egy titkos kulcs. Ne mutasd meg senkinek. Tartsd biztonságos helyen. Ha elveszíted, nem fogsz tudhi hozzáférni a profilodhoz.',
@@ -139,7 +139,8 @@ export default {
'Nostr Address (NIP-05)': 'Nostr Cím (NIP-05)',
'Invalid NIP-05 address': 'Hibás NIP-05 cím',
'Copy private key': 'Titkos kulcs másolása',
'Enter the password to decrypt your ncryptsec': 'Írd be a jelszót a titkos kulcsodhoz (ncryptsec)',
'Enter the password to decrypt your ncryptsec':
'Írd be a jelszót a titkos kulcsodhoz (ncryptsec)',
Back: 'Vissza',
'optional: encrypt nsec': 'opcionális: titkos kulcs védelme jelszóval',
password: 'jelszó',
@@ -207,7 +208,7 @@ export default {
'no more replies': 'nincs több válasz',
'Relay sets': 'Csomópont listák',
'Favorite Relays': 'Kedvenc Csomópontok',
"Following's Favorites": "Követettek kedvencei",
"Following's Favorites": 'Követettek kedvencei',
'no more relays': 'nincs több csomópont',
'Favorited by': 'Kedvencnek beállították',
'Post settings': 'Poszt beállítások',
@@ -310,7 +311,8 @@ export default {
'Allow multiple choices': 'Több is megjelölhető',
'End Date (optional)': 'Szavazás Vége (opcionális)',
'Clear end date': 'Vége Időpont törlése',
'Relay URLs (optional, comma-separated)': 'Csomópont URL-ek (opcionális, vesszővel elválasztva)',
'Relay URLs (optional, comma-separated)':
'Csomópont URL-ek (opcionális, vesszővel elválasztva)',
'Remove poll': 'Szavazás törlése',
'Refresh results': 'Eredmények frissítése',
Poll: 'Szavazás',
@@ -353,7 +355,7 @@ export default {
'A csomópont beállításaid nem optimálisak. Ez megnehezítheti, hogy mások olvassák a posztjaidat és az értesítéseid is hiányosak lehetnek.',
'Optimize Now': 'Optimizálás Most',
'Maybe Later': 'Talán Később',
"Don't remind me again": "Nem kérek emlékeztetőt",
"Don't remind me again": 'Nem kérek emlékeztetőt',
Posts: 'Posztok',
Articles: 'Cikkek',
Highlights: 'Kiemelések',
@@ -442,7 +444,8 @@ export default {
'Connect to your Rizful Vault': 'Csatlakoztasd a Rizful Vault-odat',
'Paste your one-time code here': 'Másold ide az egyszeri kódot',
Connect: 'Csatlakoztatás',
'Set up your wallet to send and receive sats!': 'Állítsd be a tárcát, hogy küldhess és fogadhass satokat!',
'Set up your wallet to send and receive sats!':
'Állítsd be a tárcát, hogy küldhess és fogadhass satokat!',
'Set up': 'Beállítás',
Pinned: 'Kitűzve',
Unpin: 'Kitűzés eltávolítása',

View File

@@ -499,6 +499,7 @@ export default {
'Explore Relays': 'Esplora Relay',
'Choose a feed': 'Scegli un feed',
'and {{x}} others': 'e altri {{x}}',
selfZapWarning: 'Jumble non è responsabile di ciò che accade se zappi te stesso. Procedi a tuo rischio e pericolo. 😉⚡',
selfZapWarning:
'Jumble non è responsabile di ciò che accade se zappi te stesso. Procedi a tuo rischio e pericolo. 😉⚡'
}
}

View File

@@ -495,6 +495,7 @@ export default {
'Explore Relays': 'リレーを探索',
'Choose a feed': 'フィードを選択',
'and {{x}} others': 'および他{{x}}人',
selfZapWarning: 'Jumble は、あなたが自分自身にザップした場合の結果について責任を負いません。自己責任で続行してください。😉⚡',
selfZapWarning:
'Jumble は、あなたが自分自身にザップした場合の結果について責任を負いません。自己責任で続行してください。😉⚡'
}
}

View File

@@ -495,6 +495,7 @@ export default {
'Explore Relays': '릴레이 탐색',
'Choose a feed': '피드 선택',
'and {{x}} others': '및 기타 {{x}}명',
selfZapWarning: 'Jumble은 자신에게 Zap을 보낼 때 발생하는 일에 대해 책임을 지지 않습니다. 본인의 책임 하에 진행하세요. 😉⚡',
selfZapWarning:
'Jumble은 자신에게 Zap을 보낼 때 발생하는 일에 대해 책임을 지지 않습니다. 본인의 책임 하에 진행하세요. 😉⚡'
}
}

View File

@@ -499,6 +499,7 @@ export default {
'Explore Relays': 'Eksploruj Relay',
'Choose a feed': 'Wybierz feed',
'and {{x}} others': 'i {{x}} innych',
selfZapWarning: 'Jumble nie ponosi odpowiedzialności za to, co się stanie, jeśli zappujesz samego siebie. Kontynuuj na własne ryzyko. 😉⚡',
selfZapWarning:
'Jumble nie ponosi odpowiedzialności za to, co się stanie, jeśli zappujesz samego siebie. Kontynuuj na własne ryzyko. 😉⚡'
}
}

View File

@@ -496,6 +496,7 @@ export default {
'Explore Relays': 'Explorar Relays',
'Choose a feed': 'Escolha um feed',
'and {{x}} others': 'e {{x}} outros',
selfZapWarning: 'Jumble não é responsável pelo que acontece se você zap a si mesmo. Prossiga por sua conta e risco. 😉⚡',
selfZapWarning:
'Jumble não é responsável pelo que acontece se você zap a si mesmo. Prossiga por sua conta e risco. 😉⚡'
}
}

View File

@@ -499,6 +499,7 @@ export default {
'Explore Relays': 'Explorar Relays',
'Choose a feed': 'Escolha um feed',
'and {{x}} others': 'e {{x}} outros',
selfZapWarning: 'Jumble não é responsável pelo que acontece se você zap a si mesmo. Prossiga por sua conta e risco. 😉⚡',
selfZapWarning:
'Jumble não é responsável pelo que acontece se você zap a si mesmo. Prossiga por sua conta e risco. 😉⚡'
}
}

View File

@@ -501,6 +501,7 @@ export default {
'Explore Relays': 'Исследовать Relay',
'Choose a feed': 'Выберите ленту',
'and {{x}} others': 'и {{x}} других',
selfZapWarning: 'Jumble не несет ответственности за то, что произойдет, если вы отправите zap самому себе. Продолжайте на свой страх и риск. 😉⚡',
selfZapWarning:
'Jumble не несет ответственности за то, что произойдет, если вы отправите zap самому себе. Продолжайте на свой страх и риск. 😉⚡'
}
}

View File

@@ -489,6 +489,7 @@ export default {
'Explore Relays': 'สำรวจรีเลย์',
'Choose a feed': 'เลือกฟีด',
'and {{x}} others': 'และอื่น ๆ {{x}} รายการ',
selfZapWarning: 'Jumble ไม่รับผิดชอบต่อสิ่งที่เกิดขึ้นหากคุณ zap ตัวเอง ดำเนินการด้วยความเสี่ยงของคุณเอง 😉⚡',
selfZapWarning:
'Jumble ไม่รับผิดชอบต่อสิ่งที่เกิดขึ้นหากคุณ zap ตัวเอง ดำเนินการด้วยความเสี่ยงของคุณเอง 😉⚡'
}
}

View File

@@ -487,6 +487,6 @@ export default {
'Explore Relays': '探索服务器',
'Choose a feed': '选择一个动态',
'and {{x}} others': '和其他 {{x}} 人',
selfZapWarning: 'Jumble 对您给自己打赏所发生的事情概不负责。风险自负。😉⚡',
selfZapWarning: 'Jumble 对您给自己打赏所发生的事情概不负责。风险自负。😉⚡'
}
}

View File

@@ -11,7 +11,7 @@ export function getInvoiceDetails(invoice: string): { amount: number; descriptio
const _invoice = new Invoice({ pr: invoice }) // TODO: need to validate
return {
amount: _invoice.satoshi,
description: _invoice.description,
description: _invoice.description
}
}