That solved that error.
# command-line-arguments
./nostrlogger.go:16:17: undefined: nostr.DerivePublicKey
./nostrlogger.go:18:19: undefined: nostr.EncodePrivateKey
./nostrlogger.go:20:19: undefined: nostr.EncodePublicKey
./nostrlogger.go:34:3: unknown field Type in struct literal of type nostr.Event
./nostrlogger.go:35:3: unknown field Payload in struct literal of type nostr.Event
./nostrlogger.go:39:3: unknown field Timestamp in struct literal of type nostr.Event
./nostrlogger.go:40:3: unknown field Signature in struct literal of type nostr.Event
./nostrlogger.go:40:17: sk.Sign undefined (type string has no field or method Sign)
./nostrlogger.go:45:14: undefined: nostr.Publish
root@nas:~/go/src/nostrlogger# go run nostrlogger.go
# command-line-arguments
./nostrlogger.go:14:2: undefined: sk
./nostrlogger.go:16:17: undefined: nostr.DerivePublicKey
./nostrlogger.go:16:33: undefined: sk
./nostrlogger.go:18:19: undefined: nostr.EncodePrivateKey
./nostrlogger.go:18:36: undefined: sk
./nostrlogger.go:20:19: undefined: nostr.EncodePublicKey
./nostrlogger.go:34:3: unknown field Type in struct literal of type nostr.Event
./nostrlogger.go:35:3: unknown field Payload in struct literal of type nostr.Event
./nostrlogger.go:39:3: unknown field Timestamp in struct literal of type nostr.Event
./nostrlogger.go:40:14: undefined: sk
./nostrlogger.go:40:14: too many errors
how do you compile it? I checked out that GO repo, put a file called logger.go with your code
TY . Will try now. I am on a mini family vacation
Blossom is cool. The only bad thing is that it has a limitation on how long files can exist since they were last accessed before they are deleted. Nothing can be forever.
Do you need help running blossom or do you want to use my blossom server at https://blossom.poster.place/drive ?
One giant string sent to stdin
Why does Amber have TOR functionality? I thought it just stores your key for apps. Why is network access needed?
#asknostr
How are people still watching this shit?
Its more of a collection of most nostr web apps all bundled together in a single app. Cool concept. Even jas a plugin for your secret key.
Most of the apps have not value to me
nostr:npub1x0r5gflnk2mn6h3c70nvnywpy2j46gzqwg6k7uw6fxswyz0md9qqnhshtn
Got an LLM to write the code. Need to do a few edits to read the private key from a file, and syslogs will be files too?
It will be stdin or file.
GNOME Celebrates Pride Month
GNOME is the official Desktop for faggots
got sample for sending a DM via curl with text body?
oh neat. Make cli that can paste syslogs to nostr DM
nostr:npub19wdg9zgna9zmyv25qefrcrjh3grkht2kag7yafunzwf0wrg63g7qsmlx5z
Do you still use Spring Browser? I stopped, most of it not really useful

