Skip to content

GabrielDuarteMG/DontpadJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dontpad unofficial API for Js Vanilla

Features

  • Using Dontpad in Javascript without backend server to request.
  • Free proxy to get Dontpad Data by cors-anywhere.
  • Using crypto-js to simple encrypt and assign post data.

Using

  • After import DontpadJS.min.js
Post
postText(urlPath, textPost)
Get
getText(urlPath).then(response => {
    console.log(response)
});
Get SubPaths (Menu)
getSubPath(urlPath).then(result => {
     console.log(result)
});
Clear Path
clearPath(urlPath) 

Safe Data (AES + JWT)

Post
  postText(urlPath, textPost, true, passwordSignature)

If someone access your path will see like this.

*If you dont insert Pass this default password will: dontpadJs *

Get only text
getText(urlPath,true).then(response => {
        console.log(response)
});
Get text and verify signature
getText(urlPath,true,true,passwordSignature).then(response => {
        console.log(response)
 });

Output

HTML
   <script src="https://cdn.jsdelivr.net/gh/GabrielDuarteMG/DontpadJs@latest/DontpadJS.min.js">
   </script>
Local Import
   <script src="DontpadJS.min.js">
   </script>
For use Encrypt
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/hmac-sha256.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/enc-base64-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>

Contact

Email

gabriel160499@gmail.com

Implement Max Security.

  • If you wanna using some mathod to encrypt and implement your post on max security, i'm recommend Obfuscator.io.

About

πŸ—’οΈ Dontpad unofficial API for Js Vanilla

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors