Giter VIP home page Giter VIP logo

minipavicli's Introduction


**** MINIPAVI Client 1.0 ****
**** Novembre 2023 ****
**** Jean-arthur Silve ****
**** Infos : http://www.minipavi.fr ****


**** L'ensemble des fichiers peuvent être ****
**** modifiés, distribués etc ! ****
**** Licence GNU GPL ****


Informations

MiniPavi est une passerelle qui permet de développer des services Minitel sur une architecture classique Web+PHP.

MiniPaviCli.php est la classe pour s'interfacer avec la passerelle.

Plus d'info sur http://www.minipavi.fr

Les scripts de mini-services MiniChat, France24 et SNCF sont fournis à titrre d'exemple.

Contenu

  • MiniPaviCli.php: Classe pour communiquer avec la psserelle MiniPavi

  • README.md: Ce fichier

  • MiniChat

    • index.php: script du service
    • MiniChat.vdt: Page videotex du service
    • miniChatFunctions: fonctions générales utilisées par le script
    • animGPT.php : fonctions utilisées par le script pour l'interfaçage avec ChatGPT

    Remarque: L'interfaçage avec chatGPT, désactivable, nécessite une clé ChatGPT à obtenir sur le site de CharGPT Disponible sur https://openai.com/product

  • France24

    • FRANCE24.VDT: Page videotex d'accueil du service
    • france24Functions.php: Fonctions utilisée dans le script du service
    • index.php: script du service
  • MiniSncf

    • index.php: script du service
    • MiniAPISncf.php: classe "light" pour communiquer avec l'API SNCF
    • sncf2.vdt: logo SNCF videotex
    • train.vdt: train videotex

    Remarque: vous devez indiquer une clé pour l'API Sncf dans le fichier MiniAPISncf.php
    Disponible sur https://numerique.sncf.com/startup/api/

Pré-requis

Serveur Web + PHP (les scripts ont été testés avec PHP8.2 et 7.3)

Installation rapide d'un service

  • Copier dans un repertoire accessible les fichiers d'un service + MiniPaviCli.php
  • Modifier le fichier index.php pour que le chemin vers MiniPaviCli.php soit correct

Voilà, terminé.

Si le dossier de votre installation est acessible par exemple via l'url: http://www.monsite.fr/test/

alors, le service installé est accessible par websocket à l'url: ws://go.minipavi.fr:8182/url=http://www.monsite.fr/test/

Vous pouvez utiliser, par exemple, l'emulateur Minitel (de MiEdit) disponible sur www.minipavi.fr pour y accéder

minipavicli's People

Contributors

ludosevilla avatar

Watchers

 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.