Da PixelFed a Mastodon e Twitter crossposter. I feed di Atom di pixelfed vengono utilizzati per controllare i nuovi post. Per pubblicare i post di https://PixelFed.uno su Twitter, è necessario un crossposter Mastodon-Twitter. https://pixelfed.uno
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Özcan Oğuz 7ad08dec17
Merge pull request #5 from ooguz/testing
3 weeks ago
data 1- example `updated` timestamp replaced to epoch 4 weeks ago
pfxposter RC2: 0.1.6 3 weeks ago
.gitignore Initial commit 4 weeks ago
LICENSE init 5 4 weeks ago
README.md Typo fix 3 weeks ago
requirements.txt 1- example `updated` timestamp replaced to epoch 4 weeks ago
setup.py RC1: everything tested 3 weeks ago

README.md

pfxposter

PyPI PyPI - Python Version GLWTS PyPI - Status contributions welcome PyPI - Format GitHub followers

A PixelFed to Mastodon and Twitter crossposter that is not written as intended. Due to the unknown error on pixelfed.social instance, Atom feeds are used for checking new posts.

In order to post PixelFed entries to Twitter, you will need a Mastodon-Twitter crossposter, you may find them on web.

Installation

python3 -m pip install pfxposter

Using virtual enviroment is strongly recommended, for the reason that the requests library of the distro vendor may be overrided after the installation.

Usage

First, create a Mastodon application from the settings of your Mastodon instance. You can create it under “Development” menu in settings. When you have created your app, Mastodon will give you an access token. Write the token to your configurion file.

The configuration file is located at ~/.pfxposter.

updated = 2020-08-21 07:56:48+00:00

[mastodon]
mastodon_url = "https://oyd.social"
access_token = "your_access_token_here"

[pixelfed]
pixelfed_url = "https://pixelfed.social"
username = "ooguz"

pfxposter reads the configuration file, and runs frequently. Installation from pip should add a crontab entry, you can check it with the command:

crontab -l

From Mastodon to Twitter, you will need another cross-poster, there are some links below:

DISCLAIMER: These services listed below are neither maintained nor recommended from the developer, these are listed only for general information.

License

              GLWTS(Good Luck With That Shit) Public License
            Copyright (c) Every-fucking-one, except the Author

Everyone is permitted to copy, distribute, modify, merge, sell, publish,
sublicense or whatever the fuck they want with this software but at their
OWN RISK.

                             Preamble

The author has absolutely no fucking clue what the code in this project
does. It might just fucking work or not, there is no third option.


                GOOD LUCK WITH THAT SHIT PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION

  0. You just DO WHATEVER THE FUCK YOU WANT TO as long as you NEVER LEAVE
A FUCKING TRACE TO TRACK THE AUTHOR of the original product to blame for
or held responsible.

IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Good luck and Godspeed.