├── .gitignore ├── 01_latency_observatory ├── latencies.py └── latency_web.py ├── 02_nicer_latency_observatory ├── latencies.py └── latency_web.py ├── 03_clippy ├── clippy.py └── templates │ ├── authed.htm │ └── login.htm ├── 04_alphant ├── alphant.py └── templates │ ├── authed.htm │ └── login.htm ├── 05_toot_it_forward ├── templates │ └── login.htm └── tootitforward.py ├── 06_mastomash ├── mastomash.py ├── templates │ ├── authed.htm │ ├── login.htm │ ├── post_actions.htm │ └── post_content.htm └── ui_data.json ├── 07_florps ├── florps.py ├── templates │ ├── authed.htm │ ├── button_boost.htm │ ├── button_fav.htm │ ├── form_post.htm │ ├── login.htm │ ├── post.htm │ ├── post_actions.htm │ ├── post_content.htm │ └── post_list.htm └── ui_data.json ├── 08_trunkshow ├── templates │ ├── enter.htm │ ├── gallery.htm │ └── post_list.htm └── trunkshow.py ├── 09_hellomotoot ├── .gitignore ├── audio │ ├── 1_recordmessage.mp3 │ ├── 2_mentions.mp3 │ ├── 3_boopsound.mp3 │ ├── beep.mp3 │ ├── boop.mp3 │ ├── correctrating.mp3 │ ├── error.mp3 │ ├── intro.mp3 │ ├── pleasehold.mp3 │ ├── pleaserate.mp3 │ ├── pleaseregister.mp3 │ └── wrongrating.mp3 ├── favicon.ico ├── hellomotoot.py └── templates │ ├── footer.html │ ├── header.html │ ├── index.html │ └── manage.html ├── README.md ├── requirements.txt └── tooling ├── app_data_registry.py ├── login_oauth.py └── secret_registry.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/.gitignore -------------------------------------------------------------------------------- /01_latency_observatory/latencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/01_latency_observatory/latencies.py -------------------------------------------------------------------------------- /01_latency_observatory/latency_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/01_latency_observatory/latency_web.py -------------------------------------------------------------------------------- /02_nicer_latency_observatory/latencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/02_nicer_latency_observatory/latencies.py -------------------------------------------------------------------------------- /02_nicer_latency_observatory/latency_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/02_nicer_latency_observatory/latency_web.py -------------------------------------------------------------------------------- /03_clippy/clippy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/03_clippy/clippy.py -------------------------------------------------------------------------------- /03_clippy/templates/authed.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/03_clippy/templates/authed.htm -------------------------------------------------------------------------------- /03_clippy/templates/login.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/03_clippy/templates/login.htm -------------------------------------------------------------------------------- /04_alphant/alphant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/04_alphant/alphant.py -------------------------------------------------------------------------------- /04_alphant/templates/authed.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/04_alphant/templates/authed.htm -------------------------------------------------------------------------------- /04_alphant/templates/login.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/04_alphant/templates/login.htm -------------------------------------------------------------------------------- /05_toot_it_forward/templates/login.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/05_toot_it_forward/templates/login.htm -------------------------------------------------------------------------------- /05_toot_it_forward/tootitforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/05_toot_it_forward/tootitforward.py -------------------------------------------------------------------------------- /06_mastomash/mastomash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/mastomash.py -------------------------------------------------------------------------------- /06_mastomash/templates/authed.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/templates/authed.htm -------------------------------------------------------------------------------- /06_mastomash/templates/login.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/templates/login.htm -------------------------------------------------------------------------------- /06_mastomash/templates/post_actions.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/templates/post_actions.htm -------------------------------------------------------------------------------- /06_mastomash/templates/post_content.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/templates/post_content.htm -------------------------------------------------------------------------------- /06_mastomash/ui_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/06_mastomash/ui_data.json -------------------------------------------------------------------------------- /07_florps/florps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/florps.py -------------------------------------------------------------------------------- /07_florps/templates/authed.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/authed.htm -------------------------------------------------------------------------------- /07_florps/templates/button_boost.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/button_boost.htm -------------------------------------------------------------------------------- /07_florps/templates/button_fav.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/button_fav.htm -------------------------------------------------------------------------------- /07_florps/templates/form_post.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/form_post.htm -------------------------------------------------------------------------------- /07_florps/templates/login.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/login.htm -------------------------------------------------------------------------------- /07_florps/templates/post.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/post.htm -------------------------------------------------------------------------------- /07_florps/templates/post_actions.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/post_actions.htm -------------------------------------------------------------------------------- /07_florps/templates/post_content.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/post_content.htm -------------------------------------------------------------------------------- /07_florps/templates/post_list.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/templates/post_list.htm -------------------------------------------------------------------------------- /07_florps/ui_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/07_florps/ui_data.json -------------------------------------------------------------------------------- /08_trunkshow/templates/enter.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/08_trunkshow/templates/enter.htm -------------------------------------------------------------------------------- /08_trunkshow/templates/gallery.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/08_trunkshow/templates/gallery.htm -------------------------------------------------------------------------------- /08_trunkshow/templates/post_list.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/08_trunkshow/templates/post_list.htm -------------------------------------------------------------------------------- /08_trunkshow/trunkshow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/08_trunkshow/trunkshow.py -------------------------------------------------------------------------------- /09_hellomotoot/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | -------------------------------------------------------------------------------- /09_hellomotoot/audio/1_recordmessage.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/1_recordmessage.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/2_mentions.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/2_mentions.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/3_boopsound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/3_boopsound.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/beep.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/beep.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/boop.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/boop.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/correctrating.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/correctrating.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/error.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/error.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/intro.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/intro.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/pleasehold.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/pleasehold.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/pleaserate.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/pleaserate.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/pleaseregister.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/pleaseregister.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/audio/wrongrating.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/audio/wrongrating.mp3 -------------------------------------------------------------------------------- /09_hellomotoot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/favicon.ico -------------------------------------------------------------------------------- /09_hellomotoot/hellomotoot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/hellomotoot.py -------------------------------------------------------------------------------- /09_hellomotoot/templates/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/templates/footer.html -------------------------------------------------------------------------------- /09_hellomotoot/templates/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/templates/header.html -------------------------------------------------------------------------------- /09_hellomotoot/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/templates/index.html -------------------------------------------------------------------------------- /09_hellomotoot/templates/manage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/09_hellomotoot/templates/manage.html -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Mastodon.py Examples 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/requirements.txt -------------------------------------------------------------------------------- /tooling/app_data_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/tooling/app_data_registry.py -------------------------------------------------------------------------------- /tooling/login_oauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/tooling/login_oauth.py -------------------------------------------------------------------------------- /tooling/secret_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halcy/MastodonpyExamples/HEAD/tooling/secret_registry.py --------------------------------------------------------------------------------