Compare commits
No commits in common. "6ffaf099822f54eed786d438308da804e8c38ff2" and "c4ef8d0e96fc963e15b220649ade59886d1d1d25" have entirely different histories.
6ffaf09982
...
c4ef8d0e96
@ -107,5 +107,4 @@ COPY . /var/app
|
||||
|
||||
VOLUME /data
|
||||
|
||||
ENV PYTHONPATH /var/app
|
||||
CMD pipenv run python ./bin/tvidd
|
||||
CMD ['pipenv', 'run', 'bin/tvidd']
|
||||
|
14
LICENSE
14
LICENSE
@ -1,14 +0,0 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
23
README.md
23
README.md
@ -9,30 +9,9 @@ Log in to the admin panel and enter the URL for that TV ID, and within 60
|
||||
seconds, that display will bounce to that URL, or any other time it turns
|
||||
on.
|
||||
|
||||
You can reconfigure the target URL at any time, and the next time that
|
||||
display reboots or reloads (you should be rebooting your displays daily) it
|
||||
will get redirected to the new target.
|
||||
|
||||
# configuration knobs
|
||||
|
||||
## environment variables
|
||||
|
||||
* set `ADMIN_PSK` to the admin password (for `/admin` url)
|
||||
|
||||
## state storage
|
||||
|
||||
* writes sqlite database into `/data`, mount that volume somewhere
|
||||
|
||||
# todo
|
||||
|
||||
* fix CSRF
|
||||
* fix FIXMEs
|
||||
* fix logging output
|
||||
* put git short id into version string
|
||||
|
||||
# license
|
||||
|
||||
WTFPL
|
||||
* make display id animate: https://codepen.io/stezu/pen/cmLrI
|
||||
|
||||
# author
|
||||
|
||||
|
5
setup.py
5
setup.py
@ -1,11 +1,8 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
# for some reason that console_scripts entrypoint fails
|
||||
# and i have no idea why so there is a bin in bin/
|
||||
|
||||
setup(
|
||||
name='tvid',
|
||||
version='1.0.0',
|
||||
version='0.0.1',
|
||||
packages=find_packages(),
|
||||
license='WTFPL',
|
||||
long_description=open('README.md').read(),
|
||||
|
Loading…
Reference in New Issue
Block a user