Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merobi-hub/bibliomania
Bibliomania uses Python to slice and post html editions of public domain literature sequentially to social media.
https://github.com/merobi-hub/bibliomania
beautifulsoup4 cronjob google-cloud python text-mining tweepy twitter twitter-bot
Last synced: about 1 month ago
JSON representation
Bibliomania uses Python to slice and post html editions of public domain literature sequentially to social media.
- Host: GitHub
- URL: https://github.com/merobi-hub/bibliomania
- Owner: merobi-hub
- Created: 2020-12-18T18:48:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-22T15:34:49.000Z (over 3 years ago)
- Last Synced: 2023-03-05T06:55:05.646Z (almost 2 years ago)
- Topics: beautifulsoup4, cronjob, google-cloud, python, text-mining, tweepy, twitter, twitter-bot
- Language: Python
- Homepage:
- Size: 1.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bibliomania
This Python code opens and slices an ebook and then posts it sequentially to Twitter with a hashtag. The app uses Tweepy for twitter authorization and Beautiful Soup for text parsing. A cron job handles the scheduling of tweets, and a blob in a Google Cloud storage bucket keeps track of the character count for determining where to start the next slice of text. Twitter credentials go in a separate file, hidden.py (not included here).
The thought, however, was a
— Bookish Bot (@BotBookish) February 28, 2021
good one; and many of the
heads are powerfully executed.#bibliomania1809The code can open, slice, and post text from any text or html file, but the envisioned purpose is to renew attention to forgotten literary works in the public domain by posting bite-sized excerpts to a social media platform. The example used here is Project Gutenberg's text edition of Thomas F. Dibdin's 1809 *Bibliomania; or Book Madness*.
License: Creative Commons BY-SA 4.0