https://github.com/gargron/book-toot-bot
A Ruby script that will post a book to a Mastodon account.
https://github.com/gargron/book-toot-bot
bot mastodon
Last synced: about 1 year ago
JSON representation
A Ruby script that will post a book to a Mastodon account.
- Host: GitHub
- URL: https://github.com/gargron/book-toot-bot
- Owner: Gargron
- License: mit
- Created: 2019-01-26T23:05:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-26T23:19:11.000Z (over 7 years ago)
- Last Synced: 2025-05-08T12:02:41.192Z (about 1 year ago)
- Topics: bot, mastodon
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
book-toot-bot
=============
A Ruby script that will post a book to a Mastodon account.
### Installation
```
bundle install
```
### Configuration
Create a `config.yml` with:
```yml
base_url: https://botsin.space
token: ...
location: 0
```
You can sign up on the desired Mastodon server the normal way, and create an access token from the "Development" tab in the settings. Create a `book.txt` with the text contents.
### Usage
E.g. from a crontab at regular intervals:
```
ruby bot.rb
```
### License
MIT