Avatar
Rif'at Ahdi R
2b67e480b7f99d2835684a8f7276d86edbe8e318ea55cf77ccfd559c5f24f645
Special family-friendly relay with filter settings (Language, Safe For Work, Hate speech, Sentiment, Topic, etc) for Global Feed: https://github.com/atrifat/nostr-filter-relay/blob/main/USAGE.md wss://nfrelay.app Indonesian. Learning and interested in PHP, JS, Go, DevOps, Android, and Machine Learning

#NostrFilterRelay module update:

Support custom and hybrid model (Fast Inference for CPU-only device) has been merged. Good news to those who want to self-host in CPU-only device. We've also tested it in mobile phone (using proot and termux) and learn how fast its inference process (milliseconds).

https://nostrcheck.me/media/2b67e480b7f99d2835684a8f7276d86edbe8e318ea55cf77ccfd559c5f24f645/79efb6e56879bb96193deaed438c0404af3f531d8584f171c27acc2544ce868e.webp

Although don't have translation data, there are language classification data for kind1 notes in

wss://nfrelay.app

Can be fetched with filter:

{"kinds":[9978],"#t":["nostr-language-classification"]}

Currently it is in custom kind. It will be migrated into NIP-32 format in the future. Maybe, others can use that.

"Relays are not hot product" - Someone probably.

I think it is probably due to main focus development in Nostr is frontend Nostr clients and some other stuffs. 😅

I think it is probably not. Notes event from mostr bridge has "proxy" tag which linked to original fediverse instance url. If you can query relay manually then you can check based on those proxy tag.

As regular user we can just follow account that we are interested.

Replying to Avatar Yonle

blyat - First stable release

Another #nostr relay aggregator after #bostr.

https://github.com/Yonle/blyat/releases/tag/0.0.1

Это первый стабильный релиз блата после многочисленных промышленных тестов

Установите эту версию с помощью следующей команды:

```

go install github.com/Yonle/blyat@v0.0.1

```

После установки вы можете перезапустить существующую установку

Oh finally bostr rewrite or its sibling 👀

Kurangnya tinggal dikasih latar palet warna abu-abu aja ini 😅

Primal yg belum support Amber. Nostrudel sesama klien web sudah support Amber. Klien lain yg support NIP-46 juga bisa login Amber seharusnya.

Replying to Avatar Sebastix

Release 1.3.0 nostr-php helper library

https://github.com/nostrver-se/nostr-php/releases/tag/1.3.0

Extending NIP-01 with fetching events from relays.

Initial code PR submitted by nostr:npub1ap9fscjl92zclacmaa0nneurr5js85ymuem6ew0ftu8f6eztvpds8qchga 🙏 All zaps on this note will go to him!

Also a huge shoutout to nostr:npub10pensatlcfwktnvjjw2dtem38n6rvw8g6fv73h84cuacxn4c28eqyfn34f for giving me the opportunity to work on the further development of this library 🫡

#PHP #NostrPHP

Awesome, thank you for the works 🙏

> since keeping the notes in the ram is getting costlier, i want to divide nos.lol into two.

Oh, did you set "noReadAhead = false" in lol and mom strfry.conf? I have change it to "true" since my relay database has already bigger than server RAM 😅

What I did as trick to keep some events fresh in memory cache was running cron script that fetch events every hour:

nosdump --kinds 0,1,6,7,9735 --since 24h ws://172.17.0.100:7777 > /dev/null 2>&1

It will force/trick strfry and makes 24 hour last common events fresh in it's memory cache.

> i need a proxy that does this:

I think the one that probably fulfill some of your requirements is bostr proxy relay. It can read from multiple relays. I'm not sure if it can be set to write only 1 relay but read from 2 relays like you said. If not then you need to modify it a little bit.

https://github.com/yonle/bostr

Unfortunately, the proxy relay I'm using currently only support in one server as it has already fulfill my requirements for now. I think I will also probably implement that in future.

Yes, wss://nfrelay.app (demo relay) has been connected to major relays (20+) including nos.lol, nostr.mom, nostr.band

Yes, currently the code were implemented by looking image url file in notes text -> temporary download -> preprocess/resize image -> classify image using tensorflow pretrained model. Quite exhausting to process all notes 😅

Oh, thank you, if you don't mind to share it by DM. Agree with that, especially for the spammers abuse. I use regex filter and anti duplication policy for spam management.

Yes I have run custom aggregator relay with filter parameters/settings (like filter.nostr.wine )

This is the package code for my relay

https://github.com/atrifat/nostr-filter-relay

which needs several separated modules (Language detection, SFW detection, Toxicity/hate speech detection) listed as its dependencies. All modules can be run using CPU.

Are you Indonesian? Mas Fabian? 👀

Kalau benar, Cc nostr:npub1cdak4q4f3h3k3sgyh0rd5dj4w8k95f3mquzh6z3ew76vqkh60e3slyczgz Nostur klien Nostr buatan anak bangsa 🫡