Skip to content

Lightweight and fast UI for nodejs-pool based project, initially designed for supportxmr.com

License

Notifications You must be signed in to change notification settings

M5M400/supportxmr-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

supportxmr-gui is a lightweight, low resource pool UI for nodejs-pool (by Snipa22). It is javascript based and is self contained within 4 files + favicon. When minified, total disk size is 76KB with no external dependencies.

Page Load Performance Specs (Single Worker):

supportxmr-gui Old Frontend
2.5 KB HTML 10 KB
3 / 72 KB Static Files 48 / 6,031 KB
7 Data Lookups 14
102 KB Resources Total 6,031 KB
.5 Sec Page Load (w/o CDN) 5 Sec

Compatibility
supportxmr-gui requires ECMAScript 5 (Chrome 23, Firefox 21, IE 10, Safari 6, Opera 15). In theory IE9 could work, but Microsoft browsers have already taken up too much of my life.

Tor in high-security mode blocks svg elements and this UI is entirely svg-based. Tor's other security modes work fine.

A very optimized font file is used and does not support accents or special characters. See the Language and Localization section to increase compatibility.

Hosting
supportxmr-gui just needs the web server of your choice to serve favicon.ico and index.html which is a good candidate for Gzip compression.

The static files are best served on CDN and can have a long cache. This speeds up load times, increases your concurrency and will have some downages go unnoticed.

Language and Localization
supportxmr-gui automatically localizes decimals, thousand seperators, percent and time formats based on the users browser settings. Language used in the UI has been organized into a single point of configuration to make translation easier.

There is also an optional font pack provided that extends glyph support to Latin W01 & W02: Albanian (sq), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), English (en), Estonian (et), Finnish (fi), French (fr), German (de), Hungarian (hu), Icelandic (is), Italian (it), Latvian (lv), Lithuanian (lt), Norwegian (nn), Polish (pl), Portuguese (pt), Romanian (ro), Slovak (sk), Slovenian (sl), Spanish (es), Swedish (sv), Turkish (tr), Welsh (cy).

For additional language support you can substitute your own font with the necessary glyphs in the stylesheet. Any condensed sans-serif font will work fine as a substitute and you can optimize the font file for your needs.

About

Lightweight and fast UI for nodejs-pool based project, initially designed for supportxmr.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published