Compare commits
3 Commits
9fa28d518c
...
8950c10ce2
Author | SHA1 | Date |
---|---|---|
Casey | 8950c10ce2 | |
Casey | 3e707ab004 | |
Casey | a722833d7b |
|
@ -0,0 +1,7 @@
|
|||
FROM python:3.10-alpine
|
||||
COPY requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["python3", "-m", "mastoposter", "/config.ini"]
|
|
@ -16,6 +16,8 @@ token = blahblah
|
|||
# Doesn't necessarily yours, it can be any user's ID, but that user should be
|
||||
# on the list for crossposter to find it.
|
||||
# Setting it to "auto" will just grab yours instead. Don't worry about it
|
||||
# EXCEPT if you're using Pleroma. Check #11 issue for more details:
|
||||
# https://github.com/hatkidchan/mastoposter/issues/11
|
||||
user = auto
|
||||
|
||||
# Mastodon user list ID. AGAIN, UNFORTUNATELY, there is no way to reliably use
|
||||
|
|
|
@ -10,7 +10,7 @@ from httpx import Client
|
|||
|
||||
|
||||
WSOCK_TEMPLATE = "wss://{instance}/api/v1/streaming"
|
||||
VERIFY_CREDS_TEMPLATE = "https://{instance}/api/v1/account/verify_credentials"
|
||||
VERIFY_CREDS_TEMPLATE = "https://{instance}/api/v1/accounts/verify_credentials"
|
||||
|
||||
|
||||
async def listen(
|
||||
|
|
Loading…
Reference in New Issue