Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
ノネメちゃんの AA を html ファイルに挿入する
Browse files Browse the repository at this point in the history
  • Loading branch information
calmery committed Nov 9, 2020
1 parent 23e7daf commit 65c515b
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"name": "metaneno.art",
"private": true,
"scripts": {
"build": "next build && node scripts/insert-noneme-aa-to-html.js",
"fix": "run-s fix:eslint fix:prettier fix:stylelint fix:svgo",
"fix:eslint": "eslint --ext .js,.ts,.tsx --fix --ignore-path .gitignore .",
"fix:prettier": "prettier --write .",
Expand Down
18 changes: 18 additions & 0 deletions scripts/insert-noneme-aa-to-html.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const fs = require("fs");
const path = require("path");
const glob = require("glob");

const nonemeAsciiArt = fs.readFileSync(
path.resolve(__dirname, "./noneme"),
"utf-8"
);

const pagesPath = path.resolve(__dirname, "../.next/serverless/pages");

glob(`${pagesPath}/*.html`, {}, (_, files) => {
files.forEach((file) => {
const baseHtml = fs.readFileSync(file, "utf8");
const html = `<!--\n${nonemeAsciiArt}-->${baseHtml}`;
fs.writeFileSync(file, html);
});
});
98 changes: 98 additions & 0 deletions scripts/noneme
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
```````````````````````````` `` `` ` `
` ````````````````````````````````````````````````````````````` ``` ` `
```````` ..............`..``````````````````````````````````````````````````````````````` `
` `` -_<~~_____~___~~<<<<<<<<<<<<<<<<<<<:(_((--------......... ``````````````````````````` `
` ```(~:~~~~____... ```````````` `` _`` ```____~~~~!<<<<<<<<:::_--(---......`````````
````_<<(((____~__________________----.... ` `````````````` .`.`..``____~!<~_- ```
` ``````.`..`....________~<<<<<<<<<<<<<<<<;;<<+(((((-(--______________-............ ...-~~~~_````
` ``````````````````````.``````````.`.``.``..`.....``_____~~<<<<<<<<<<:::_______~:~~~~:_____``` `
` ` ````````````````````````````````````````````````````.`.`.``.`..`..._________`````
` ` ` `` ` ` ` ` ` ` ` `````````````````````````````````````````` `
`` ` ` ` ````` `` `
...__~~~<<~~~<<(-.............. `
` ..~` `````````......~~~~~~<~__..._`.`. _~~...`
` .-!``````````````````..` ....~~~__`..````````````` ~_..
` ..~ ``````````````````````````.`..``````````````````````` _~. `
` .~`` ````.``````````````````````````...``````````````````````` ` ~-.
` `` ``.`..``.```````````.``.``.````````````.````.`````````.....`.```` ~.
`.` ` ```..`.`..`..`.`````.```````````.``````````````````.`..`.```.`.`.````` _.`
` .~` ```..`````..`.`````.``.```.``.``.```.``.````.``.```.```.`..`.`.```.`.`.```` ~.` `
` .` ````.``.`` ........`..`.`..`..`..`.`.``.``..`.````.`.``.``........`.``.`.`.```` ~. `
`.!``````.``.``.........`.``...`..`.`.`.`...`..``.`..`..``.`..`.``....`..``.`.`.`.````` _ `
` ` (!````````````........_..`..`..........``.`.``...`..`.....`.``...`.....```.``.``.`..`````~.
` ` `.v````````.` ``````.-_``..`..`...`.`..`..`....``......``........_.........`````.``.`.``` `_.
.C `````` ` ` `````` `````.``.`...`..`.`.``.``..``._.`..```.`.`.._..`.....``` ```.`.`.`````(.
`.f ````.. _ ``````````.`````````.``.``.``.``.``.`.`-_.`..``.``.`` _.````````` ` `.`.```````(-`
` .r````...._ ` ``````.```````````.. ````````````.````` .````.```````.``````````` ` `````````` O.
`.2````..``_`` ` ` `````````````````-````````````````````````````````````````````` ` ..````````.S.`
J` `..`.`-_` `` `` ` ``````````````` (```````````````````````````````````````````` ` `__.````````?o
` .>```.`..._``````````````.````` ` `` >` `````.``.```````` `````````````````````` ` __.`.``````4< `
`.$``..`..`.< ``````````.-```` ` ```._{` ````````` ```` ` -````````````` `` ``` `````` ` ._.....````.b
J``....`..(~ ``.``..``` ...````` `` (}`` ````````` `````` _``````````` ` `` `````````` ~``.`....`.?[
` .t.._.`.``.(_` `` `..```._....```. _ ..Zl... ```.`````````.` _````````````` .``` ````_` `` `(.``.```.` ~S
` `J!.~_`.`...<_ ```..`.``.._.. -.__...`.(>l`....`...``.`. ._.`.; ~__.--.. .``..`` `````..```` `._..`.`.`..(J<
` c`.~``.``` <_` ``......`(___...`...`` +~i` ..``..```..`.._.`.I` .````.`` _~ (~ . `` .``````.~.`.`.`.``.zb
.>(!.`.....`<_ ``...``...(_...`.`..... >~(-`...```.`..`.`...`(C.````.``````.`z-__.`._``...`````(_`.`.`.`...(k-
((!......`..(_ ...._...`._;`.....`.....~~_{.`.......`...`....(>:``.` .``.`.` I..``.._```..``` `._.`.`.``.`..z[ ` `
`.Z!...`..`` _ ._..`.__.....+..-_..`....(~~_(-. ...`....`......(>(-.``--.`.....$_..``.``.`....```(``.``.`.```.(6
` . ` ``.(^_..........-`__...._<_.`..(1.._.......<~ _<..._....._......`(<~<.`.._.` `..(C...`.`..`..`._ ` ~..`..`....`..(l `
_..` ` ` .?! `........``(~` ~_....__-...-c1.._...._.(~``_(_.__.......`.....(<~_<.` _.` ...+<...`.`..`....__` ~ _`.`..`....`.([`
_` !!!~ ``````.-_.......(_`` <_....~<-...1_1-__._(l-(-...~<..__....._...~..(<_-_<. ~_. ..-1_>..`. `..`..___..` _.`..`........j-` `
` _..``````. ._`.```....``(~`.` <_...~~?o..(c<(+(u-+ku++.._<_<-_(_...~_...__.(_..-(<._+_(~.-<~(..``_......(!. _``-.``.........._1. `
` !<<(((+~``````.......<_`.```__..._~(U&-dmXXXQQkXZWmQkXm+.(-_<-.~.__...1__<_``..+(uS>__-<~_+-..(`....-+_._``.(_.`........`.` ?. ` ` .~
-.._ ```. ..`......`<_.: ``` ~-`(iJjgHHQMMSXwOzzwwXMMNkT:_<_~-__~__..(<.j+gHHyWQAAwZUXA++1l..(.....({ _``..<_..`......``.````_`_ ` . `
_!_-.(-<`.._~.....(_ <```````_~-jHW91MU0ZOOrtOOOOOOWZS.``_ __._1-.-;?TdNMMSOll+llOUWQWbA--+ ___((-/ `.``?...`.....``.``..```````` ` .`
`.__`..<_.....`(_(_`````````,HX=.J@z1???=11?<:(<jP ~``````` __?1-((Y!dSXrrtrrwXzuXdNHHHk>+<(<~i!`` _`.?...........`.` _.`.`````.-! `
.._.(?!.........(_(~``.``````.S> ,$<<1<<<<<<~~~(<$ ````````````` ```.BOz1+1==zOZvCOdP7HHHn<~.__``` _` z...`........````?<(((??!
`!<<??j!~.......`.`.(>(`` _```````Z` >~~j+c~~~~<t ````````````````.C<1<;;<<><<:<:vK .UWK_```` _` <..>............._. ` ~-.`
.>.............(I<``.````````I` -..?```_!``` _(! `` `` ```` ```` .<~~(_~~~<::j$ `.w$_```` _` +_.>...``.....(_..(??<<<<?`
c........_..`..(I}``_````````O```` 1_``. ``` ` _` ```````` ``````` _+<!.``<+! ___~J! `(!``````_``1_(>~...`....~~1+-.(- `
`,~.......__..`.`-X``.~````````O``` ` (,``` _ `` J!`````````````` ```` ( ``- ```. ` .` ` v```````_``j_(>~....._......?U<+(++(,
`.!........__.`... V``(`````````z `````` ?i-....(?` ```` `` ``` ````````.l `` ```./ ` ` $``````.~``(<J<~~....__...~..j_
~.........(_.....(%` >`````````J_..` ``. ?<<<~```````````````````` `` `` ?<-....J7! `````.>```````~``(<Z:~~.`..-_~.....j:
` ` -......`...(...`.`(:`.~`````````(_... ........``.``````` `````````````````` _??!!`.`..`.`(!``````` `.o%~~_..`..<~....((: `
` `-`.`..`....~:.....-I <``````````(l...............`````````````````````````````........_.. z```````.(_`.X<~:_..`..1~_..._+{
`,`.`.......~~<.`.``({`.:``````````-R_...............```````` _.-````` ``````` --............r````````._`.f~:~_.`...j__... 1{
` ._....`..`._~(>.... v` 2````````` `.So_.............```````````````````` ````._.~.~.~......-d:```.```` {`.$~~~..`...(<:..`..% `
,.......`...~~({.`...>`,I ``````````.SOx_.........`````````````````````````````............-dK `````````<` I~~_...`..(<:...`.(.
` /.~..`......~~~(\...-v`.>j_``` `````` X>dm-````````````````` ````````````````````.`..`......dOt``````````,.`z:~~....`.(<~.....`< ` `
` ~__.._.``-_._~~~(}...(! <~({```````` ` z<+?H, `````````````` ```````````` ``````````````` (K1d~``````````.{`(c~~.`....(>:_...`. ~
_~__~~_..-__<~~~~({`.(! J_~_z.`` ``` ```jz><;Wm,````````````` ?<-. ` ..(?! ```````````````(d8z1f```````````.o` P~~..`...(>:_.....`-_ `
``._~~.~~_..-_(<~~~~~(:._~ J..~~1_```````` `(I><<lzTn,```````````````` ` ```````` ``````````.+B1?>z$```````````.X-`O_....`.`(>:_.........
.<~~.~~.....(>~~~~~_(<-~.<_.~~~(:``` ````` .I><<==1zv6-.````````````````````````````````..X3<+==>d:`````````. Zdl`(l_.`....(>:_..`....~- `
` ``.<~..~......-J~~~~~~~~?__.>...~~~~I `` ````` 0>;+==zI==zwU&. ````````````````````` ``..JVCzz<<=?<;Z_``````````(wWz- 1_..`..`(<:_...`....~<. `
` ` ` ` ` .>~_..```...(>._~~~~.~(<_.!`...~~::O_``````````O;;ll=d==jOT7zTMTGJ.. ```````````` ..Jz17TOz?tz<+z=?+$`````````` JwR<+..{....`.(<:_......._~_1.`` ` `
?<. ` ` `.<~...`..`...v_-_~~~~~~.d</_....~~~~(j:```` `` ``(<;O==dzC<:~jzzg::~:<?TTO&++&zOYT=<<dOzz<~~?4yz:+==?d>` ````````.Id$<<1.(_..`..I<~...`....__~~__`` ` ` `
_!_.` `` ,!..`````..(J!.-~~~~~~~~(C!..`...~~::(+$-```````` ,I(wzvC:~~:~?Zd#~:~::::::::~~:~~_~~.JZOZ<~:~~(7iz=?>Z```````````JzX><~_1.1....(3:~......._._~~~.~.` ` ` ` ` ..
`_. ` ``` .>..```..` -J>.._~~~~~~~~(2_......__:::+;w_````````` n?<<~~~~~~~:?TD~~:~~~~~~_~~~~..~...JRC~~~:~~~:~(?Ou$``````````.Dd6(<:_ 1_l...(::_......_~_-~~__-.- ` ` ``..?!`
` ` . .!_`````.`..(C`.._~~~~~.~(vZ_...`..._:::(I>j{````````` I~~~~~:~~:~~~~?i~....~........~..~(J>~~~~~:~~~~~~~J>````````` J+w>(<~_.-1?l.-C::~...~..__~__~_z-` ~. ` ` `` `.._?`
` ` ` .!```````..-(U=.` ~~~~~~.(J>(!..`....._::~J<<1I-`````````(_~~~:~~~~~~~~~~1-_.~.~..~..~..~-J!~~_~~~~~~:~:~~_Z `````````-3zZ<:~:_`..?<l(<z<_.......~_~.___1-.` ~. . <!`
. ``` ` - ~```````` (C(>. _~~~~.~_(<~(!.`..`..~_::~(3+<;O_`````````,c~~~~~~~~:~~~~~._1+_..~..~..~_J!.....~~~~~~~~~~~(t`````````.v<OI:~~~..``.-js_zs_......~._~...~~1-_.` _?!` `
_~<_. `` (<-.`````..(7~(C` ~~~~..-J>~~(>...`...~__::(Y71zv?l````````` I~~~~~~~~~~~.~...._?+_..~..-J>_..~.~.....~..~~~~(:````.```.(6wd>:~_``.``..(?X-X/.........~~...._1+__.`__. `` ` ``
` `_~_- .- `` -_...,^ ` ?<+-_(J?<~~~(!`..`.. _~_::(C~~~?1_z-`````````1_.~.~..........~..._?1-~(J!....~...~..~..~....~+`````.``` Z+zZ~~_ ...`..-2~:?zS-.........~~....~?, ~_ ` ~.` ``` _`
` __````````.-- ` ``~~~~<~<<(-~~(c``...`. _~__:J7:~:~:1<_t`````````(<.....................JWo_...........~....~.~.(c````.````,<+j3~~_`````..(~~:<_(L.................(i ~_ ``_-. .._```
` ._ `````` .(!`` ``_``` <dt``..`..._~~_(v<-dc~(((I_?-.```````.l....~..............(Zj>zo_...................(>```````..I+<Z~..`````..(C_~~~:_(2_................_1. _..-`~_.`
._`````` .-<!...._. ` .V!```...`-_~~_(3~(d31+~~<?<_1`.```````w.............~....-v:I~:?l...................v ````.``.(<+z>~~```.``.-v~~~~:((~C;_<(--............_?-._(<!-.`` _..`
````` .-?!` ` ...__-. ` .v!````....__~:~(<:_j$_(>.__:1<(_````````(-..~..~..~......~.(><<I~:1<.................(\````.`. -I+1Z~~_`````..J:._(<<_..`?,.._<<<<<~~~~__ ` ..<``` ~_.`.` ~.
` .-?! ```....~_-. .>``````..`._~:(J!Tw++B...O-~~~_1_I`.``````.r...~..~.~~......(1-_(l~_+z_.~..............J`````.`._J<>(>~_```.``..n+<!..._ ?o.....__~~-((-<<<<____` _-.```_
?! ` ` ``......___~ ````````.._~(v^....(X!..._I....(<(<`.``````j_..............(>_~.(I_.._1_.....`````````.}````.`.-($<_2~.``````..$...... (n-.................._-` _-.``
` ` ` `` .....-_```````````.._(J!`` -J%....-J_.___(>(.```````({............._<....(1<.._(> ...``````````(~````.` _J;_(~~_`````..Xb... ` ` .4,.`.................~. `~_.
` `` ` ` .~ ````````````-J<``` ` `.f`....(>..._<<1~1..`````.C__!-``````.._+:...(<_<_...<-...`````````.>```` ..~(><<C~_```.`` J~W<_ ```` -__~_?l-.`..`_-.`.`.....~~__`` ~
````` ` ` ..`````````````..?!_~_. ``` J` ` ..._(_. _`_<({`.`````j<<..~.````.-(_~<_.(<.j_..(<1-..``````...(~```..`-(C<~(~_```````J!`(r``` --~~_``...-1-......_..........._<. `
```` ` ` ` ._``````````` .J<~.......___. .: ..._<.````(<?,._`.``.I<<.._.``..(>~.._+~...(<~~(<I_`__. .! -}```` .-($<` <_..```` (!.. 4-`.-_~...........- ~_.....~...........~__ ` `
`` ` ` ` .~`````````.._<! ....` _......_> `` .__~` `(_j-.....`.2<; (- ` (<....._<~._/_-...(>` ` _ _<J ``` ..-Z! ._._```` (>``. (r._......... ` .~. _~_....~_....__....~~<.
`` .`` ` .~```````..<! ` .`` .._ ` ._ ....(` :` ~. `(_<-......(<>..I `.(_`````.!_._< ``` ~<- ._.((j!```..._+< ~ .````.->.``..`O-.....~_`_. ` ... ~_ __-~..~~_...~.....~(-
``` ~ .!..``` .J^`` ` ._ .-_ ` ._` ..({ ` <``-_` ._<<.?,_~~~..__..w (`_~`..<__...._< `.._<.`(` Ij{``..~._J<<___ _ ````.2 .` ..l......``~_ ._. ._ ` ~~-..~~....~..~.~_1.
` _ ` .>_...` _! ` _` . `` _.``..( ` `. `_(~ _<< ?1_~~~...~(r _> ```(~._ ` .~~<~_`` <.<. ?^`` _..(c(!~~__. ````.v` ` .<_.~~._``._```` _` . ` ~-.~~_.._~.~~~_<<
_ ?~..~...- ` ```````` .``.(! ` ` ` _`(1_ ``(< ?.((___(v`.<`. -<_. ` .~_i.```.<<__..-_~__(> ~ _``````J` ` -<.... ` _````````` ` ` ~-~~~.._~.~~::
` ~ `.!_~..__-~. ` ``` ``````` -```` `` _ `` ! <_<. _~ ?7777` .~` ``(_. ` ` ..(_ ` _(1-_~~_(Jv` (_ __`````,` . .__...``````` .````` `` ` ` .<<_~~._~~~~:
` _ .>__._J~ ~~.`` ``` _ `` ` ` ..````. .` ` ..> _?! ~_ ` ` . (;_ `.?__ ._< ``__<_ ?7?7=`` (<. (_`````.: `` . .(_._```````-_`````` _ `` ` ` ~~__<-~~~~~~~
~ <_.._J~` ~~. ` ```` .` `````~_````` ! ` ` +:` ._- :_ ~` (: ~. >. ` ` ._v_ _` _ `_` .~ ` __```` ( ` .<..`````.~__``` `` _ ``` ` ~~_` ~<_~~~~~
` _(~_~~J! ``_~. ````` . `````` ~_.````_ ` j_`` .< (< __ <_ ` _(: __ ~ ._`````.! ` . ``(_ ```` ~~~_```````._ ` `` ` -_~ `` ~?_~~~~
_I_~~($ ``` ~~_ `` ` ..~ ````__...` ` j_` _(v .(_ _ .<~. :` ` <.`` ~ (<~_` __`````( ``._````.~..~_````.` ..-`-`` ___`` `_~__:(~
` >:~.(>``` ` ~~_ ` _`...~~_````_~....` v_` ` (: __<_ ` (! `.<(! ` <-< `__ .~ ` _`````.+. ` . . ` -__.~~_``` ....~_ .``` ~~_ `````__-<:(
`(_._d_``````.~__` ..` ..~(:.``` ~... `` `` >.`` ?-. ` _. (<_ ?< ` ` ` (_(! .__ < ` ._``.`..<. ` _ ` `.~~.~.~~ `` .....__ _`` ~~__````````,<(Z
` >__Z``` ``` __._``. `.._JC~-`` _..-: ` <.`` 1 ` `_~.< _~ < ` `.``_ __(<-.` .$..`.` (.. ` ` .<....~__``.~..~..____`.__`.```` ` ``(jZ!
`(_(0 ` ```` _~-` _`.-(Z~__.`` _./ ` <```` _z` .`.<+_` ...} ` ` `.! ~.. ` (<<-_ v}`..`` >.. ` -` (-..~~_` _~.....-~ . .~_``..```` ``.s=``
` ` `1(Wn.`````. `` .._.<<v~.._~_ ``-~ ` `+.`` ` (- (!` .~ j- ` .! ~ _((~ `.-(:`..``.!(` ` `. ``<___`._~...~~..~.__~_```` -````` -!````
``` ?d<?z-....` ..._<<~(v_....._~_.! ``` j_``` .: ` ` _ I_ ` .! ( ` _(_`..`.(~(` ` ` ` `.<_-~~.......~~_~._`````` _`` .```````.

0 comments on commit 65c515b

Please sign in to comment.