MoneroOcean / moneroocean-gui

Lightweight and fast UI for nodejs-pool based project, designed for moneroocean.stream
MIT License
19 stars 23 forks source link

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

Compatibility
moneroocean-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
moneroocean-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
moneroocean-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.