Skip to content
Permalink
Browse files

Version 2.5

Please see docs\changes.md
  • Loading branch information...
Ben Garrett
Ben Garrett committed Mar 19, 2018
1 parent fbd0f15 commit 9f9c0ea401561578b659252ceb3152aed54574d3
Showing with 18,184 additions and 1,137 deletions.
  1. +0 −23 .codeclimate.yml
  2. +2 −1 .gitignore
  3. +165 −0 LICENSE
  4. +10 −7 README.md
  5. +283 −0 css/modern-normalize.css
  6. +17 −21 css/options.css
  7. +3 −2 css/options_firefox.css
  8. +74 −64 css/retrotxt.css
  9. +6 −1 css/text_colors.css
  10. +513 −513 css/text_colors_8bit.css
  11. +38 −0 css/text_colors_cga_0-ice.css
  12. +86 −0 css/text_colors_cga_0.css
  13. +0 −2 css/{text_colors_cga-ice.css → text_colors_cga_1-ice.css}
  14. +9 −2 css/{text_colors_cga.css → text_colors_cga_1.css}
  15. +0 −2 css/text_colors_gray-ice.css
  16. +158 −38 css/text_colors_pcboard.css
  17. +0 −2 css/text_colors_vga-ice.css
  18. +10 −0 css/text_colors_white_bg-fixes.css
  19. +0 −2 css/text_colors_xterm-ice.css
  20. +0 −8 css/text_ecma_48.css
  21. +150 −0 css/welcome.css
  22. +20 −1 docs/changes.md
  23. +15 −3 docs/options.md
  24. +4 −3 docs/qa.md
  25. +1 −1 docs/source_code.md
  26. +3 −2 docs/technical.md
  27. +26 −17 eventpage.js
  28. +3 −0 fonts.txt
  29. +0 −1 fonts/material/iconfont/material-icons.css
  30. +213 −0 fonts/monafont/README-ttf.txt
  31. BIN fonts/monafont/mona.ttf
  32. BIN fonts/woff2/AtariClassicChunky.woff2
  33. BIN fonts/woff2/AtariST8x16SystemFont.woff2
  34. BIN fonts/woff2/C64ProMono.woff2
  35. BIN fonts/woff2/MicroKnight.woff2
  36. BIN fonts/woff2/MicroKnightPlus.woff2
  37. BIN fonts/woff2/P0T-NOoDLE.woff2
  38. BIN fonts/woff2/PrintChar21.woff2
  39. BIN fonts/woff2/Px437_CompaqThin_8x8.woff2
  40. BIN fonts/woff2/Px437_IBM_ISO8.woff2
  41. BIN fonts/woff2/Px437_IBM_ISO9.woff2
  42. BIN fonts/woff2/Px437_IBM_PS2thin4.woff2
  43. BIN fonts/woff2/PxPlus_AmstradPC1512-2y.woff2
  44. BIN fonts/woff2/PxPlus_AmstradPC1512.woff2
  45. BIN fonts/woff2/PxPlus_IBM_BIOS-2x.woff2
  46. BIN fonts/woff2/PxPlus_IBM_BIOS-2y.woff2
  47. BIN fonts/woff2/PxPlus_IBM_BIOS.woff2
  48. BIN fonts/woff2/PxPlus_IBM_CGA-2y.woff2
  49. BIN fonts/woff2/PxPlus_IBM_CGA.woff2
  50. BIN fonts/woff2/PxPlus_IBM_CGAthin-2y.woff2
  51. BIN fonts/woff2/PxPlus_IBM_CGAthin.woff2
  52. BIN fonts/woff2/PxPlus_IBM_EGA8-2x.woff2
  53. BIN fonts/woff2/PxPlus_IBM_EGA8.woff2
  54. BIN fonts/woff2/PxPlus_IBM_EGA9-2x.woff2
  55. BIN fonts/woff2/PxPlus_IBM_EGA9.woff2
  56. BIN fonts/woff2/PxPlus_IBM_MDA.woff2
  57. BIN fonts/woff2/PxPlus_IBM_VGA8-2x.woff2
  58. BIN fonts/woff2/PxPlus_IBM_VGA8.woff2
  59. BIN fonts/woff2/PxPlus_IBM_VGA9-2x.woff2
  60. BIN fonts/woff2/PxPlus_IBM_VGA9.woff2
  61. BIN fonts/woff2/PxPlus_TandyNew_225-2y.woff2
  62. BIN fonts/woff2/PxPlus_TandyNew_225.woff2
  63. BIN fonts/woff2/PxPlus_TandyNew_TV-2y.woff2
  64. BIN fonts/woff2/PxPlus_TandyNew_TV.woff2
  65. BIN fonts/woff2/PxPlus_VGA_SquarePx.woff2
  66. +3 −0 fonts/woff2/README
  67. BIN fonts/woff2/TopazPlus_a1200.woff2
  68. BIN fonts/woff2/TopazPlus_a500.woff2
  69. BIN fonts/woff2/Topaz_a1200.woff2
  70. BIN fonts/woff2/Topaz_a500.woff2
  71. BIN fonts/woff2/mOsOul.woff2
  72. BIN fonts/woff2/mona.woff2
  73. +12 −8 functions.js
  74. +1 −0 libs/tippyjs/themes/light.css
  75. +1 −0 libs/tippyjs/themes/translucent.css
  76. +4,177 −0 libs/tippyjs/tippy.all.js
  77. +1 −0 libs/tippyjs/tippy.css
  78. +5 −9 manifest.json
  79. +250 −74 options.html
  80. +29 −21 options.js
  81. +150 −74 retrotxt.js
  82. +1 −0 test/example_files/long-string.ans
  83. +68 −0 test/example_files/shift_jis-art.txt
  84. +43 −25 text_ecma48.js
  85. +37 −0 tools/README.md
  86. +396 −0 tools/kit.js
  87. +11 −0 tools/kit.json
  88. +11,074 −0 tools/package-lock.json
  89. +30 −0 tools/package.json
  90. +72 −205 welcome.html
  91. +14 −5 welcome.js

