Compare commits
	
		
			2 Commits
		
	
	
		
			c4ef8d0e96
			...
			6ffaf09982
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6ffaf09982 | |||
| 79e1f6e9e3 | 
@ -107,4 +107,5 @@ COPY . /var/app
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
VOLUME /data
 | 
					VOLUME /data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CMD ['pipenv', 'run', 'bin/tvidd']
 | 
					ENV PYTHONPATH /var/app
 | 
				
			||||||
 | 
					CMD pipenv run python ./bin/tvidd
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										14
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					           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,9 +9,30 @@ 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
 | 
					seconds, that display will bounce to that URL, or any other time it turns
 | 
				
			||||||
on.
 | 
					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
 | 
					# todo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* make display id animate: https://codepen.io/stezu/pen/cmLrI
 | 
					* fix CSRF
 | 
				
			||||||
 | 
					* fix FIXMEs
 | 
				
			||||||
 | 
					* fix logging output
 | 
				
			||||||
 | 
					* put git short id into version string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# license
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WTFPL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# author
 | 
					# author
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								setup.py
									
									
									
									
									
								
							@ -1,8 +1,11 @@
 | 
				
			|||||||
from setuptools import setup, find_packages
 | 
					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(
 | 
					setup(
 | 
				
			||||||
    name='tvid',
 | 
					    name='tvid',
 | 
				
			||||||
    version='0.0.1',
 | 
					    version='1.0.0',
 | 
				
			||||||
    packages=find_packages(),
 | 
					    packages=find_packages(),
 | 
				
			||||||
    license='WTFPL',
 | 
					    license='WTFPL',
 | 
				
			||||||
    long_description=open('README.md').read(),
 | 
					    long_description=open('README.md').read(),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user