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
Aller au fichier
Özcan Oğuz 7ad08dec17
Merge pull request #5 from ooguz/testing
0.1.6 Release Candidate
2020-08-24 15:16:43 +03:00
data 1- example `updated` timestamp replaced to epoch 2020-08-24 14:10:20 +03:00
pfxposter RC2: 0.1.6 2020-08-24 15:15:27 +03:00
.gitignore Initial commit 2020-08-24 08:36:37 +03:00
LICENSE init 5 2020-08-24 11:52:30 +03:00
README.md Typo fix 2020-08-24 14:59:58 +03:00
requirements.txt 1- example `updated` timestamp replaced to epoch 2020-08-24 14:10:20 +03:00
setup.py RC1: everything tested 2020-08-24 15:14:00 +03:00

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.