From charlesreid1

m (Replacing charlesreid1.com:3000 with git.charlesreid1.com)
 
(11 intermediate revisions by the same user not shown)
Line 12: Line 12:


==Apollo Space Junk Bots==
==Apollo Space Junk Bots==
https://twitter.com/charlesreid1/lists/space-junk-botflock/members


{{TwitterBot
{{TwitterBot
Line 17: Line 19:
|handle=[http://twitter.com/apollo11junk @apollo11junk]
|handle=[http://twitter.com/apollo11junk @apollo11junk]
|description=Apollo 11 Space Junk is a twitter bot that generates fake Apollo-Mission Control radio dialogue. It uses the flight logs (transcripts of radio dialogue) to train a language generator, then uses a Queneau sentence generator to generate new fake Apollo 11 radio dialogue.
|description=Apollo 11 Space Junk is a twitter bot that generates fake Apollo-Mission Control radio dialogue. It uses the flight logs (transcripts of radio dialogue) to train a language generator, then uses a Queneau sentence generator to generate new fake Apollo 11 radio dialogue.
See [[Apollo11Junk]]
}}
}}


Line 34: Line 38:


Milton Paradise Lost Bot Flock: @milton_book1, @milton_book2, @milton_book3, @milton_book4, @milton_book5, @milton_book6, @milton_book7, @milton_book8, @milton_book9, @milton_book10, @milton_book11, @milton_book12
Milton Paradise Lost Bot Flock: @milton_book1, @milton_book2, @milton_book3, @milton_book4, @milton_book5, @milton_book6, @milton_book7, @milton_book8, @milton_book9, @milton_book10, @milton_book11, @milton_book12
https://twitter.com/charlesreid1/lists/miltonbotflock/members


{{TwitterBot
{{TwitterBot
Line 39: Line 45:
|handle=[http://twitter.com/milton_book1 milton_book1]
|handle=[http://twitter.com/milton_book1 milton_book1]
|description=Tweeting John Milton's Paradise Lost Book 1
|description=Tweeting John Milton's Paradise Lost Book 1
[[Image:Milton_book1.jpg|400px]]
}}
}}


Line 45: Line 53:
|handle=[http://twitter.com/milton_book2 milton_book2]
|handle=[http://twitter.com/milton_book2 milton_book2]
|description=Tweeting John Milton's Paradise Lost Book 2
|description=Tweeting John Milton's Paradise Lost Book 2
[[Image:Milton_book2.jpg|400px]]
}}
}}


Line 51: Line 61:
|handle=[http://twitter.com/milton_book3 milton_book3]
|handle=[http://twitter.com/milton_book3 milton_book3]
|description=Tweeting John Milton's Paradise Lost Book 3
|description=Tweeting John Milton's Paradise Lost Book 3
[[Image:Milton_book3.jpg|400px]]
}}
}}


Line 57: Line 69:
|handle=[http://twitter.com/milton_book4 milton_book4]
|handle=[http://twitter.com/milton_book4 milton_book4]
|description=Tweeting John Milton's Paradise Lost Book 4
|description=Tweeting John Milton's Paradise Lost Book 4
[[Image:Milton_book4.jpg|400px]]
}}
}}


Line 63: Line 77:
|handle=[http://twitter.com/milton_book5 milton_book5]
|handle=[http://twitter.com/milton_book5 milton_book5]
|description=Tweeting John Milton's Paradise Lost Book 5
|description=Tweeting John Milton's Paradise Lost Book 5
[[Image:Milton_book5.jpg|400px]]
}}
}}


Line 69: Line 85:
|handle=[http://twitter.com/milton_book6 milton_book6]
|handle=[http://twitter.com/milton_book6 milton_book6]
|description=Tweeting John Milton's Paradise Lost Book 6
|description=Tweeting John Milton's Paradise Lost Book 6
[[Image:Milton_book6.jpg|400px]]
}}
}}


