| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Once upon a time, I was creating an project which does really great thing including making meetings, etc. and this idea came in my mind:
Why would I allow someone steal my code pretending that he wrote that script/code?
So, I though why don't I make a code obfuscator to make my code hard to read and nearly impossible to understand? So, that's the beginning of CodeGuard.
Once a user provides a link to the file, we recommend using GitHub Gist because the project was made to be used with Gist, but it will work also if you give a direct link to the file like https://example.com/myproject/main.py
The user will be selecting either Python or JavaScript:
Upon the user selection, it will call the API located in api.codeguard.tech providing 2 parameters, the code link in link and the programming language in lang, of course you would like to try to use the API yourself, we will leave a guide below!
As soon as the API has been called, it will start getting the file and obfuscating it, as soon as the obfuscated file is ready, it will be automatically downloaded at the user side.
Next.js - Making the front-end design of the website
HTML/CSS - Making front-end
JavaScript - Back-end, for e.g. modal (alert) and link validation
Vercel - Host the website
It's really simple to use our API, in JavaScript, it only requires one line of code!
window.location = "https://api.codeguard.tech/?link=<code link here>&lang=<js or py>For example:
window.location = "https://api.codeguard.tech/?link=https://gist.githubusercontent.com/Omar8345/1038a82e7db5f81d0722a4f2ab701924/raw/b213490f419b1d67de6a6a1647557934b97fc1ef/nicecode.js&lang=jsgit clone https://github.com/Omar8345/CodeGuard
Next, head into CodeGuard/API and open your favorite IDE, if you use Visual Studio Code, just enter:
code .
$env:FLASK_APP="__init__.py && flask run"
Read more at: Introducing CodeGuard
Made using Vercel and Linode for the Hashnode X Linode Hackathon!
| Back | FazBrowse Home | New Git URL |