This file was deleted.

Oops, something went wrong.
@@ -9,4 +9,5 @@ web-ext-artifacts
style.txt

# Visual Studio Code
.vscode
.vscode
node_modules
165 LICENSE
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
@@ -1,20 +1,21 @@
# RetroTxt

![Code Climate](https://codeclimate.com/github/bengarrett/RetroTxt/badges/gpa.svg)

Turn many pieces of ANSI text art and ASCII/NFO plain text into HTML5 **text** using RetroTxt. The browser agnostic web extension that takes retro text files and stylises them into a more pleasing, useful format to view and copy in a web browser.
Turn many pieces of ANSI text art and ASCII/NFO plain text into HTML5 **text** using RetroTxt. The browser agnostic WebExtension that takes retro text files and stylises them into a more pleasing, useful format to view and copy in a web browser.

Available for installation from both the [Chrome store](https://chrome.google.com/webstore/detail/retrotxt/gkjkgilckngllkopkogcaiojfajanahn) and [Mozilla Add-ons](https://addons.mozilla.org/en-US/firefox/addon/retrotxt/).

- View ANSI, ASCII, NFO, PCBoard, Wildcat text art as HTML
- View ANSI, ASCII, NFO, Shift JIS, PCBoard, Wildcat text art as HTML
- RGB 16.7 million, xterm 256 and IBM VGA 16 colour support
- Swappable ANSI palettes, xterm, VGA, cyan/magenta CGA, monochrome and switchable iCE Colors
- Swappable ANSI palettes, xterm, VGA, CGA, monochrome and switchable iCE Colors
- Swappable ASCII & NFO colour themes, DOS, Windows, Amiga, C-64, Apple II, Atari ST
- SAUCE metadata parsing
- Multiple text encodings support including CP437, ISO-8959-1, Windows-1252
- Multiple text encodings support including CP437, ISO-8959-1, Windows-1252, Shift JIS
- Text rendering toggles, smeared, shadow and normal
- Multiple IBM PC font support such as VGA, PS/2, EGA, CGA, MDA plus variants and more
- Various Amiga fonts plus Commodore PETSCII, Atari ATASCII, ST and Apple II
- Various Amiga fonts plus Mona, Commodore PETSCII, Atari ATASCII, Atari ST and Apple II

Limitations
- A lot of [Bulletin Board System](https://spectrum.ieee.org/tech-history/cyberspace/social-medias-dialup-ancestor-the-bulletin-board-system) era ANSI art that relied on the 80x25 terminal with cursor positioning to create visual text motion and animations do not convert to HTML

![RetroTxt showcase](/docs/assets/zii-rtxt-ad.png)

@@ -72,3 +73,5 @@ RetroTxt ANSI logo Zeus II [Twitter @Zeus_II](https://twitter.com/Zeus_II)
- Commodore 64 font [_C64 Pro Mono TrueType v1.2_](http://style64.org/c64-truetype) from Style

Options icons by [Google Material Design](https://material.google.com/)

Tippy tooltips by [atomiks](https://github.com/atomiks/tippyjs/)
Oops, something went wrong.

0 comments on commit 9f9c0ea

Please sign in to comment.
You can’t perform that action at this time.