Skip to content

gildas-ld/dencode-web

 
 

Repository files navigation

dencode-web

DenCode is a web application for encoding and decoding values.
e.g. HTML Escape / URL Encoding / Base64 / MD5 / SHA-1 / CRC32 / and many other String, Number, DateTime, Color, Cipher, Hash formats

Website

https://dencode.com/

Usage

Install Java SE Development Kit (JDK) and Google Cloud SDK.

Open a shell or command line and execute the following commands on the project root directory.

Run on local machine:

./gradlew appRunStage

Deploy to Google App Engine:

gcloud config set project {PROJECT_ID}
./gradlew appengineDeploy

(Please replace {PROJECT_ID} to your own project id.)

Supported encoding

I18n support

DenCode supports English (en), Japanese (ja) and Russian (ru). If you want to add other languages, please add or modify the following source code.

  • Append a new language-code to locales config with comma separator (like locales=en,ja,ru)
    • /src/main/resources/config.properties [Required]
  • Add translated files
    • /src/main/resources/messages_*.properties [Required]
    • /src/main/webapp/WEB-INF/pages/policy_*.inc.jsp [Optional]
    • /src/main/webapp/WEB-INF/pages/method-desc_._*.inc.jsp [Optional]

How to add another encoder and decoder

If you want to add another encoder and decoder, please add or modify the following source code.

  • Add a new dencoder class
    • /src/main/java/com/dencode/logic/dencoder/*.java [Required]
  • Append new settings for the dencoder
    • /src/main/resources/config.properties [Required]
  • Append the encoding and decoding rows for the dencoder
    • /src/main/webapp/WEB-INF/pages/index.jsp [Required]
  • Append label texts for index.jsp
    • /src/main/resources/messages_*.properties [Required]
  • Add description files
    • /src/main/webapp/WEB-INF/pages/method-desc_._*.inc.jsp [Optional]

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.9%
  • JavaScript 4.0%
  • CSS 1.1%