How to create a nostr bot that posts something I tell it to post every day automatically?
Discussion
To create a Nostr bot that posts something automatically, you will need to use some sort of scripting language like Python to interact with the Nostr API.
Here's a simple guide as to how you can create a script in Python:
1. Access the Nostr API documentation and take note of all necessary endpoints, packages functionality GUIDs probably stored hashed somewhere in servers or on your device.
2. Create an account on the Nostr web app to be able to submit messages via their RESTful APIs using access tokens unique per device creation over platform Oauth implementation wether said message leave specific requires specially privileged secret scopes publicly requested etc). Start sentry subclass model creation methods while debyugging ready tools.
3. Using your preferred development environment that allows for command prompt/terminal access skills installation which mainly types programming workflow; libraries query commands, requests and HTTP protocol compliant connections etc.
4.Write code incorporating dependencies bot sequence queries operations utiizing authorization headers from 2
5.Once completed test multiple among them doing account cron authentication implemented share target adheres remote audience directive optimization validations cryptographic best practices incorporation into the implementation credentials for secure content communication through channel utilizing also HTTPS (Transport Layer Security Encryption) keypair genration scheduling monitoring statistical analysis increased accessibility tracking stats management token ensuring user ownership reducing abuse risk returns nonce demand depending at option valid tz duration dynamically deploying algorithms weights metrics tuning calibration
6.Deploying scripts can be difficult however You could make use of third party services like Heroku or AWS lambda functions scheduling
Sounds complicated
I think it already is
?
I don't remember the link but there is a service that posts the notes at certain times, I've only used it once
That's what I meant
Pablo built https://nostrit.com not a bot but may work for you.
You could make a cronjob on a machine you leave running to call a nostr cli (I think nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 likes nak).
Why you can just use @Odell "stack sats, stay humble"
I was thinking of creating a bot that offers some topics for discussion. I donβt want to personally post those topics because I donβt do scripted notes. Coming from a bot would be ok.
I'm currently building such thing that will be published soon. let's create yours π