fortune cookies taken from subjects and bodies of funny or strange SPAM messages.

Davide Alberani f8a3a50248 lo strumento più grande! 5 anni fa
mastodon-bot fe7e5ad054 update deps 5 anni fa
telegram-bot 07ebc2743c add dependencies 5 anni fa
CHANGELOG.md ee435551e3 latest fortunes 7 anni fa
CREDITS.md ee435551e3 latest fortunes 7 anni fa
LICENSE 91dfabb16b Initial commit 7 anni fa
Makefile e685b38385 fixed .dat creation script 6 anni fa
README.md 16733051d7 Mastodon bot 5 anni fa
spam-ita-o f8a3a50248 lo strumento più grande! 5 anni fa
spam-ita-o.dat f8a3a50248 lo strumento più grande! 5 anni fa
spam-o 3aa6e01e83 only you... 5 anni fa
spam-o.dat f8a3a50248 lo strumento più grande! 5 anni fa

README.md

fortunes-spam

Fortune cookies taken from subjects and bodies of funny or strange SPAM messages.

It's intended to be used with the fortune Unix program.

Notice

The text of fortunes is obfuscated using rot13, since they are mostly offensive.

Install

Copy the files 'spam-o' and 'spam-o.dat' in one of the following directory:

  • /usr/local/share/games/fortunes/off/
  • /usr/share/games/fortunes/off/
  • /usr/local/share/games/fortunes/
  • /usr/share/games/fortunes/

or wherever your unix puts fortune files. In Linux, if you put the files in an "/off/"(ensive) directory the fortune program will read the files only when the "-o" or "-a" option is used (for details: man fortune).

If you're interested in Italian spam, you've to copy also the files 'spam-ita-o' and 'spam-ita-o.dat'. The charset of both files (spam-o and spam-ita-o) is UTF-8; convert it to suite your system, if needed.

Update

If you add your own fortunes, you can also update the .dat files running make (it requires the strfile command, usually found in the fortune-mod package)

Telegram bot

A demo bot can be found here: https://t.me/FortunesSpamBot

You can use the content of the telegram-bot directory to create your own Telegram bot; don't forget to run it specifying the SPAMBOT_TOKEN environment variable.

Mastodon bot

A demo bot can be found at @fortunes_spam@botsin.space

You can use the content of the mastodon-bot directory to create your own Mastodon bot; don't forget to run it specifying the SPAMBOT_TOKEN environment variable.

License

Copyright 2003-2018 Davide Alberani da@erlug.linux.it

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.