Line 75: Line 93:
|handle=[http://twitter.com/milton_book7 milton_book7]
|handle=[http://twitter.com/milton_book7 milton_book7]
|description=Tweeting John Milton's Paradise Lost Book 7
|description=Tweeting John Milton's Paradise Lost Book 7
[[Image:Milton_book7.jpg|400px]]
}}
}}


Line 81: Line 101:
|handle=[http://twitter.com/milton_book8 milton_book8]
|handle=[http://twitter.com/milton_book8 milton_book8]
|description=Tweeting John Milton's Paradise Lost Book 8
|description=Tweeting John Milton's Paradise Lost Book 8
[[Image:Milton_book8.jpg|400px]]
}}
}}


Line 87: Line 109:
|handle=[http://twitter.com/milton_book9 milton_book9]
|handle=[http://twitter.com/milton_book9 milton_book9]
|description=Tweeting John Milton's Paradise Lost Book 9
|description=Tweeting John Milton's Paradise Lost Book 9
[[Image:Milton_book9.jpg|400px]]
}}
}}


Line 93: Line 117:
|handle=[http://twitter.com/milton_book10 milton_book10]
|handle=[http://twitter.com/milton_book10 milton_book10]
|description=Tweeting John Milton's Paradise Lost Book 10
|description=Tweeting John Milton's Paradise Lost Book 10
[[Image:Milton_book10.jpg|400px]]
}}
}}


Line 99: Line 125:
|handle=[http://twitter.com/milton_book11 milton_book11]
|handle=[http://twitter.com/milton_book11 milton_book11]
|description=Tweeting John Milton's Paradise Lost Book 11
|description=Tweeting John Milton's Paradise Lost Book 11
[[Image:Milton_book11.jpg|400px]]
}}
}}


Line 105: Line 133:
|handle=[http://twitter.com/milton_book12 milton_book12]
|handle=[http://twitter.com/milton_book12 milton_book12]
|description=Tweeting John Milton's Paradise Lost Book 12
|description=Tweeting John Milton's Paradise Lost Book 12
[[Image:Milton_book12.jpg|400px]]
}}
}}


==Ginsberg Bot Flock==
==Ginsberg Bot Flock==
https://twitter.com/charlesreid1/lists/ginsbergbotflock/members


{{TwitterBot
{{TwitterBot
Line 222: Line 254:
|description=
|description=
}}
}}
==GBF List==
<pre>
gbf_america
gbf_auntrose
gbf_chicago
gbf_cosmo
gbf_dc
gbf_deathfame
gbf_deathfronts
gbf_ecologue
gbf_elegy
gbf_fiveam
gbf_greyhound
gbf_hospital
gbf_howl
gbf_kaddish
gbf_lion
gbf_money
gbf_organ
gbf_sunflower
gbf_supermarket
</pre>
==Bot Software==
[[Bots/Software]]


=MediaWiki Bots=
=MediaWiki Bots=
Line 227: Line 287:
==charlesreid1.com Wiki Bot==
==charlesreid1.com Wiki Bot==


Description of what the charlesreid1.com MediaWiki bot does.
Code for charlesreid1.com wiki bot: https://git.charlesreid1.com/wiki/pywikibot


Cleanup of categories, create summary pages, create list pages.
See [[Pywikibot]] for details.


==Wikipedia Bots==
==Wikipedia Bots==
Line 243: Line 303:
* Each screen runs a bot flock (a group of related bots), and runs them forever until something goes terribly wrong.
* Each screen runs a bot flock (a group of related bots), and runs them forever until something goes terribly wrong.
* I added this script to <code>/etc/rc.local</code> to make it run on boot.
* I added this script to <code>/etc/rc.local</code> to make it run on boot.
Here's the script:
<pre>
#!/bin/sh
# -d -m
# Start screen in "detached" mode.
# Create new session but do not attach to it.
# Useful for scripts.
# -S
# This option can give a name to the new screen.
# Apollo bot flock
/usr/bin/screen -d -m -S apollo /usr/bin/python /apollospacejunk/bot/ApolloBotFlock.py
# Ginsberg bot flock
/usr/bin/screen -d -m -S ginsberg /usr/bin/python /ginsberg/bot/GinsbergBotFlock.py
# Milton bot flock
/usr/bin/screen -d -m -S milton /usr/bin/python /milton/bot/MiltonBotFlock.py
</pre>


