Giter Club home page Giter Club logo

carrie_cotg's Introduction

carrie_cotg

Proof of concept of the project Code-On-The-Go (COTG)

Installation Process

  1. [Pre-Requisites] : Ensure that your system has the following installed on your system:
  • OpenSSL
  • Boost
  1. [Setup] : run the following commands in sequence:
  - mkdir build
  - mkdir build/logs
  - mkdir pipes
  - mkfifo pipes/fromTG.fifo -m0666
  - mkfifo pipes/toTG.fifo -m0666
  - mkfifo pipes/pass_chatId.fifo -m0666
  - cd build
  - cmake ../
  1. [Build] : Build the following 3 targets : carrie, fromTG, toTG in the build folder run:
cmake --build . --target carrie fromTG toTG
  1. [Run] : Open three separate terminals and in the build folder, run the following applications:
./fromTG
./carrie sh
./toTG

Modifying application :

currently the fromTG and toTG have the token for the telegram bot hardcoded. If you intend on creating a new telegram bot to work with, create a new telegram bot and obtain the token key. Update this in the program and rebuild the application. In successive versions, this method needs to be replaced with better ones.


Future-Work:

This project has many opportunities to improve on, including:

  • Do a market research survey to identify need and price point.
  • Extend this work to support Discord.
  • Include support for text-color and application specific commands (eg. clear/cls clears the telegram window instead of the remote terminal)
  • Ability to transfer file to the remote system within the chat-interface.
  • Add security measures like MFA and SUDO-commands monitoring to prevent accidental damage or unauthorized usage.
  • Support for Escape-Sequences (Edit/modify existing response-text to animate a progress bar)
  • Command black/white-listing (Regex) and directory compartmentalization.

Contribution:

If you're interested in contributing to this project, feel free to reach me out at [email protected]

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.