Python script to convert tweets to Hugo data, so you can use it in templates. No JS, no hassle. ♥
https://tuxstash.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
579 B
16 lines
579 B
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
# /**********************************************************************************
|
|
# * _author : Domeniko Gentner
|
|
# * _mail : code@tuxstash.de
|
|
# * _repo : https://git.tuxstash.de/gothseidank/tweet2png
|
|
# * _license : This project is under MIT License
|
|
# *********************************************************************************/
|
|
from mail import mail
|
|
from painter import painter
|
|
from twitter import twitter
|
|
from sys import exit
|
|
|
|
twitter = twitter()
|
|
painter(twitter.get_latest_tweet(), twitter.handle())
|
|
exit(0)
|
|
|