=Bot Ideas=
=Bot Ideas=

Latest revision as of 03:18, 9 October 2019

Twitter Bots

I have lots of Twitter bots. Each of the bots is described below.

Watergate Bot

Bot Name: This Is Watergate
Handle: @thisiswatergate
Description: This Is Watergate is a twitter bot that generates fake White House tapes dialogue. It works by learning how White House tapes sound, using a large corpus of White House tapes transcripts. It then uses a Queneau sentence generator from the Olipy library on GitHub to generate new fake White House tapes dialogue.

Apollo Space Junk Bots

https://twitter.com/charlesreid1/lists/space-junk-botflock/members

Bot Name: Apollo 11 Space Junk
Handle: @apollo11junk
Description: Apollo 11 Space Junk is a twitter bot that generates fake Apollo-Mission Control radio dialogue. It uses the flight logs (transcripts of radio dialogue) to train a language generator, then uses a Queneau sentence generator to generate new fake Apollo 11 radio dialogue.

See Apollo11Junk

Bot Name: Apollo 12 Space Junk
Handle: @apollo12junk
Description: Apollo 12 Space Junk is a sister bot to Apollo 11 Space Junk. It also uses the Apollo-Mission Control radio dialogues to generate new fake radio dialogue, but uses transcripts from the Apollo 12 mission.
Bot Name: Apollo 13 Space Junk
Handle: @apollo13junk
Description: Apollo 13 Space Junk uses the Apollo-Mission Control radio dialogues to generate new fake radio dialogue from the transcripts of the Apollo 13 mission.

Paradise Lost Bot Flock

Milton Paradise Lost Bot Flock: @milton_book1, @milton_book2, @milton_book3, @milton_book4, @milton_book5, @milton_book6, @milton_book7, @milton_book8, @milton_book9, @milton_book10, @milton_book11, @milton_book12

https://twitter.com/charlesreid1/lists/miltonbotflock/members

Bot Name: Paradise Lost Book 1
Handle: milton_book1
Description: Tweeting John Milton's Paradise Lost Book 1

Milton book1.jpg

Bot Name: Paradise Lost Book 2
Handle: milton_book2
Description: Tweeting John Milton's Paradise Lost Book 2

Milton book2.jpg

Bot Name: Paradise Lost Book 3
Handle: milton_book3
Description: Tweeting John Milton's Paradise Lost Book 3

Milton book3.jpg

Bot Name: Paradise Lost Book 4
Handle: milton_book4
Description: Tweeting John Milton's Paradise Lost Book 4

Milton book4.jpg

Bot Name: Paradise Lost Book 5
Handle: milton_book5
Description: Tweeting John Milton's Paradise Lost Book 5

Milton book5.jpg

Bot Name: Paradise Lost Book 6
Handle: milton_book6
Description: Tweeting John Milton's Paradise Lost Book 6

Milton book6.jpg

Bot Name: Paradise Lost Book 7
Handle: milton_book7
Description: Tweeting John Milton's Paradise Lost Book 7

Milton book7.jpg

Bot Name: Paradise Lost Book 8
Handle: milton_book8
Description: Tweeting John Milton's Paradise Lost Book 8

Milton book8.jpg

Bot Name: Paradise Lost Book 9
Handle: milton_book9
Description: Tweeting John Milton's Paradise Lost Book 9

Milton book9.jpg

Bot Name: Paradise Lost Book 10
Handle: milton_book10
Description: Tweeting John Milton's Paradise Lost Book 10

Milton book10.jpg

Bot Name: Paradise Lost Book 11
Handle: milton_book11
Description: Tweeting John Milton's Paradise Lost Book 11

Milton book11.jpg

Bot Name: Paradise Lost Book 12
Handle: milton_book12
Description: Tweeting John Milton's Paradise Lost Book 12

Milton book12.jpg

Ginsberg Bot Flock

https://twitter.com/charlesreid1/lists/ginsbergbotflock/members

Bot Name: America
Handle: gbf_america
Description:
Bot Name: Aunt Rose
Handle: gbf_auntrose
Description:
Bot Name: An Open Window on Chicago
Handle: gbf_chicago
Description:
Bot Name: Cosmopolitan Greetings
Handle: gbf_cosmo
Description:
Bot Name: D.C. Mobilization
Handle: gbf_dc
Description:
Bot Name: Death and Fame
Handle: gbf_deathfame
Description:
Bot Name: Death On All Fronts
Handle: gbf_deathfronts
Description:
Bot Name: Ecologue
Handle: gbf_ecologue
Description:
Bot Name: Elegy Che Guevara
Handle: gbf_elegy
Description:
Bot Name: Five A.M.
Handle: gbf_fiveam
Description:
Bot Name: In the depths of the Greyhound Terminal
Handle: gbf_greyhound
Description:
Bot Name: Hospital Window
Handle: gbf_hospital
Description:
Bot Name: Howl
Handle: gbf_howl
Description:
Bot Name: Kaddish
Handle: gbf_kaddish
Description:
Bot Name: The Lion For Real
Handle: gbf_lion
Description:
Bot Name: The Velocity of Money
Handle: gbf_money
Description:
Bot Name: Transcription of Organ Music
Handle: gbf_organ
Description:
Bot Name: Sunflower Sutra
Handle: gbf_sunflower
Description:
Bot Name: A Supermarket in California
Handle: gbf_supermarket
Description:

GBF List

gbf_america
gbf_auntrose
gbf_chicago
gbf_cosmo
gbf_dc
gbf_deathfame
gbf_deathfronts
gbf_ecologue
gbf_elegy
gbf_fiveam
gbf_greyhound
gbf_hospital
gbf_howl
gbf_kaddish
gbf_lion
gbf_money
gbf_organ
gbf_sunflower
gbf_supermarket

Bot Software

Bots/Software

MediaWiki Bots

charlesreid1.com Wiki Bot

Code for charlesreid1.com wiki bot: https://git.charlesreid1.com/wiki/pywikibot

See Pywikibot for details.

Wikipedia Bots

This is an interesting rabbit hole of things to learn more about and write more about. A funny metaphor for understanding the roles of bureaucracy and machines in bureaucracy.

Bot Control Panel

In order to start bots at startup, I created a startup script that will spin off instances of each bot into a separate screen. This script is then added to the list of startup scripts, so that if the machine dies, the bots will start again when the machine is restarted.

Here's how that works:

  • I called screen from the command line (actually from a script) in a way that starts a detached, headless screen in the background.
  • Each screen runs a bot flock (a group of related bots), and runs them forever until something goes terribly wrong.
  • I added this script to /etc/rc.local to make it run on boot.

Here's the script:

#!/bin/sh

# -d -m
# Start screen in "detached" mode.
# Create new session but do not attach to it.
# Useful for scripts.

# -S
# This option can give a name to the new screen.

# Apollo bot flock
/usr/bin/screen -d -m -S apollo /usr/bin/python /apollospacejunk/bot/ApolloBotFlock.py

# Ginsberg bot flock
/usr/bin/screen -d -m -S ginsberg /usr/bin/python /ginsberg/bot/GinsbergBotFlock.py

# Milton bot flock
/usr/bin/screen -d -m -S milton /usr/bin/python /milton/bot/MiltonBotFlock.py

Bot Ideas

See Bots/Ideas

Flags