~busykoala/dropbox_upload

An implementation of a dropbox upload.
a41286be — Matthias Osswald 2 years ago
Add ubuntu requirements.
764ed2e6 — Matthias Osswald 2 years ago
Download meditation video and parse to bytesio.
9cd18e4e — Matthias Osswald 2 years ago
Add initial implementation.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~busykoala/dropbox_upload
read/write
git@git.sr.ht:~busykoala/dropbox_upload

You can also use your local clone with git send-email.

#Meditation Fetcher

#Generate Dropbox Access Token

Set up an access token for your dropbox account with the permission files.content.write.

https://dropbox.tech/developers/generate-an-access-token-for-your-own-account

Then put your token into the .env file (see .env.example).

Also put your download link for the meditation page into the .env file.

#Run app

poetry install --no-dev
poetry run python dropbox_upload/run.py

#Format

poetry install
poetry run black .

#Troubleshoot

Possibly on a Ubuntu 20 server these dependencies might be required.

sudo apt-get install gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget