Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/par7133/swapcode

Swapping code like burgers? Your p2p, drag-n-drop solution - PHP: <=8.1, GPL
https://github.com/par7133/swapcode

code drag-and-drop on-premise p2p peer-to-peer snip snippets solution swap swapping web

Last synced: 3 days ago
JSON representation

Swapping code like burgers? Your p2p, drag-n-drop solution - PHP: <=8.1, GPL

Awesome Lists containing this project

README

        


>>> Donate to 5 Mode <<<



Swap Code


Swapping code like burgers? Here your p2p, drag-n-drop solution - GPL License



Hello and welcome to Swap Code!

Swap Code is a light, simple, "peer-to-peer" software for swapping snippets of code with others, by dran-n-drop.


Swap Code is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.

Swap Code got built behind some cool features like object drag-n-drop between browser windows, full object serialization and xml.

First step, use the left side panel password field to create the hashed password to insert in the config file.


As you are going to run Swap Code in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:


  1. Check the write permissions of your "data" (repo) folder in your web app private path; and set its path in the config file.

  2. Set the default Business Label, Link and Email of the stuff your are going to swap.

  3. Set the MAX_DFT_NEW_SNIP value stating the max number of snippet the app is going to initially create.

  4. In Public/js/cube-code.js, in mystart class method, check if you are using 'http' or 'https'.

Please note that version 2.0.5 > is not compatible with previous versions.

###Screenshots:

![Swap Code in action](/Public/res/Screenshot1.jpg)

Feedback: [email protected]