Swapping code like burgers? Your p2p, drag-n-drop solution - PHP: <=8.1, GPL https://swapcode.5mode-foss.eu

Daniele Bonini (皮夕): WebDev and DevOps by lots of Sim.pli.city bits 2f8e85578d Update index.html пре 3 година
Private 8088114dc6 Create empty пре 3 година
Public 6ba03db477 Add files via upload пре 3 година
CNAME 8b4212a9a4 Update CNAME пре 3 година
INSTALLATION.md fadb5a4632 Add files via upload пре 3 година
LICENSE 7c459d7a34 Initial commit пре 3 година
README.md 4b6c7e233c Update README.md пре 3 година
dd.html fadb5a4632 Add files via upload пре 3 година
index.html 2f8e85578d Update index.html пре 3 година

README.md

SnipSwap

Swapping code like burgers. A snippet swapping tool, an on premise solution - GPL License

Hello and welcome to SnipSwap!

SnipSwap is a light, simple, "peer-to-peer" software on premise for swapping your snippets of code with others.

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

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 SnipSwap 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'.

Hope you can enjoy it and let us know about any feedback: info@snipswap.org