You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.8 KiB
28 lines
1.8 KiB
4 years ago
|
Title: Make a bot
|
||
4 years ago
|
Slug: 04-s6-step-4
|
||
4 years ago
|
Date: 2020-11-01 12:04
|
||
4 years ago
|
Summary: How to make a bot?
|
||
|
|
||
4 years ago
|
For this exercise we will make use of Mastodon instances in the Fediverse. We briefly unpacked what the Fediverse is in track 4: Bot Logic ([*Read this track again by clicking here*](02-s4-bot-logic.html)).
|
||
4 years ago
|
|
||
4 years ago
|
To dive into bot making, we will go through a simple bot template that is specially prepared for this module. It is written in the programming language *Python* and is saved as a *Jupyter Notebook*. The latter makes it possible to run this code from the web! These Jupyter Notebooks furthermore allow the combination of text and executable code into one document.
|
||
4 years ago
|
|
||
4 years ago
|
We registered an account on botsin.space that can be used in this example script. botsin.space is a Mastodon instance "for bots and bot allies"[^botsinspace] administered by Colin Mitchell (@muffinista@botsin.space)[^muffinista]. The instance is introduced as follows:
|
||
4 years ago
|
|
||
4 years ago
|
> This instance exists for people who want to run Mastodon bots, but you are welcome to join if you are a human. Both bots and humans are expected to follow this Code of Conduct. You can learn more about ways to support the costs of this instance.
|
||
4 years ago
|
|
||
4 years ago
|
With this exercise the module will end. We would like to use this opportunity to send you off to another infrastructure, a community-led, public hosting service called *MyBinder*, where you are invited to work with the example script of a Mastodon bot.
|
||
4 years ago
|
|
||
|
---------------------------
|
||
4 years ago
|
|
||
4 years ago
|
Please follow the link to proceed:
|
||
4 years ago
|
|
||
|
<https://mybinder.org/v2/git/https%3A%2F%2Fgit.vvvvvvaria.org%2Fmb%2Fbots-as-digital-infrapunctures/master?filepath=content%2Fbot-example%2Fmastodon-bot.ipynb>
|
||
|
|
||
4 years ago
|
<br>
|
||
|
|
||
4 years ago
|
# Footnotes
|
||
|
|
||
4 years ago
|
[^botsinspace]: <https://botsin.space/about>. Accessed on 30th October 2020.
|
||
4 years ago
|
[^muffinista]: Colin Mitchell's profile on botsin.space: <https://botsin.space/@muffinista>. Accessed on 30th October 2020.
|