Skip to content

A half day challenge - Styled HTML content generator from provided plain text input.

Notifications You must be signed in to change notification settings

zruzicka/CharCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CharCloud

Build status Quality Gate

CharCloud is a simple demo project which generates HTML content based on provided plain text input. Generated HTML uses style in a way that every letter's height is inversely proportional to letter frequency in the particular content.

Known available approaches

Generated HTML with individual letters styling

  • It's easy and quick for implementation.
  • Fits only for small inputs - larger input consumes HW resources for HTML parsing.
  • Highly inefficient data bandwidth - serialized output is too large if we consider ratio of serialized styling to real content amount.

Generated both HTML and dedicated font

  • Font could be generated and dedicated for the specific input.
  • Efficient bandwidth usage.
  • Requires suitaible font format selection, font structure knowledge and dynamic font generating during input processing.

CharCloud

  • CharCloud is implemented as Maven project for Java platform.
  • Generated output is HTML and CSS.
  • Individual letters styling approach was chosen for this demo.

Initial setup and launch

  • There is no external dependencies except Maven and Java.
  • Produced output is generated into root folder.
  • Tests and generator with sample scenario can be started via 'mvn test'.

About

A half day challenge - Styled HTML content generator from provided plain text input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages