I will provide an API to the users of the translation service that does language detection for free

Reply to this note

Please Login to reply.

Discussion

Right but does the app calls the API in each post? Like 1000s of requests when the app is loading?

We also do that in private DMs. Do your users want you to see the encrypted content?

Yes and it can handle those requests just fine. Also, HTTP/2 is a thing, you know.

You can simply allow the user to choose if they want to send private DMs or not.

I am not sure... People already complain about data usage right now, imagine when each post gets 2 new payloads (up and down). I will need to do some tests.

Can you talk to the other providers (nostr.wine, etc) to make a single API spec for everyone?

There is already a spec it’s called ghe LibreTranslate API. The only difference with mine would be that it uses Nostr HTTP auth instead of API keys

Sure, that's a new spec

Only replaces the Authorization header

Still, if everyone in nostr does that, we can have the user choose the provider without having to implement custom variations for each one.

Yeah I’ll publish a spec