A Python utility for publishing a social media story built from archived web pages.
1.1K
Raintale is a utility for publishing social media stories from groups of archived web pages (mementos). Raintale uses MementoEmbed to extract memento information and then publishes a story to the given storyteller, a static file or an online social media service.
Raintale accepts the following inputs:
Raintale supports the following storytellers:
Railtale also supports a number of presets for formatting a story for output to a specific file format:
Note that not all file formats support all presets.
Raintale uses docker-compose to load and execute all dependencies. To run Raintale, do the following:
docker-compose run raintale tellstory --help to find the list of optionsFor example to create a raw HTML story suitable for pasting, type the following within that prompt:
docker-compose run raintale tellstory -i story-mementos.txt --storyteller html -o mystory.html --title "This is My Story Title" --generated-by "Me"
The output will be stored in mystory.html.
To create a twitter story, you will need to create a Twitter app. Log into Twitter from a web browser and visit https://developer.twitter.com/en/apps for more information. Once you have created an app, make a file named twitter-credentials.yml, save it in the same directory, and fill it with the following content.
consumer_key: XXXXXX
consumer_secret: XXXXXX
access_token_key: XXXXXX
access_token_secret: XXXXXX
Replace the XXXXXX values with the corresponding values as displayed on your Twitter app page.
Once that is done, type the following within the Docker prompt:
docker-compose run raintale tellstory -i story_mementos.txt --storyteller twitter --title "This is My Story Title" --generated-by "Me” -c twitter-credentials.yml
Raintale uses pip for build and installation. Clone this repository and type the following from the root of the source code:
pip install .
to build and install the version from the source code on your machine.
We are working on additional storytellers and presets. Storytellers must be either a file format or an online service that supports an API. The choice in storyteller is highly dependent upon the capabilities and terms of that online service's API.
Content type
Image
Digest
Size
374.4 MB
Last updated
over 5 years ago
docker pull oduwsdl/raintale