Patu Digua

A web obfuscator and compressor
Download

Patu Digua Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Adrian Ber
  • Publisher web site:
  • https://jcalendar.dev.java.net/

Patu Digua Tags


Patu Digua Description

A web obfuscator and compressor Patu Digua, or shortly Digua, is a web (JavaScript, HTML and CSS) obfuscator and compressor software. It will reduce the size of your website, boosting performance this way, and it will make your JavaScript source code harder to be copied.Why?The question is why to use such a program. Why to obfuscate your website? First of all maybe you really don’t want somebody to copy your JavaScript code as it is business critical. Of course, this is not like the code will be compiled and linked, only harder to read and understand. And for this you should definitely use the obfuscation for JavaScript variables and functions.But this is not the only reason to use this program. The compression of the web code is what I think is really matters. Less code means faster websites.Why Patu Digua?Patu digua is the smallest known spider in the world.Usage:Patu Digua can be used * from the command line interface * in your Java program * from the graphical interfaceCommand-line interfacePatu digua can be run from the command line interface. The command line interface options are the following: * -s/--src The source to be processed, which is usually a directory but can be a file as well. * -d/--dest The destination where the processed files or directories are stored. If the source is a file this can be a file or a directory. If the source is a directory, the destination must be a directory. If this a relative path, then it is relative to the source directory, not to the current folder. * -c/--conf The configuration file. * -n/--nogui If this is specified, Patu Digua does not start in GUI mode, but starts processing right away.Java IntegrationPatu digua can be easily integrated in your Java program. And it takes only one line of code: new Digua(“/path/to/config.file”).run();It will load the specified configuration file and it will run the entire compression/obfuscation. If you want to specify another source directory/file than the one in the configuration file: XProperties options = new XProperties(); options.load(“/path/to/config.file”); options.put(“src”, “/path/to/source.file”); Digua digua = new Digua(options); digua.run();In the same way you can specify other options too. For detailed specification please consult the Configuration section. The entire process can be run in a separate thread: new Thread(new Digua(“/path/to/config.file”)).start(); Here are some key features of "Patu Digua": · obfuscation and compression of HTML, CSS and JavaScript files · automatic processing of entire directories · removal of unsignificant whitespace and newline characters · removal of comments · renaming of HTML IDs, CSS classes and JavaScript variables, labels, functions · possibility of exclusion of different names from the renaming process · saving translations for future use · fully configurable through property files Requirements: · Java 2 Standard Edition Runtime Environment What's New in This Release: · HTML tags can be transformed to upper case, lower case, or randomly mixed. · HTML attributes like style are processed like CSS. · HTML attributes like onload are processed like JavaScript. · An option was added to specify the suffixes for files that will be interpreted like JavaScript, CSS, or HTML. · Some options were moved to the Advanced panel.


Patu Digua Related Software