![]() The Glitch project is structured so that the code for your bot goes inside bot.js. (I'll explain this part later in this tutorial.) You will then be able to use the URL of your project together with the endpoint with a site like to wake up your bot and do something. You don't need to sign up for an account right now, Glitch lets you create temporary projects for you to test things out. For this tutorial I'm going to use my generative-art-bot starter project on Glitch. If you only see your API key, use this tool to generate your token.Īnd you’re done. Now you can click your application’s name to reveal the access token for your bot. Name your application, keep the settings the way they are, and click the Submit button at the bottom of the page. ![]() I recommend botsin.space, which was created specifically to run friendly bots.Īfter you confirm your email, click the “Edit profile” link under your username and check off “This is a bot account”.Īfter this, go to the Preferences page (the “cog” icon) and then click Development. First, you need to choose which Mastodon instance you want your bot to be on. Setting up a new account for your bot is a breeze. As a bonus, you can easily get an RSS feed of your bot's posts. Mastodon has a very easy to use API, so it's a great replacement for Twitter if you'd like to experiment with generative art, natural language processing, or make a useful tool that posts updates on weather, or bills being passed by your government. (You can head to Wikipedia for a more detailed description.) All of these sites can be connected in what is known as the fediverse. (There are similar projects, for example GNU social). If you haven't heard about Mastodon before, it's a social networking software that lets anyone host their own social network site. Some of them gave up on making art bots altogether, but many tried to find a new home for their bots. you can find me at been a few weeks since the big exodus of creative botmakers from Twitter, mainly due to the recent changes to the platform (and, well, other reasons).Be sure to also follow Botwiki-related Mastodon accounts: the Coding Train’s Mastodon bot video tutorial seriesĪnd as a bonus, here’s my 2018 interview with the creator of botsin.space, a Mastodon instance dedicated to bots.my Creative Bots starter project that lets you make bots for Mastodon, Twitter, and Tumblr.my general guide to making creative bots which also has a few Mastodon-specific tips.While I work on an updated version of this tutorial, here are some useful resources to check out: (UDP) you can also use the get parameter version which can allow the growl request to behave using the older v1.x protocol.2022 UPDATE: Glitch no longer allows a method that’s been used to keep bots running on their free plan. Notification Serviceīark://hostname/device_key1/device_key2/device_keyN Click on any of the services listed below to get more details on how you can configure Apprise to access them. The table below identifies the services this tool supports and some example service urls you need to use in order to take advantage of it. Check out the wiki for more information on the supported modules here. The section identifies all of the services supported by this library. Everything is already wrapped and supported within the apprise command line tool (CLI) that ships with this product. System Administrators and DevOps who wish to send a notification now no longer need to find the right tool for the job. They just need to include this one library and then they can immediately gain access to almost all of the notifications services available to us today. They no longer need to try to adapt to the new ones that comeout thereafter. Amazing response times because all messages sent asynchronously.ĭevelopers who wish to provide a notification service no longer need to research each and every one out there.Supports the handling of images and attachments ( to the notification services that will accept them).A common and intuitive notification syntax.One notification library to rule them all.To make one aware of something.Īpprise allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |