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

Capitan Cloud dbdcf9fec2 Update index.html 3 weeks ago
Private 42cf87c7af Update footerContent.php 1 year ago
Public beac78c4b7 Update style.css 3 weeks ago
CNAME 8f7bc39c5f Update CNAME 1 year ago
INSTALLATION.md fadb5a4632 Add files via upload 2 years ago
LICENSE 7c459d7a34 Initial commit 2 years ago
README.md b7efb39163 Update README.md 6 months ago
index.html dbdcf9fec2 Update index.html 3 weeks ago

README.md


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

Feedback: posta@elettronica.lol