Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alberanid/toot-my-t-shirt
publish selfies on Mastodon!
https://github.com/alberanid/toot-my-t-shirt
35c3 camera html5 mastodon publishing selfie toot webcam
Last synced: 17 days ago
JSON representation
publish selfies on Mastodon!
- Host: GitHub
- URL: https://github.com/alberanid/toot-my-t-shirt
- Owner: alberanid
- License: apache-2.0
- Created: 2018-12-12T17:17:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T12:12:31.000Z (about 5 years ago)
- Last Synced: 2024-04-13T13:50:43.712Z (8 months ago)
- Topics: 35c3, camera, html5, mastodon, publishing, selfie, toot, webcam
- Language: Python
- Size: 266 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# toot-my-t-shirt
A work-in-progress project for 35C3 (from an idea by itec)
Still not much to see here: the UI still sucks and very little feedback is given to the user.
# Requirements
* Python 3
* Mastodon.py: https://github.com/halcy/Mastodon.py# Run
```
./toot-my-t-shirt --debug --mastodon-token=C0FEFE --mastodon-api-url=https://botsin.space/ --default-image-description="a nice description of the picture" --default-message="oh noes, another selfie" --store-dir="/tmp/selfies"
```## Run using Docker
### Build it
```
docker build -t toot-my-t-shirt .
```### Run it
```
docker run --rm -it -p 9000:9000 toot-my-t-shirt [whatever other options you need]
```## Notice about SSL
Some browsers require HTTPS, to allow access to the webcam. In the *ssl/* directory there is a self-signed certificate (completed with CA) to allow you to test it without the need to create your own. In production you are supposed to use your own certificate.
# License and copyright
Copyright 2018-2019 Davide Alberani
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.