Skip to content

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

License

Notifications You must be signed in to change notification settings

par7133/SwapCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: [email protected]