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

Cool. Is this using LLM to generate summary of topic keywords and use NIP-50 relay to search using those keywords? πŸ‘€

Replying to Avatar Sebastix

/cc nostr:npub1s6z7hmmx2vud66f3utxd70qem8cwtggx0jgc7gh8pqwz2k8cltuqrdwk4c in the context of language filtered content, you can try out this relay (and use a client which only will show the content from this relay 🧐)

Yes, nostr client devs can also use directly classification events (NIP-32 kind: 1985) and filter kind: 1

Example:

nak req -k 1985 -t L=app.nfrelay.language wss://nfrelay.app

#NostrFilterRelay v0.4.0 update

"Compatibility bring various apps grow together" 🌱

This release bring important change with NIP-32 compatibility (kind: 1985). Starting from this release, legacy custom event (kind: 9978) that were used for classification data in nostr-filter-relay has been deprecated. Other #nostr apps can freely uses NIP-32 label.

Legacy support is still available by setting nostr-filter-relay with environment variable as follows:

ENABLE_NIP_32_CLASSIFICATION_EVENT=false

ENABLE_LEGACY_CLASSIFICATION_EVENT=true

USE_NIP_32_EVENT_FORMAT=false

Explanation of NIP-32 structure were documented in NIP32-COMPATIBILITY.md . Thank you nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn for valuable discussion πŸ™.

Release note:

https://github.com/atrifat/nostr-filter-relay/releases/tag/v0.4.0

Yes. You can test it using nfrelay.app as demo relay, elsat

wss://nfrelay.app/?lang=ja,th

Replying to 21823843...

Exporting and importing events into a new strfry instance (which you need to do when the DB version changes) takes too long. Here's a feature I just added that speeds this up a lot:

https://github.com/hoytech/strfry/blob/next/docs/fried.md

Going forward, there is a release-0.9 branch. I'm going to tag one more release on that branch soon (after back-porting a couple fixes). It will have strfry export --fried but not import. I'm planning on this being the last release of the 0.9 series.

I'm working on a 1.0 release in the next branch. I just did a big refactor of the DB format that I've wanted to do for some time. I also removed prefix matching on id/pubkey (this was removed from NIP-01) and fixed a bunch of bugs. This release will also have the latest negentropy protocol version and BTree code.

Thank you for all your works Doug. Happy to see you are working on strfry again πŸ™

Oh, let me know if you have found the model. I want to make similar API server for those case later

Lol, they might be suprised with the usage πŸ˜„

Yeah, you can probably get better performance with your home server especially if you have CUDA enabled. It can process image faster (around 20-40 ms)

Thank you. Hopefully it can help Wired solve the problems. I have seen one irresponsible anons who posts CP through Wired.

Oh nice. Did you deploy it on Render? πŸ‘€

I've run it on my VPS and it tooks around 100-200 ms to classify one image

I just received this in the morning and quite excited to try it πŸ‘€

Is there anyone who have tried Github Model? What is your experience?

Hi nostr:npub19yeqjawls407xjnmgkk6yss7936pcd7qzd5srlj8wye6j8433vrsjazqwk , what do you think about this PR?

i think this is one setting that we missed in Nostrmo, useful to save data usage πŸ˜„

https://github.com/haorendashu/nostrmo/pull/9

Client and relay can implement some content filter feature.

For client, especially web clients, can use these libraries to implement the feature easily.

https://github.com/infinitered/nsfwjs

or

https://github.com/NsfwSpy/NsfwSpy.js

I think there are other libraries for iOS and Android that can be easily included in native clients.

I have already implemented in relay code of wss://nfrelay.app which gives filtering feature to its users.

Replying to Avatar Cody

https://github.com/CodyTseng/nostr-relay-nestjs now supports RESTful API! My relay nostr-relay.app has been updated. Feel free to try it if you're interested. You can find more information about the API at https://nostr-relay.app/api #nostr #relay #devstr

Does the hub also have this Cody? πŸ‘€