Giter Site home page Giter Site logo

tsbertalan / gtavisionexport-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from racinmat/gtavisionexport-server

0.0 1.0 0.0 122 KB

http server + socker client for GTAVisionExport managed plugin

HTML 27.73% Python 31.00% CSS 4.14% JavaScript 23.37% Shell 5.15% Dockerfile 8.61%

gtavisionexport-server's Introduction

This is socket client for GTAVisionExport

The server is used with https://github.com/racinmat/GTAVisionExport as part of Matěj Račinský's master thesis, available here.

GTAVisionExport managed plugin has socket server on port 5555. This is webserver + socket client which enables to instruct the managed plugin.

Installation

Install all needed libraries by pip install -r requirements.txt

Starting

Simply start the server nd socket client by python main.py

Make sure you start it after your GTA V is running!

Accessing it from other devices

If using WAMP server, just copy index.html to some place in www directory. Then, if you can not access it from other device in local site (192.168.0.* address) Modify both httpd.conf and httpd-vhosts.conf and put Require ip 192.168.0 right after the Require local line, wherever it is.

Id you are using docker, you can set up apache web server on 8082 port by docker-compose up

The gallery

This repo contains browser viewer of the images. You run it by docker-compose up, and it runs the nginx server. You also need to run the python REST API by python gallery.py.

For HTTP 2 you need the HTTPS connection. For HTTPS you need the certificate. Start the container by docker-compose up. Enter it by docker-compose exec nginx-https bash. There, generate certificate by openssl req -x509 -newkey rsa:4086 -subj "/C=CZ/ST=CzechRepublic/L=Prague/O=CVUT/CN=localhost" -keyout "/etc/nginx/external/key.pem" -out "/etc/nginx/external/cert.pem" -days 3650 -nodes -sha256

gtavisionexport-server's People

Contributors

racinmat avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.