IvanGlinkin / CCTV

Close-Circuit Telegram Vision revolutionizes location tracking with its open-source design and Telegram API integration. Offering precise tracking within 50-100 meters, users can monitor others in real-time for logistics or safety, redefining how we navigate our surroundings
GNU General Public License v3.0
2.31k stars 318 forks source link

headless option? #5

Closed reinethernal closed 2 months ago

reinethernal commented 2 months ago

Hi! Is there any way to use it headless?

IvanGlinkin commented 2 months ago

you mean without the banner CCTV? go to ./backend/banners.py and replace it...

### Banner
banner = """
 ██████╗██╗      ██████╗ ███████╗███████╗     ██████╗██╗██████╗  ██████╗██╗   ██╗██╗████████╗                      
██╔════╝██║     ██╔═══██╗██╔════╝██╔════╝    ██╔════╝██║██╔══██╗██╔════╝██║   ██║██║╚══██╔══╝                      
██║     ██║     ██║   ██║███████╗█████╗█████╗██║     ██║██████╔╝██║     ██║   ██║██║   ██║                         
██║     ██║     ██║   ██║╚════██║██╔══╝╚════╝██║     ██║██╔══██╗██║     ██║   ██║██║   ██║                         
╚██████╗███████╗╚██████╔╝███████║███████╗    ╚██████╗██║██║  ██║╚██████╗╚██████╔╝██║   ██║                         
 ╚═════╝╚══════╝ ╚═════╝ ╚══════╝╚══════╝     ╚═════╝╚═╝╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚═╝   ╚═╝                         

████████╗███████╗██╗     ███████╗ ██████╗ ██████╗  █████╗ ███╗   ███╗    ██╗   ██╗██╗███████╗██╗ ██████╗ ███╗   ██╗
╚══██╔══╝██╔════╝██║     ██╔════╝██╔════╝ ██╔══██╗██╔══██╗████╗ ████║    ██║   ██║██║██╔════╝██║██╔═══██╗████╗  ██║
   ██║   █████╗  ██║     █████╗  ██║  ███╗██████╔╝███████║██╔████╔██║    ██║   ██║██║███████╗██║██║   ██║██╔██╗ ██║
   ██║   ██╔══╝  ██║     ██╔══╝  ██║   ██║██╔══██╗██╔══██║██║╚██╔╝██║    ╚██╗ ██╔╝██║╚════██║██║██║   ██║██║╚██╗██║
   ██║   ███████╗███████╗███████╗╚██████╔╝██║  ██║██║  ██║██║ ╚═╝ ██║     ╚████╔╝ ██║███████║██║╚██████╔╝██║ ╚████║
   ╚═╝   ╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝      ╚═══╝  ╚═╝╚══════╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝

[ ! ] https://www.linkedin.com/in/IvanGlinkin/
[ ! ] https://x.com/glinkinivan
[ ! ] https://t.me/EASM_HydrAttack                                                                                                               
"""

with it

### Banner
banner = ""
reinethernal commented 2 months ago

No, i mean running on a linux server (ubuntu/debian for example).

Tester2009 commented 2 months ago

No, i mean running on a linux server (ubuntu/debian for example).

what is the issue here? the program does not run and pop up a window

IvanGlinkin commented 2 months ago

if you installed and set up everything correctly it should work perfectly. but due to you are using terminal (not x) - the browser couldn't work and show results. but you may copy html files to your web-server location and open from your PC's browser

reinethernal commented 2 months ago

if you installed and set up everything correctly it should work perfectly. but due to you are using terminal (not x) - the browser couldn't work and show results. but you may copy html files to your web-server location and open from your PC's browser

That's actually what i wanted to hear! Thank you!