An updated bot that posts to Tumblr, based on your very own blog!
Project description
tumblrbot
Description of original project:
4tv-tumblrbot was a collaborative project I embarked on with my close friend Dima, who goes by @smoqueen on Tumblr. The aim of this endeavor was straightforward yet silly: to develop a Tumblr bot powered by a machine-learning model. This bot would be specifically trained on the content from a particular Tumblr blog or a selected set of blogs, allowing it to mimic the style, tone, and thematic essence of the original posts.
This fork is largely a rewrite of the source code with similarities in its structure and process:
- Updates:
- Updated to OAuth 2.0.
- Updated to the New Post Format.
- Updated to the latest version of OpenAI.
- Updated the base model version to gpt-4.1-nano-2025-04-14.
- Removed features:
- Generation:
- Removed clearing drafts behavior.
- Training:
- Removed exports that had HTML or reblogs.
- Removed special word-replacement behavior.
- Removed filtering by year.
- Removed setup and related files.
- Generation:
- Changed/Added features:
- Generation:
- Added a link to the blog's draft page.
- Added error checking for uploading drafts.
- Training:
- Added the option to Download the latest posts from the specified blogs.
- Added the option to remove posts flagged by the Moderation API.
- Added the option to automatically Fine-Tune the examples on the specified base model.
- Added the ability to add custom prompts and responses to the example data.
- Changed to now escape examples automatically.
- Set encoding for reading post data to
UTF-8to fix decoding errors. - Added newlines between paragraphs.
- Removed "ALT", submission, ask, and poll text from posts.
- Improved the estimated token counts and costs.
- Changed to Rich for output.
- Added progress bars.
- Added post previews.
- Added color, formatting, and more information to output.
- Created a guided utility for every step of building your bot blog.
- Maid scripts wait for user input before the console closes.
- Added comand-line options to override Settings options.
- Added behavior to regenerate the default config.toml and env.toml if missing.
- Renamed several files.
- Renamed several Settings options.
- Changed the value of several Settings options.
- Added full type-checking coverage (fully importable from third-party scripts).
- Generation:
To-Do:
- Add documentation.
- Finish updating README.md.
- Change the differences list to instead just be a list of features.
Please submit an issue or contact us for features you want to added/reimplemented.
Installation
- Install the latest version of Python:
- Windows:
winget install python3 - Linux (apt):
apt install python-pip - Linux (pacman):
pacman install python-pip
- Windows:
- Install the pip package:
pip install tumblrbot- Alternatively, you can install from this repository:
pip install git+https://github.com/MaidThatPrograms/tumblrbot.git - On Linux, you will have to make a virtual environment.
- Alternatively, you can install from this repository:
Usage
Run tumblrbot from anywhere. Run tumblrbot --help for command-line options.
Obtaining Tokens
WIP
Configuration
WIP
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tumblrbot-1.2.0.tar.gz.
File metadata
- Download URL: tumblrbot-1.2.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb9128c4b6d57a4634b2ffbeca4291575e7054393a8babfe6ccec56a55ae0533
|
|
| MD5 |
6041a0a8388401bc944ade722bb47703
|
|
| BLAKE2b-256 |
92125d270005e0da272c5ff5e7cd89c1da4ba679c7daced94f089d108533fdd9
|
File details
Details for the file tumblrbot-1.2.0-py3-none-any.whl.
File metadata
- Download URL: tumblrbot-1.2.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc898935ba8778c8a9937bf67473419d05c066a8fef7373ec612992acf419384
|
|
| MD5 |
458cd87bc41ef3828496e5453b3c54cc
|
|
| BLAKE2b-256 |
522e5600c25c9f772823132593d20d6d934067fcd3d56527321747b05d08e076
|