brugeman on Nostr: Do we need language-filtered feeds? I've added language detection to our relay and ...
Do we need language-filtered feeds?
I've added language detection to our relay and here are convenient filtered feeds: wss://feeds.nostr.band/lang/{LANG_CODE}
Try /lang/ru or /lang/de etc.
A good app to play with relays is Nostrrr:
https://nostrrr.com/relay/nrelay1qq08wumn8ghj7en9v4j8xtnwdaehgu3wvfskuep0d3skuee0dfssy3jex8You can also try sending custom filters to relay.nostr.band like {"kinds":[1],"@lang":["de","ja"]} - there is no NIP for this, but if there is some demand for such stuff we could come up with one.
The detector is CLD2 which isn't too accurate, but extremely fast.
Supported languages and their codes:
AFRIKAANS af
ALBANIAN sq
ARABIC ar
AZERBAIJANI az
BASQUE eu
BELARUSIAN be
BENGALI bn
BIHARI bh
BOSNIAN bs
BULGARIAN bg
CATALAN ca
CEBUANO ceb
CROATIAN hr
CZECH cs
Chinese zh
ChineseT zh-Hant
DANISH da
DUTCH nl
ENGLISH en
ESTONIAN et
FINNISH fi
FRENCH fr
GALICIAN gl
GANDA lg
GERMAN de
GREEK el
HAITIAN_CREOLE ht
HAUSA ha
HEBREW iw
HINDI hi
HMONG hmn
HUNGARIAN hu
ICELANDIC is
IGBO ig
INDONESIAN id
IRISH ga
ITALIAN it
JAVANESE jw
Japanese ja
KINYARWANDA rw
Korean ko
LATVIAN lv
LITHUANIAN lt
MACEDONIAN mk
MALAY ms
MALTESE mt
MARATHI mr
NEPALI ne
NORWEGIAN no
PERSIAN fa
POLISH pl
PORTUGUESE pt
ROMANIAN ro
ROMANIAN ro
RUSSIAN ru
SCOTS_GAELIC gd
SERBIAN sr
SERBIAN sr
SLOVAK sk
SLOVENIAN sl
SOMALI so
SPANISH es
SWAHILI sw
SWEDISH sv
TAGALOG tl
THAI th
TURKISH tr
UKRAINIAN uk
URDU ur
VIETNAMESE vi
WELSH cy
YIDDISH yi
YORUBA yo
ZULU zu
Published at
2023-07-14 11:52:21Event JSON
{
"id": "d09fb9a7d24a1af064eca63746dbd9ebcb486978dd606f11502ca00b90e4e875",
"pubkey": "3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd",
"created_at": 1689335541,
"kind": 1,
"tags": [],
"content": "Do we need language-filtered feeds?\n\nI've added language detection to our relay and here are convenient filtered feeds: wss://feeds.nostr.band/lang/{LANG_CODE}\n\nTry /lang/ru or /lang/de etc.\n\nA good app to play with relays is Nostrrr: https://nostrrr.com/relay/nrelay1qq08wumn8ghj7en9v4j8xtnwdaehgu3wvfskuep0d3skuee0dfssy3jex8\n\nYou can also try sending custom filters to relay.nostr.band like {\"kinds\":[1],\"@lang\":[\"de\",\"ja\"]} - there is no NIP for this, but if there is some demand for such stuff we could come up with one.\n\nThe detector is CLD2 which isn't too accurate, but extremely fast.\n\nSupported languages and their codes:\nAFRIKAANS af\nALBANIAN sq\nARABIC ar\nAZERBAIJANI az\nBASQUE eu\nBELARUSIAN be\nBENGALI bn\nBIHARI bh\nBOSNIAN bs\nBULGARIAN bg\nCATALAN ca\nCEBUANO ceb\nCROATIAN hr\nCZECH cs\nChinese zh\nChineseT zh-Hant\nDANISH da\nDUTCH nl\nENGLISH en\nESTONIAN et\nFINNISH fi\nFRENCH fr\nGALICIAN gl\nGANDA lg\nGERMAN de\nGREEK el\nHAITIAN_CREOLE ht\nHAUSA ha\nHEBREW iw\nHINDI hi\nHMONG hmn\nHUNGARIAN hu\nICELANDIC is\nIGBO ig\nINDONESIAN id\nIRISH ga\nITALIAN it\nJAVANESE jw\nJapanese ja\nKINYARWANDA rw\nKorean ko\nLATVIAN lv\nLITHUANIAN lt\nMACEDONIAN mk\nMALAY ms\nMALTESE mt\nMARATHI mr\nNEPALI ne\nNORWEGIAN no\nPERSIAN fa\nPOLISH pl\nPORTUGUESE pt\nROMANIAN ro\nROMANIAN ro\nRUSSIAN ru\nSCOTS_GAELIC gd\nSERBIAN sr\nSERBIAN sr\nSLOVAK sk\nSLOVENIAN sl\nSOMALI so\nSPANISH es\nSWAHILI sw\nSWEDISH sv\nTAGALOG tl\nTHAI th\nTURKISH tr\nUKRAINIAN uk\nURDU ur\nVIETNAMESE vi\nWELSH cy\nYIDDISH yi\nYORUBA yo\nZULU zu\n",
"sig": "be7b6e3301c0f25a2d775ccd8b344918605558ea1c180db03ac6d9fac0224377988108be2257553dde8dd82c3b83b9927a823b103f5661c3fb279b94880d6eb9"
}