Hello!
Long story short:
# /etc/systemd/system/atomstr.service
[Unit]
Description=Dendrite (Matrix Homeserver)
After=syslog.target
After=network.target
[Service]
Environment=DB_PATH="./atomstr.db"
#Environment=FETCH_INTERVAL refresh interval for feeds, default "15m"
#Environment=METADATA_INTERVAL refresh interval for feed name, icon, etc, default "2h"
#Environment=HISTORY_INTERVAL history interval for feed initial sync, default "72h"
#Environment=LOG_LEVEL, "INFO"
#Environment=WEBSERVER_PORT, "8061"
Environment=NIP05_DOMAIN=atomstr.ingwie.me
Environment=MAX_WORKERS=3
Environment=RELAYS_TO_PUBLISH_TO="wss://relay.ingwie.me"
#Environment=DEFAULT_FEED_IMAGE if no feed image is found, use this.
RestartSec=2s
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/srv/nostr/atomstr
ExecStart=/srv/nostr/atomstr/atomstr
Restart=always
[Install]
WantedBy=multi-user.target
But Snort et cetera don't show it as "validated". I.e.: https://rsshub.ingwie.me/furaffinity/gallery/ingwiephoenix/?nsfw=1@ atomstr.ingwie.me
Is atomstr actually serving NIP-05 or do I have to do this externally...?
Thanks and kind regards, Ingwie
Hi!
This should work out of the box.
Here is the working link: https://atomstr.ingwie.me/.well-known/nostr.json?name=https://rsshub.ingwie.me/furaffinity/gallery/ingwiephoenix/?nsfw=1
Some clients are not very fault tolerant regarding links in NIP-05 identifiers, but I think the implementation is correct. :)
Primal shows it as validated btw: https://primal.net/profile/npub1z3wrwhx02j77wn3lj99kqwxsvkz0u3v9xu3tkh0kd0eqchfm4vpset0csw