~hristoast/mousikofidi

f2e5f30633b1a332cd9a25edf5e681d56bd8a79e — Hristos N. Triantafillou a month ago 7331ef8
Initial commit of go rewrite
118 files changed, 2919 insertions(+), 6999 deletions(-)

D .builds/debian.yml
M .gitignore
M LICENSE
D MANIFEST.in
M Makefile
A cfg/main.go
A cli/args.go
A cli/main.go
A cmd/mousikofidi-cli/main.go
A cmd/mousikofidi/main.go
D deploy-demo.sh
D dev-requirements.txt
A example/MousikoFidi Sample Cover Art.png
R mousikofidi/example/fake.flac => example/fake.flac
R mousikofidi/example/fake.mp3 => example/fake.mp3
R mousikofidi/example/fake.mp4 => example/fake.mp4
R mousikofidi/example/fake.ogg => example/fake.ogg
R mousikofidi/example/fake.webm => example/fake.webm
R mousikofidi/example/fidi-nginx.conf => example/fidi-nginx.conf
R mousikofidi/example/fidi.toml => example/fidi.toml
R mousikofidi/example/mousikofidi.mp3 => example/mousikofidi.mp3
R mousikofidi/example/mousikofidi.service => example/mousikofidi.service
R mousikofidi/example/real.flac => example/real.flac
R mousikofidi/example/real.mp3 => example/real.mp3
R mousikofidi/example/real.mp4 => example/real.mp4
R mousikofidi/example/real.ogg => example/real.ogg
R mousikofidi/example/runit/control/d => example/runit/control/d
R mousikofidi/example/runit/control/r => example/runit/control/r
R mousikofidi/example/runit/log/run => example/runit/log/run
R mousikofidi/example/runit/run => example/runit/run
A go.mod
A go.sum
A http/handlers/main.go
A http/router/html/base.html
A http/router/html/browse.html
A http/router/html/footer.html
A http/router/html/index.html
A http/router/main.go
R mousikofidi/static/FA-LICENSE.txt => http/router/static/FA-LICENSE.txt
R mousikofidi/static/OFL.txt => http/router/static/OFL.txt
R mousikofidi/static/PressStart2P-Regular.ttf => http/router/static/PressStart2P-Regular.ttf
R mousikofidi/static/css/fidi.css => http/router/static/css/fidi.css
R mousikofidi/static/css/fidi-nes.css => http/router/static/css/nes/fidi-nes.css
R mousikofidi/static/css/nes/nes.css => http/router/static/css/nes/nes.css
A http/router/static/css/normalize/LICENSE.md
A http/router/static/css/normalize/normalize.css
A http/router/static/css/sakura/LICENSE.txt
A http/router/static/css/sakura/normalize.css
A http/router/static/css/sakura/sakura-dark-solarized.css
A http/router/static/css/sakura/sakura-dark.css
A http/router/static/css/sakura/sakura-earthly.css
A http/router/static/css/sakura/sakura-ink.css
A http/router/static/css/sakura/sakura-pink.css
A http/router/static/css/sakura/sakura-vader.css
A http/router/static/css/sakura/sakura.css
R mousikofidi/static/css/terminal-green.css => http/router/static/css/terminal/terminal-green.css
R mousikofidi/static/css/terminal-solarized.css => http/router/static/css/terminal/terminal-solarized.css
R mousikofidi/static/css/terminal.css => http/router/static/css/terminal/terminal.css
A http/router/static/css/water/LICENSE.md
A http/router/static/css/water/README.md
R mousikofidi/static/css/water/light.standalone.css => http/router/static/css/water/dark.css
A http/router/static/css/water/dark.css.map
A http/router/static/css/water/dark.min.css
A http/router/static/css/water/dark.min.css.map
R mousikofidi/static/css/water/dark.standalone.css => http/router/static/css/water/light.css
A http/router/static/css/water/light.css.map
A http/router/static/css/water/light.min.css
A http/router/static/css/water/light.min.css.map
R mousikofidi/static/fa/css/fontawesome.css => http/router/static/fa/css/fontawesome.css
R mousikofidi/static/fa/css/solid.css => http/router/static/fa/css/solid.css
R mousikofidi/static/fa/webfonts/fa-solid-900.ttf => http/router/static/fa/webfonts/fa-solid-900.ttf
R mousikofidi/static/fa/webfonts/fa-solid-900.woff2 => http/router/static/fa/webfonts/fa-solid-900.woff2
R mousikofidi/static/fidi-420.png => http/router/static/img/fidi-420.png
R mousikofidi/static/fidi-birth.png => http/router/static/img/fidi-birth.png
R mousikofidi/static/fidi-dec.png => http/router/static/img/fidi-dec.png
R mousikofidi/static/fidi-oct.png => http/router/static/img/fidi-oct.png
R mousikofidi/static/fidi.png => http/router/static/img/fidi.png
R mousikofidi/static/js/init.js => http/router/static/js/init.js
R mousikofidi/static/js/player.js => http/router/static/js/player.js
R mousikofidi/static/js/queue.js => http/router/static/js/queue.js
R mousikofidi/static/js/tests.js => http/router/static/js/tests.js
D mousikofidi/__init__.py
D mousikofidi/bin/mousikofidi
D mousikofidi/bin/mousikofidi-client
D mousikofidi/example/MousikoFidi Sample Cover Art.png
D mousikofidi/example/uwsgi.ini
D mousikofidi/mousikofidi.py
D mousikofidi/templates/about.html
D mousikofidi/templates/audio_player.html
D mousikofidi/templates/audio_table_rows.html
D mousikofidi/templates/base.html
D mousikofidi/templates/bottom_link.html
D mousikofidi/templates/cover-art.html
D mousikofidi/templates/dir_detail.html
D mousikofidi/templates/dir_table.html
D mousikofidi/templates/directory_details.html
D mousikofidi/templates/dirs.html
D mousikofidi/templates/error.html
D mousikofidi/templates/file_detail.html
D mousikofidi/templates/index.html
D mousikofidi/templates/item_table.html
D mousikofidi/templates/playlist.html
D mousikofidi/templates/playlist_delete.html
D mousikofidi/templates/playlists.html
D mousikofidi/templates/plist_table.html
D mousikofidi/templates/queue.html
D mousikofidi/templates/search.html
D mousikofidi/templates/settings.html
D mousikofidi/templates/test_js.html
D mousikofidi/templates/top_link.html
D mousikofidi/templates/video_player.html
D mousikofidi/templates/video_table_rows.html
D pre-commit.sh
D pypi-upload.sh
D requirements.txt
D setup.cfg
D setup.py
D test_mousikofidi.py
D .builds/debian.yml => .builds/debian.yml +0 -51
@@ 1,51 0,0 @@
image: debian/stable
packages:
  - curl
  - python3-dev
  - python3-pip
  - python3-setuptools
  - python3-yaml
secrets:
  - 070153b0-ef25-44ac-8a80-9864079c1eb0
  - 688f0848-0393-48ae-af1a-5403c0bd45d8
  - 80fe50f8-0cc9-47ab-88e6-43796572caaf
  - e249bffe-c3bb-4cf5-8e17-52aba048d646
sources:
  - https://git.sr.ht/~hristoast/mousikofidi
tasks:
  - install-requirements: |
      cd mousikofidi
      sudo pip3 install -r requirements.txt
  - install-dev-requirements: |
      cd mousikofidi
      sudo pip3 install -r dev-requirements.txt
  - setup-flake8: |
      mkdir ~/.config || printf OK
      cat > ~/.config/flake8 <<EOF
      [flake8]
      ignore = E501, E402, W503
      max-line-length = 160
      EOF
  - test-black: |
      cd mousikofidi
      make test-black
  - test-flake8: |
      cd mousikofidi
      make test-flake8
  - test-pytest: |
      cd mousikofidi
      make test-pytest-verbose
  - test-build-dist: |
      cd mousikofidi
      make distribution-archive
  - test-install: |
      cd mousikofidi
      sudo pip3 install .
      mousikofidi --help
      mousikofidi-client --help
  - deploy-demo: |
      cd mousikofidi
      ./deploy-demo.sh
  - upload-to-pypi: |
      cd mousikofidi
      ./pypi-upload.sh

M .gitignore => .gitignore +4 -28
@@ 1,28 1,4 @@
__pycache__
.tern-port
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
site/
.log/
mousikofidi-*-*
mousikofidi-cli-*
mousikofidi-server.exe

M LICENSE => LICENSE +21 -626
@@ 1,626 1,21 @@
GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright © 2007 Free Software Foundation, Inc. <http s ://fsf.org/>

Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

Preamble

The GNU General Public License is a free, copyleft license for software and
other kinds of works.

The licenses for most software and other practical works are designed to take
away your freedom to share and change the works. By contrast, the GNU General
Public License is intended to guarantee your freedom to share and change all
versions of a program--to make sure it remains free software for all its users.
We, the Free Software Foundation, use the GNU General Public License for most
of our software; it applies also to any other work released this way by its
authors. You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our
General Public Licenses are designed to make sure that you have the freedom
to distribute copies of free software (and charge for them if you wish), that
you receive source code or can get it if you want it, that you can change
the software or use pieces of it in new free programs, and that you know you
can do these things.

To protect your rights, we need to prevent others from denying you these rights
or asking you to surrender the rights. Therefore, you have certain responsibilities
if you distribute copies of the software, or if you modify it: responsibilities
to respect the freedom of others.

For example, if you distribute copies of such a program, whether gratis or
for a fee, you must pass on to the recipients the same freedoms that you received.
You must make sure that they, too, receive or can get the source code. And
you must show them these terms so they know their rights.

Developers that use the GNU GPL protect your rights with two steps: (1) assert
copyright on the software, and (2) offer you this License giving you legal
permission to copy, distribute and/or modify it.

For the developers' and authors' protection, the GPL clearly explains that
there is no warranty for this free software. For both users' and authors'
sake, the GPL requires that modified versions be marked as changed, so that
their problems will not be attributed erroneously to authors of previous versions.

Some devices are designed to deny users access to install or run modified
versions of the software inside them, although the manufacturer can do so.
This is fundamentally incompatible with the aim of protecting users' freedom
to change the software. The systematic pattern of such abuse occurs in the
area of products for individuals to use, which is precisely where it is most
unacceptable. Therefore, we have designed this version of the GPL to prohibit
the practice for those products. If such problems arise substantially in other
domains, we stand ready to extend this provision to those domains in future
versions of the GPL, as needed to protect the freedom of users.

Finally, every program is threatened constantly by software patents. States
should not allow patents to restrict development and use of software on general-purpose
computers, but in those that do, we wish to avoid the special danger that
patents applied to a free program could make it effectively proprietary. To
prevent this, the GPL assures that patents cannot be used to render the program
non-free.

The precise terms and conditions for copying, distribution and modification
follow.

TERMS AND CONDITIONS

   0. Definitions.

   "This License" refers to version 3 of the GNU General Public License.

"Copyright" also means copyright-like laws that apply to other kinds of works,
such as semiconductor masks.

"The Program" refers to any copyrightable work licensed under this License.
Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
or organizations.

To "modify" a work means to copy from or adapt all or part of the work in
a fashion requiring copyright permission, other than the making of an exact
copy. The resulting work is called a "modified version" of the earlier work
or a work "based on" the earlier work.

A "covered work" means either the unmodified Program or a work based on the
Program.

To "propagate" a work means to do anything with it that, without permission,
would make you directly or secondarily liable for infringement under applicable
copyright law, except executing it on a computer or modifying a private copy.
Propagation includes copying, distribution (with or without modification),
making available to the public, and in some countries other activities as
well.

To "convey" a work means any kind of propagation that enables other parties
to make or receive copies. Mere interaction with a user through a computer
network, with no transfer of a copy, is not conveying.

An interactive user interface displays "Appropriate Legal Notices" to the
extent that it includes a convenient and prominently visible feature that
(1) displays an appropriate copyright notice, and (2) tells the user that
there is no warranty for the work (except to the extent that warranties are
provided), that licensees may convey the work under this License, and how
to view a copy of this License. If the interface presents a list of user commands
or options, such as a menu, a prominent item in the list meets this criterion.

   1. Source Code.

The "source code" for a work means the preferred form of the work for making
modifications to it. "Object code" means any non-source form of a work.

A "Standard Interface" means an interface that either is an official standard
defined by a recognized standards body, or, in the case of interfaces specified
for a particular programming language, one that is widely used among developers
working in that language.

The "System Libraries" of an executable work include anything, other than
the work as a whole, that (a) is included in the normal form of packaging
a Major Component, but which is not part of that Major Component, and (b)
serves only to enable use of the work with that Major Component, or to implement
a Standard Interface for which an implementation is available to the public
in source code form. A "Major Component", in this context, means a major essential
component (kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to produce
the work, or an object code interpreter used to run it.

The "Corresponding Source" for a work in object code form means all the source
code needed to generate, install, and (for an executable work) run the object
code and to modify the work, including scripts to control those activities.
However, it does not include the work's System Libraries, or general-purpose
tools or generally available free programs which are used unmodified in performing
those activities but which are not part of the work. For example, Corresponding
Source includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically linked
subprograms that the work is specifically designed to require, such as by
intimate data communication or control flow between those subprograms and
other parts of the work.

The Corresponding Source need not include anything that users can regenerate
automatically from other parts of the Corresponding Source.

   The Corresponding Source for a work in source code form is that same work.

   2. Basic Permissions.

All rights granted under this License are granted for the term of copyright
on the Program, and are irrevocable provided the stated conditions are met.
This License explicitly affirms your unlimited permission to run the unmodified
Program. The output from running a covered work is covered by this License
only if the output, given its content, constitutes a covered work. This License
acknowledges your rights of fair use or other equivalent, as provided by copyright
law.

You may make, run and propagate covered works that you do not convey, without
conditions so long as your license otherwise remains in force. You may convey
covered works to others for the sole purpose of having them make modifications
exclusively for you, or provide you with facilities for running those works,
provided that you comply with the terms of this License in conveying all material
for which you do not control copyright. Those thus making or running the covered
works for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of your copyrighted
material outside their relationship with you.

Conveying under any other circumstances is permitted solely under the conditions
stated below. Sublicensing is not allowed; section 10 makes it unnecessary.

   3. Protecting Users' Legal Rights From Anti-Circumvention Law.

No covered work shall be deemed part of an effective technological measure
under any applicable law fulfilling obligations under article 11 of the WIPO
copyright treaty adopted on 20 December 1996, or similar laws prohibiting
or restricting circumvention of such measures.

When you convey a covered work, you waive any legal power to forbid circumvention
of technological measures to the extent such circumvention is effected by
exercising rights under this License with respect to the covered work, and
you disclaim any intention to limit operation or modification of the work
as a means of enforcing, against the work's users, your or third parties'
legal rights to forbid circumvention of technological measures.

   4. Conveying Verbatim Copies.

You may convey verbatim copies of the Program's source code as you receive
it, in any medium, provided that you conspicuously and appropriately publish
on each copy an appropriate copyright notice; keep intact all notices stating
that this License and any non-permissive terms added in accord with section
7 apply to the code; keep intact all notices of the absence of any warranty;
and give all recipients a copy of this License along with the Program.

You may charge any price or no price for each copy that you convey, and you
may offer support or warranty protection for a fee.

   5. Conveying Modified Source Versions.

You may convey a work based on the Program, or the modifications to produce
it from the Program, in the form of source code under the terms of section
4, provided that you also meet all of these conditions:

a) The work must carry prominent notices stating that you modified it, and
giving a relevant date.

b) The work must carry prominent notices stating that it is released under
this License and any conditions added under section 7. This requirement modifies
the requirement in section 4 to "keep intact all notices".

c) You must license the entire work, as a whole, under this License to anyone
who comes into possession of a copy. This License will therefore apply, along
with any applicable section 7 additional terms, to the whole of the work,
and all its parts, regardless of how they are packaged. This License gives
no permission to license the work in any other way, but it does not invalidate
such permission if you have separately received it.

d) If the work has interactive user interfaces, each must display Appropriate
Legal Notices; however, if the Program has interactive interfaces that do
not display Appropriate Legal Notices, your work need not make them do so.

A compilation of a covered work with other separate and independent works,
which are not by their nature extensions of the covered work, and which are
not combined with it such as to form a larger program, in or on a volume of
a storage or distribution medium, is called an "aggregate" if the compilation
and its resulting copyright are not used to limit the access or legal rights
of the compilation's users beyond what the individual works permit. Inclusion
of a covered work in an aggregate does not cause this License to apply to
the other parts of the aggregate.

   6. Conveying Non-Source Forms.

You may convey a covered work in object code form under the terms of sections
4 and 5, provided that you also convey the machine-readable Corresponding
Source under the terms of this License, in one of these ways:

a) Convey the object code in, or embodied in, a physical product (including
a physical distribution medium), accompanied by the Corresponding Source fixed
on a durable physical medium customarily used for software interchange.

b) Convey the object code in, or embodied in, a physical product (including
a physical distribution medium), accompanied by a written offer, valid for
at least three years and valid for as long as you offer spare parts or customer
support for that product model, to give anyone who possesses the object code
either (1) a copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical medium customarily
used for software interchange, for a price no more than your reasonable cost
of physically performing this conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.

c) Convey individual copies of the object code with a copy of the written
offer to provide the Corresponding Source. This alternative is allowed only
occasionally and noncommercially, and only if you received the object code
with such an offer, in accord with subsection 6b.

d) Convey the object code by offering access from a designated place (gratis
or for a charge), and offer equivalent access to the Corresponding Source
in the same way through the same place at no further charge. You need not
require recipients to copy the Corresponding Source along with the object
code. If the place to copy the object code is a network server, the Corresponding
Source may be on a different server (operated by you or a third party) that
supports equivalent copying facilities, provided you maintain clear directions
next to the object code saying where to find the Corresponding Source. Regardless
of what server hosts the Corresponding Source, you remain obligated to ensure
that it is available for as long as needed to satisfy these requirements.

e) Convey the object code using peer-to-peer transmission, provided you inform
other peers where the object code and Corresponding Source of the work are
being offered to the general public at no charge under subsection 6d.

A separable portion of the object code, whose source code is excluded from
the Corresponding Source as a System Library, need not be included in conveying
the object code work.

A "User Product" is either (1) a "consumer product", which means any tangible
personal property which is normally used for personal, family, or household
purposes, or (2) anything designed or sold for incorporation into a dwelling.
In determining whether a product is a consumer product, doubtful cases shall
be resolved in favor of coverage. For a particular product received by a particular
user, "normally used" refers to a typical or common use of that class of product,
regardless of the status of the particular user or of the way in which the
particular user actually uses, or expects or is expected to use, the product.
A product is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent the
only significant mode of use of the product.

"Installation Information" for a User Product means any methods, procedures,
authorization keys, or other information required to install and execute modified
versions of a covered work in that User Product from a modified version of
its Corresponding Source. The information must suffice to ensure that the
continued functioning of the modified object code is in no case prevented
or interfered with solely because modification has been made.

If you convey an object code work under this section in, or with, or specifically
for use in, a User Product, and the conveying occurs as part of a transaction
in which the right of possession and use of the User Product is transferred
to the recipient in perpetuity or for a fixed term (regardless of how the
transaction is characterized), the Corresponding Source conveyed under this
section must be accompanied by the Installation Information. But this requirement
does not apply if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has been installed
in ROM).

The requirement to provide Installation Information does not include a requirement
to continue to provide support service, warranty, or updates for a work that
has been modified or installed by the recipient, or for the User Product in
which it has been modified or installed. Access to a network may be denied
when the modification itself materially and adversely affects the operation
of the network or violates the rules and protocols for communication across
the network.

Corresponding Source conveyed, and Installation Information provided, in accord
with this section must be in a format that is publicly documented (and with
an implementation available to the public in source code form), and must require
no special password or key for unpacking, reading or copying.

   7. Additional Terms.

"Additional permissions" are terms that supplement the terms of this License
by making exceptions from one or more of its conditions. Additional permissions
that are applicable to the entire Program shall be treated as though they
were included in this License, to the extent that they are valid under applicable
law. If additional permissions apply only to part of the Program, that part
may be used separately under those permissions, but the entire Program remains
governed by this License without regard to the additional permissions.

When you convey a copy of a covered work, you may at your option remove any
additional permissions from that copy, or from any part of it. (Additional
permissions may be written to require their own removal in certain cases when
you modify the work.) You may place additional permissions on material, added
by you to a covered work, for which you have or can give appropriate copyright
permission.

Notwithstanding any other provision of this License, for material you add
to a covered work, you may (if authorized by the copyright holders of that
material) supplement the terms of this License with terms:

a) Disclaiming warranty or limiting liability differently from the terms of
sections 15 and 16 of this License; or

b) Requiring preservation of specified reasonable legal notices or author
attributions in that material or in the Appropriate Legal Notices displayed
by works containing it; or

c) Prohibiting misrepresentation of the origin of that material, or requiring
that modified versions of such material be marked in reasonable ways as different
from the original version; or

d) Limiting the use for publicity purposes of names of licensors or authors
of the material; or

e) Declining to grant rights under trademark law for use of some trade names,
trademarks, or service marks; or

f) Requiring indemnification of licensors and authors of that material by
anyone who conveys the material (or modified versions of it) with contractual
assumptions of liability to the recipient, for any liability that these contractual
assumptions directly impose on those licensors and authors.

All other non-permissive additional terms are considered "further restrictions"
within the meaning of section 10. If the Program as you received it, or any
part of it, contains a notice stating that it is governed by this License
along with a term that is a further restriction, you may remove that term.
If a license document contains a further restriction but permits relicensing
or conveying under this License, you may add to a covered work material governed
by the terms of that license document, provided that the further restriction
does not survive such relicensing or conveying.

If you add terms to a covered work in accord with this section, you must place,
in the relevant source files, a statement of the additional terms that apply
to those files, or a notice indicating where to find the applicable terms.

Additional terms, permissive or non-permissive, may be stated in the form
of a separately written license, or stated as exceptions; the above requirements
apply either way.

   8. Termination.

You may not propagate or modify a covered work except as expressly provided
under this License. Any attempt otherwise to propagate or modify it is void,
and will automatically terminate your rights under this License (including
any patent licenses granted under the third paragraph of section 11).

However, if you cease all violation of this License, then your license from
a particular copyright holder is reinstated (a) provisionally, unless and
until the copyright holder explicitly and finally terminates your license,
and (b) permanently, if the copyright holder fails to notify you of the violation
by some reasonable means prior to 60 days after the cessation.

Moreover, your license from a particular copyright holder is reinstated permanently
if the copyright holder notifies you of the violation by some reasonable means,
this is the first time you have received notice of violation of this License
(for any work) from that copyright holder, and you cure the violation prior
to 30 days after your receipt of the notice.

Termination of your rights under this section does not terminate the licenses
of parties who have received copies or rights from you under this License.
If your rights have been terminated and not permanently reinstated, you do
not qualify to receive new licenses for the same material under section 10.

   9. Acceptance Not Required for Having Copies.

You are not required to accept this License in order to receive or run a copy
of the Program. Ancillary propagation of a covered work occurring solely as
a consequence of using peer-to-peer transmission to receive a copy likewise
does not require acceptance. However, nothing other than this License grants
you permission to propagate or modify any covered work. These actions infringe
copyright if you do not accept this License. Therefore, by modifying or propagating
a covered work, you indicate your acceptance of this License to do so.

   10. Automatic Licensing of Downstream Recipients.

Each time you convey a covered work, the recipient automatically receives
a license from the original licensors, to run, modify and propagate that work,
subject to this License. You are not responsible for enforcing compliance
by third parties with this License.

An "entity transaction" is a transaction transferring control of an organization,
or substantially all assets of one, or subdividing an organization, or merging
organizations. If propagation of a covered work results from an entity transaction,
each party to that transaction who receives a copy of the work also receives
whatever licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the Corresponding
Source of the work from the predecessor in interest, if the predecessor has
it or can get it with reasonable efforts.

You may not impose any further restrictions on the exercise of the rights
granted or affirmed under this License. For example, you may not impose a
license fee, royalty, or other charge for exercise of rights granted under
this License, and you may not initiate litigation (including a cross-claim
or counterclaim in a lawsuit) alleging that any patent claim is infringed
by making, using, selling, offering for sale, or importing the Program or
any portion of it.

   11. Patents.

A "contributor" is a copyright holder who authorizes use under this License
of the Program or a work on which the Program is based. The work thus licensed
is called the contributor's "contributor version".

A contributor's "essential patent claims" are all patent claims owned or controlled
by the contributor, whether already acquired or hereafter acquired, that would
be infringed by some manner, permitted by this License, of making, using,
or selling its contributor version, but do not include claims that would be
infringed only as a consequence of further modification of the contributor
version. For purposes of this definition, "control" includes the right to
grant patent sublicenses in a manner consistent with the requirements of this
License.

Each contributor grants you a non-exclusive, worldwide, royalty-free patent
license under the contributor's essential patent claims, to make, use, sell,
offer for sale, import and otherwise run, modify and propagate the contents
of its contributor version.

In the following three paragraphs, a "patent license" is any express agreement
or commitment, however denominated, not to enforce a patent (such as an express
permission to practice a patent or covenant not to sue for patent infringement).
To "grant" such a patent license to a party means to make such an agreement
or commitment not to enforce a patent against the party.

If you convey a covered work, knowingly relying on a patent license, and the
Corresponding Source of the work is not available for anyone to copy, free
of charge and under the terms of this License, through a publicly available
network server or other readily accessible means, then you must either (1)
cause the Corresponding Source to be so available, or (2) arrange to deprive
yourself of the benefit of the patent license for this particular work, or
(3) arrange, in a manner consistent with the requirements of this License,
to extend the patent license to downstream recipients. "Knowingly relying"
means you have actual knowledge that, but for the patent license, your conveying
the covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that country
that you have reason to believe are valid.

If, pursuant to or in connection with a single transaction or arrangement,
you convey, or propagate by procuring conveyance of, a covered work, and grant
a patent license to some of the parties receiving the covered work authorizing
them to use, propagate, modify or convey a specific copy of the covered work,
then the patent license you grant is automatically extended to all recipients
of the covered work and works based on it.

A patent license is "discriminatory" if it does not include within the scope
of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
of one or more of the rights that are specifically granted under this License.
You may not convey a covered work if you are a party to an arrangement with
a third party that is in the business of distributing software, under which
you make payment to the third party based on the extent of your activity of
conveying the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory patent
license (a) in connection with copies of the covered work conveyed by you
(or copies made from those copies), or (b) primarily for and in connection
with specific products or compilations that contain the covered work, unless
you entered into that arrangement, or that patent license was granted, prior
to 28 March 2007.

Nothing in this License shall be construed as excluding or limiting any implied
license or other defenses to infringement that may otherwise be available
to you under applicable patent law.

   12. No Surrender of Others' Freedom.

If conditions are imposed on you (whether by court order, agreement or otherwise)
that contradict the conditions of this License, they do not excuse you from
the conditions of this License. If you cannot convey a covered work so as
to satisfy simultaneously your obligations under this License and any other
pertinent obligations, then as a consequence you may not convey it at all.
For example, if you agree to terms that obligate you to collect a royalty
for further conveying from those to whom you convey the Program, the only
way you could satisfy both those terms and this License would be to refrain
entirely from conveying the Program.

   13. Use with the GNU Affero General Public License.

Notwithstanding any other provision of this License, you have permission to
link or combine any covered work with a work licensed under version 3 of the
GNU Affero General Public License into a single combined work, and to convey
the resulting work. The terms of this License will continue to apply to the
part which is the covered work, but the special requirements of the GNU Affero
General Public License, section 13, concerning interaction through a network
will apply to the combination as such.

   14. Revised Versions of this License.

The Free Software Foundation may publish revised and/or new versions of the
GNU 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 Program specifies
that a certain numbered version of the GNU General Public License "or any
later version" applies to it, you have the option of following the terms and
conditions either of that numbered version or of any later version published
by the Free Software Foundation. If the Program does not specify a version
number of the GNU General Public License, you may choose any version ever
published by the Free Software Foundation.

If the Program specifies that a proxy can decide which future versions of
the GNU General Public License can be used, that proxy's public statement
of acceptance of a version permanently authorizes you to choose that version
for the Program.

Later license versions may give you additional or different permissions. However,
no additional obligations are imposed on any author or copyright holder as
a result of your choosing to follow a later version.

   15. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION.

   16. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

   17. Interpretation of Sections 15 and 16.

If the disclaimer of warranty and limitation of liability provided above cannot
be given local legal effect according to their terms, reviewing courts shall
apply local law that most closely approximates an absolute waiver of all civil
liability in connection with the Program, unless a warranty or assumption
of liability accompanies a copy of the Program in return for a fee. END OF
TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest possible
use to the public, the best way to achieve this is to make it free software
which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach
them to the start of each source file to most effectively state the exclusion
of warranty; and each file should have at least the "copyright" line and a
pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see <http s ://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short notice like
this when it starts in an interactive mode:

<program> Copyright (C) <year> <name of author>

This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it under certain
conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands might
be different; for a GUI interface, you would use an "about box".

You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary. For
more information on this, and how to apply and follow the GNU GPL, see <http
s ://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General Public
License instead of this License. But first, please read <http s ://www.gnu.org/
licenses /why-not-lgpl.html>.
MIT License

Copyright (c) 2022 Mousikofidi Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

D MANIFEST.in => MANIFEST.in +0 -3
@@ 1,3 0,0 @@
recursive-include mousikofidi/example fidi-nginx.conf mousikofidi.mp3 mousikofidi.service runit/* runit/control/* runit/log/* uwsgi.ini
recursive-include mousikofidi/templates *
recursive-include mousikofidi/static *

M Makefile => Makefile +25 -71
@@ 1,87 1,41 @@
proj_dir := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))

.DEFAULT_GOAL:= server
.DEFAULT_GOAL:= build

annotations:
	annotatepy $(proj_dir)/mousikofidi > $(proj_dir)/annotations.json
build: build-cli-all build-server-all

clean: githooks
	rm -fr $(proj_dir)/__pycache__ \
    $(proj_dir)/annotations.json \
    $(proj_dir)/mousikofidi/__pycache__ \
    $(proj_dir)/.pytest_cache \
    $(proj_dir)/MousikoFidi.egg-info \
    $(proj_dir)/build $(proj_dir)/dist
build-cli-all: build-cli-linux-amd64 build-cli-linux-arm64 build-cli-windows-amd64

githooks:
	$(proj_dir)/pre-commit.sh --install
build-server-all: build-server-linux-amd64 build-server-linux-arm64 build-server-windows-amd64

install:
	python3 -m pip install --user --upgrade $(proj_dir)
build-cli-linux-amd64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=linux GOARCH=amd64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-linkmode=external -s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-cli-linux-amd64 ./cmd/mousikofidi-cli

install-global:
	python3 -m pip install --upgrade $(proj_dir)
build-cli-linux-arm64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=linux GOARCH=arm64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-cli-linux-amd64 ./cmd/mousikofidi-cli

uninstall:
	python3 -m pip uninstall MousikoFidi
build-cli-windows-amd64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=windows GOARCH=amd64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-cli.exe ./cmd/mousikofidi-cli

distribution-archive:
	cd $(proj_dir) && python3 setup.py sdist bdist_wheel
build-server-linux-amd64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=linux GOARCH=amd64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-linkmode=external -s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-server-linux-amd64 ./cmd/mousikofidi

upload-distribution-archive-test:
	test -d $(proj_dir)/dist || exit 1
	cd $(proj_dir) && twine upload --repository-url https://test.pypi.org/legacy/ dist/*
build-server-linux-arm64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=linux GOARCH=arm64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-server-linux-arm64 ./cmd/mousikofidi

upload-distribution-archive:
	@test -d $(proj_dir)/dist || exit 1
	cd $(proj_dir) && twine upload dist/*
build-server-windows-amd64:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go GOOS=windows GOARCH=amd64 go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w -X 'git.sr.ht/~hristoast/mousikofidi/cfg.Version=$$(git describe --tags)'" -o ./mousikofidi-server.exe ./cmd/mousikofidi

all-requirements: requirements dev-requirements
clean: clean-server

requirements:
	python3 -m pip install --user -r $(proj_dir)/requirements.txt
clean-cli:
	cd $(proj_dir) && rm -f mousikofidi-cli-*-* mousikofidi-cli.exe

dev-requirements: githooks
	python3 -m pip install --user -r $(proj_dir)/dev-requirements.txt
clean-server:
	cd $(proj_dir) && rm -f mousikofidi-server-*-* mousikofidi-server.exe

test: githooks test-black test-flake8 test-pytest
run:
	cd $(proj_dir) && GOPATH=$$HOME/.local/go go run ./cmd/mousikofidi

# TODO: read an env var to decide if we are quiet or verbose
test-verbose: githooks test-black-verbose test-flake8-verbose test-pytest-verbose

test-quiet: githooks test-black-quiet test-flake8-quiet test-pytest-quiet

test-black:
	black --check $(proj_dir)

test-black-quiet:
	@black --quiet --check $(proj_dir)

test-black-verbose:
	black --verbose --check $(proj_dir)

test-flake8:
	flake8 $(proj_dir)

test-flake8-quiet:
	@flake8 --quiet $(proj_dir)

test-flake8-verbose:
	flake8 --verbose $(proj_dir)

test-pytest:
	FIDI_CFG=$(proj_dir)/mousikofidi/example/fidi.toml pytest $(proj_dir)

test-pytest-quiet:
	@FIDI_CFG=$(proj_dir)/mousikofidi/example/fidi.toml pytest --quiet $(proj_dir)

test-pytest-verbose:
	FIDI_CFG=$(proj_dir)/mousikofidi/example/fidi.toml pytest --verbosity=2 $(proj_dir)

server: dev-server

dev-server:
	FLASK_APP=$(proj_dir)/mousikofidi.py FLASK_ENV=development flask run

uwsgi-server:
	uwsgi --processes $(shell nproc) --chdir $(proj_dir) --ini $(proj_dir)/example/uwsgi.ini
# test:
# 	cd $(proj_dir) && GOPATH=$$HOME/.local/go go test -coverage -v ./cmd/mousikofidi

A cfg/main.go => cfg/main.go +252 -0
@@ 0,0 1,252 @@
// Package cfg ...
package cfg

import (
	"errors"
	"log"
	"os"
	"path/filepath"
	"strings"

	"github.com/BurntSushi/toml"
)

//TODO: log level option
const defaultCfg string = `#
# Generated on: %s
#

title = "MousikóFídi Server Configuration"

[library]
dirs = [
  "%s",
  "%s/music",
]

[player]
keyboard_controls = true

[playlists]
allow_delete = true
dir = "%s/music/playlists"
allow_save = true

[server]
host = "127.0.0.1"
port = "8888"

[ui]
show_cover_art = true
favicon_path = "/fidi.png"
holidays = false
icons = true
logo_path = "/fidi.png"
show_errors = true
site_name = "MousikóFídi - Your Music Cloud"
theme = "light"
`

var Version string = "0.0.0"

type Config struct {
	AllowDelete  bool
	AllowSave    bool
	Dirs         []string
	FaviconPath  string
	Holidays     bool
	Host         string
	Icons        bool
	KbdControls  bool
	LogoPath     string
	PlaylistDir  string
	Port         string
	ShowCoverArt bool
	ShowErrors   bool
	SiteName     string
	Theme        string
}

func (c *Config) ListenAddress() string {
	return strings.Join([]string{c.Host, c.Port}, ":")
}

func (c *Config) Validate() []error {
	var errs []error
	if c.Dirs == nil {
		errs = append(errs, errors.New("no media dirs have been configured"))
	}
	if c.PlaylistDir == "" {
		errs = append(errs, errors.New("no playlist dir has been configured"))
	}
	return errs
}

type tomlCfg struct {
	Title
	Library   library
	Player    player
	Playlists playlists
	Server    server
	UI        ui
}

type Title string

type library struct {
	Dirs []string
}

type player struct {
	kbdControls bool `toml:"keyboard_controls"`
}

type playlists struct {
	AllowDelete bool `toml:"allow_delete"`
	AllowSave   bool `toml:"allow_save"`
	Dir         string
}

type server struct {
	Host string
	Port string
}

type ui struct {
	FaviconPath  string `toml:"favicon_path"`
	Holidays     bool
	Icons        bool
	LogoPath     string `toml:"logo_path"`
	ShowCoverArt bool   `toml:"show_cover_art"`
	ShowErrors   bool   `toml:"show_errors"`
	SiteName     string `toml:"site_name"`
	Theme        string
}

func CfgDir() string {
	return filepath.Join(os.Getenv("HOME"), ".config", "mousikofidi")
}

func Read() (*Config, error) {
	// cfgPath := filepath.Join(CfgDir(), "fidi.toml")
	//TODO:
	//check cfgDir exists, create if not
	//check cfgPath exists, write default if not

	var c tomlCfg
	md, err := toml.DecodeFile("fidi.toml", &c)
	if err != nil {
		return nil, err
	}

	// os.Stdout.WriteString("\n")
	// os.Stdout.WriteString(fmt.Sprintf("%#v\n", c))
	// os.Stdout.WriteString("\n")

	conf := &Config{
		AllowDelete:  true,
		AllowSave:    true,
		Dirs:         []string{},
		FaviconPath:  "/fidi.png",
		Holidays:     true,
		Host:         "127.0.0.1",
		Icons:        true,
		KbdControls:  true,
		LogoPath:     "/fidi.png",
		PlaylistDir:  "",
		Port:         "8888",
		ShowCoverArt: true,
		ShowErrors:   true,
		SiteName:     "MousikóFídi - Your Music Cloud",
		Theme:        "light",
	}

	conf.applyCfg(&md, c)

	// Report unused values
	for _, extra := range md.Undecoded() {
		//TODO: why does it decode this but say it isn't decoded?!
		if extra.String() != "player.keyboard_controls" {
			log.Printf("WARNING: unknown config: %s", extra.String())
		}
	}

	return conf, nil
}

func (c *Config) applyCfg(md *toml.MetaData, t tomlCfg) {
	if md.IsDefined("library", "dirs") {
		log.Println("Applying library.dirs from cfg...")
		c.Dirs = t.Library.Dirs
	}

	if md.IsDefined("player", "keyboard_controls") {
		log.Println("Applying player.keyboard_controls from cfg...")
		c.KbdControls = t.Player.kbdControls
	}

	if md.IsDefined("playlists", "allow_delete") {
		log.Println("Applying playlists.allow_delete from cfg...")
		c.AllowDelete = t.Playlists.AllowDelete
	}

	if md.IsDefined("playlists", "allow_save") {
		log.Println("Applying playlists.allow_save from cfg...")
		c.AllowSave = t.Playlists.AllowSave
	}

	if md.IsDefined("playlists", "dir") {
		log.Println("Applying playlists.dir from cfg...")
		c.PlaylistDir = t.Playlists.Dir
	}

	if md.IsDefined("server", "host") {
		log.Println("Applying server.host from cfg...")
		c.Host = t.Server.Host
	}

	if md.IsDefined("server", "port") {
		log.Println("Applying server.port from cfg...")
		c.Port = t.Server.Port
	}

	if md.IsDefined("ui", "favicon_path") {
		log.Println("Applying ui.favicon_path from cfg...")
		c.FaviconPath = t.UI.FaviconPath
	}

	if md.IsDefined("ui", "holidays") {
		log.Println("Applying ui.holidays from cfg...")
		c.Holidays = t.UI.Holidays
	}

	if md.IsDefined("ui", "icons") {
		log.Println("Applying ui.icons from cfg...")
		c.Icons = t.UI.Icons
	}

	if md.IsDefined("ui", "logo_path") {
		log.Println("Applying ui.logo_path from cfg...")
		c.LogoPath = t.UI.LogoPath
	}

	if md.IsDefined("ui", "show_cover_art") {
		log.Println("Applying ui.show_cover_art from cfg...")
		c.ShowCoverArt = t.UI.ShowCoverArt
	}

	if md.IsDefined("ui", "show_errors") {
		log.Println("Applying ui.show_errors from cfg...")
		c.ShowErrors = t.UI.ShowErrors
	}

	if md.IsDefined("ui", "site_name") {
		log.Println("Applying ui.site_name from cfg...")
		c.SiteName = t.UI.SiteName
	}

	if md.IsDefined("ui", "theme") {
		log.Println("Applying ui.theme from cfg...")
		c.Theme = t.UI.Theme
	}
}

A cli/args.go => cli/args.go +36 -0
@@ 0,0 1,36 @@
package cli

import (
	"fmt"

	"git.sr.ht/~hristoast/mousikofidi/cfg"
)

//TODO: cfg file arg
//TODO: manpage arg
//TODO: tutorial arg
type args struct {
	NoAllowDelete  bool `arg:"--no-allow-delete" help:"globally disable deletion of playlists."`
	NoAllowSave    bool `arg:"--no-allow-save" help:"globally disable saving of playlists."`
	NoHolidays     bool `arg:"--no-holidays" help:"disable holiday icons."`
	NoIcons        bool `arg:"--no-icons" help:"disable FontAwesome icons."`
	NoKbdControls  bool `arg:"--no-kbd-controls" help:"disable audio player keyboard controls."`
	NoShowCoverArt bool `arg:"--no-show-cover-art" help:"globally disable rendering cover art."`
	NoShowErrors   bool `arg:"--no-show-errors" help:"globally disable showing errors in the UI."`

	Dirs        []string `arg:"--dirs" help:"a list of library directories." placeholder:"DIR1, ..."`
	FaviconPath string   `arg:"--favicon-path" help:"path to a file to use as favicon." placeholder:"PATH"`
	Host        string   `arg:"--host" help:"Listen host."`
	LogoPath    string   `arg:"--logo-path" help:"path to a file to use as logo." placeholder:"PATH"`
	Port        string   `arg:"--port" help:"Listen host."`
	SiteName    string   `arg:"--site-name" help:"string to display as the site name." placeholder:"NAME"`
	Theme       string   `arg:"--theme" help:"Name of the default theme." placeholder:"NAME"`
}

func (a args) Description() string {
	return "MousikóFídi: Your Music Cloud\n\nCLI options override those in the cfg file!\n"
}

func (a args) Version() string {
	return fmt.Sprintf("Version: %s\n", cfg.Version)
}

A cli/main.go => cli/main.go +90 -0
@@ 0,0 1,90 @@
// Package cli ...
package cli

import (
	"log"

	"git.sr.ht/~hristoast/mousikofidi/cfg"
	"github.com/alexflint/go-arg"
)

func ParseArgs(conf *cfg.Config) {
	var a args

	arg.MustParse(&a)
	applyArgs(a, conf)
}

//TODO: applyEnvVars()

func applyArgs(a args, c *cfg.Config) {
	if a.NoAllowDelete {
		log.Println("Disabling playlists.allow_delete from cli...")
		c.AllowDelete = false
	}

	if a.NoAllowSave {
		log.Println("Disabling playlists.allow_save from cli...")
		c.AllowSave = false
	}

	if a.NoHolidays {
		log.Println("Disabling ui.holidays from cli...")
		c.Holidays = false
	}

	if a.NoIcons {
		log.Println("Disabling ui.icons from cli...")
		c.Icons = false
	}

	if a.NoKbdControls {
		log.Println("Disabling player.keyboard_controls from cli...")
		c.KbdControls = false
	}

	if a.NoShowCoverArt {
		log.Println("Disabling ui.show_cover_art from cli...")
		c.ShowCoverArt = false
	}

	if a.NoShowErrors {
		log.Println("Disabling ui.show_errors from cli...")
		c.ShowErrors = false
	}

	if a.Dirs != nil {
		log.Println("Applying library.dirs from cli...")
		c.Dirs = a.Dirs
	}

	if a.FaviconPath != "" {
		log.Println("Applying ui.favicon_path from cli...")
		c.FaviconPath = a.FaviconPath
	}

	if a.Host != "" {
		log.Println("Applying server.host from cli...")
		c.Host = a.Host
	}

	if a.LogoPath != "" {
		log.Println("Applying ui.logo_path from cli...")
		c.LogoPath = a.LogoPath
	}

	if a.Port != "" {
		log.Println("Applying server.port from cli...")
		c.Port = a.Port
	}

	if a.SiteName != "" {
		log.Println("Applying ui.site_name from cli...")
		c.SiteName = a.SiteName
	}

	if a.Theme != "" {
		log.Println("Applying ui.theme from cli...")
		c.Theme = a.Theme
	}
}

A cmd/mousikofidi-cli/main.go => cmd/mousikofidi-cli/main.go +7 -0
@@ 0,0 1,7 @@
package main

import "fmt"

func main() {
	fmt.Println("JAJA")
}

A cmd/mousikofidi/main.go => cmd/mousikofidi/main.go +28 -0
@@ 0,0 1,28 @@
package main

import (
	"log"

	"git.sr.ht/~hristoast/mousikofidi/cfg"
	"git.sr.ht/~hristoast/mousikofidi/cli"
	"git.sr.ht/~hristoast/mousikofidi/http/router"
)

func main() {
	c, err := cfg.Read()
	if err != nil {
		log.Printf("FATAL ERROR: %s", err)
		log.Fatal("Cannot start due to a fatal error")
	}

	cli.ParseArgs(c)
	errs := c.Validate()
	if errs != nil {
		for _, err = range errs {
			log.Printf("FATAL ERROR: %s", err)
		}
		log.Fatal("Cannot start due to fatal errors")
	}

	router.Server(c)
}

D deploy-demo.sh => deploy-demo.sh +0 -18
@@ 1,18 0,0 @@
#!/bin/bash

script_dir="$(realpath $(dirname ${0}))"

if git diff-index --quiet HEAD --; then
    if git describe --exact-match --tags HEAD -- 2>/dev/null; then
        cat > ~/.ssh/known_hosts <<EOF
$(cat ~/.fidi_known_hosts)
EOF
        ssh -F ~/.fidi_demo_ssh_config demo ./update.sh $(git rev-parse --verify HEAD)
    else
        echo This is not a tag!  Exiting...
        exit 0
    fi
else
    echo Local changes detected!  Exiting...
    exit 0
fi

D dev-requirements.txt => dev-requirements.txt +0 -6
@@ 1,6 0,0 @@
annotatepy==0.3.0
black==19.3b0
flake8==3.7.9
pytest==5.0.1
twine==1.14.0
wheel==0.33.6

A example/MousikoFidi Sample Cover Art.png => example/MousikoFidi Sample Cover Art.png +1 -0
@@ 0,0 1,1 @@
../static/fidi.png
\ No newline at end of file

R mousikofidi/example/fake.flac => example/fake.flac +0 -0
R mousikofidi/example/fake.mp3 => example/fake.mp3 +0 -0
R mousikofidi/example/fake.mp4 => example/fake.mp4 +0 -0
R mousikofidi/example/fake.ogg => example/fake.ogg +0 -0
R mousikofidi/example/fake.webm => example/fake.webm +0 -0
R mousikofidi/example/fidi-nginx.conf => example/fidi-nginx.conf +0 -0
R mousikofidi/example/fidi.toml => example/fidi.toml +0 -0
R mousikofidi/example/mousikofidi.mp3 => example/mousikofidi.mp3 +0 -0
R mousikofidi/example/mousikofidi.service => example/mousikofidi.service +0 -0
R mousikofidi/example/real.flac => example/real.flac +0 -0
R mousikofidi/example/real.mp3 => example/real.mp3 +0 -0
R mousikofidi/example/real.mp4 => example/real.mp4 +0 -0
R mousikofidi/example/real.ogg => example/real.ogg +0 -0
R mousikofidi/example/runit/control/d => example/runit/control/d +0 -0
R mousikofidi/example/runit/control/r => example/runit/control/r +0 -0
R mousikofidi/example/runit/log/run => example/runit/log/run +0 -0
R mousikofidi/example/runit/run => example/runit/run +0 -0
A go.mod => go.mod +10 -0
@@ 0,0 1,10 @@
module git.sr.ht/~hristoast/mousikofidi

go 1.18

require (
	github.com/BurntSushi/toml v1.1.0
	github.com/alexflint/go-arg v1.4.3
)

require github.com/alexflint/go-scalar v1.1.0 // indirect

A go.sum => go.sum +18 -0
@@ 0,0 1,18 @@
github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I=
github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/alexflint/go-arg v1.4.3 h1:9rwwEBpMXfKQKceuZfYcwuc/7YY7tWJbFsgG5cAU/uo=
github.com/alexflint/go-arg v1.4.3/go.mod h1:3PZ/wp/8HuqRZMUUgu7I+e1qcpUbvmS258mRXkFH4IA=
github.com/alexflint/go-scalar v1.1.0 h1:aaAouLLzI9TChcPXotr6gUhq+Scr8rl0P9P4PnltbhM=
github.com/alexflint/go-scalar v1.1.0/go.mod h1:LoFvNMqS1CPrMVltza4LvnGKhaSpc3oyLEBUZVhhS2o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

A http/handlers/main.go => http/handlers/main.go +24 -0
@@ 0,0 1,24 @@
// Package handlers ...
package handlers

import (
	"fmt"
	"log"
	"net/http"
	"time"
)

// WithLogging adds some spam to each request
func WithLogging(h http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
		start := time.Now()
		h.ServeHTTP(w, req)
		log.Println(fmt.Sprintf("%f %s %s %s",
			time.Since(start).Seconds(),
			req.UserAgent(),
			req.Method,
			req.RequestURI,
		),
		)
	})
}

A http/router/html/base.html => http/router/html/base.html +31 -0
@@ 0,0 1,31 @@
{{define "base"}}
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title id="title" data-sitename=""></title>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="manifest" href="/manifest.webmanifest">
    <link href="/static/css/normalize/normalize.css" rel="stylesheet" type="text/css">
    <link href="/static/css/water/dark.min.css" rel="stylesheet" type="text/css">
    <link href="/static/css/fidi.css" rel="stylesheet" type="text/css">
    <link rel="icon" href="">
  </head>
  <body>
    <header>
      <h2 class="center"><a href="/" title="The site name, and a link to the main index page.">Mousikofidi IN GO!</a></h2>
    </header>
    <nav>
      <ul>
        <li>
          <a href="/browse">Browse</a>
        </li>
      </ul>
    </nav>
    {{block "content" .}}{{end}}
    {{template "footer" .}}
  </body>
</html>
{{end}}

A http/router/html/browse.html => http/router/html/browse.html +5 -0
@@ 0,0 1,5 @@
{{template "base" .}}
{{define "content"}}
<p>TODO BROWSEW!</p>
<p>{{.Jaja}}</p>
{{end}}

A http/router/html/footer.html => http/router/html/footer.html +5 -0
@@ 0,0 1,5 @@
{{define "footer"}}
<footer>
  FOOTERRRRR
</footer>
{{end}}

A http/router/html/index.html => http/router/html/index.html +5 -0
@@ 0,0 1,5 @@
{{template "base" .}}
{{define "content"}}
<p>HELLO WHIRLD!</p>
<p>{{.Jaja}}</p>
{{end}}

A http/router/main.go => http/router/main.go +97 -0
@@ 0,0 1,97 @@
// Package router ...
package router

import (
	"embed"
	"fmt"
	"html/template"
	"log"
	"net/http"
	"os"
	"time"

	"git.sr.ht/~hristoast/mousikofidi/cfg"
	"git.sr.ht/~hristoast/mousikofidi/http/handlers"
)

const runMsg string = "\nWelcome to MousikóFídi v%s!\nListening on: http://%s\n\n"
const ten time.Duration = 10 * time.Second

//go:embed static
var staticFiles embed.FS

//go:embed html
var htmlTemplates embed.FS

var baseTemplates []string = []string{"html/base.html", "html/footer.html"}

func execTpl(t *template.Template, w http.ResponseWriter, name string, data interface{}) error {
	return t.ExecuteTemplate(w, fmt.Sprintf("%s.html", name), &data)
}

func templates(name string) []string {
	return append(baseTemplates, fmt.Sprintf("html/%s.html", name))
}

func browse() http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		name := "browse"
		data := struct {
			Jaja string
		}{
			Jaja: "SHIOT!",
		}

		tpls := templates(name)
		t, err := template.New(name).ParseFS(htmlTemplates, tpls...)
		if err != nil {
			log.Fatal(err)
		}

		err = execTpl(t, w, name, data)
		if err != nil {
			log.Fatal(err)
		}
	})
}

func index() http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
		name := "index"
		data := struct {
			Jaja string
		}{
			Jaja: "JEJE",
		}

		tpls := templates(name)
		t, err := template.New(name).ParseFS(htmlTemplates, tpls...)
		if err != nil {
			log.Fatal(err)
		}

		err = execTpl(t, w, name, data)
		if err != nil {
			log.Fatal(err)
		}
	})
}

func Server(c *cfg.Config) {
	l := c.ListenAddress()
	os.Stdout.WriteString(fmt.Sprintf(runMsg, cfg.Version, l))

	os.Stdout.WriteString(fmt.Sprintf("%#v\n", c))

	http.Handle("/static/", handlers.WithLogging(http.FileServer(http.FS(staticFiles))))
	http.Handle("/browse/", handlers.WithLogging(browse()))
	http.Handle("/", handlers.WithLogging(index()))
	s := &http.Server{
		Addr:           l,
		Handler:        nil,
		ReadTimeout:    ten,
		WriteTimeout:   ten,
		MaxHeaderBytes: 1 << 20,
	}
	log.Fatal(s.ListenAndServe())
}

R mousikofidi/static/FA-LICENSE.txt => http/router/static/FA-LICENSE.txt +0 -0
R mousikofidi/static/OFL.txt => http/router/static/OFL.txt +0 -0
R mousikofidi/static/PressStart2P-Regular.ttf => http/router/static/PressStart2P-Regular.ttf +0 -0
R mousikofidi/static/css/fidi.css => http/router/static/css/fidi.css +0 -0
R mousikofidi/static/css/fidi-nes.css => http/router/static/css/nes/fidi-nes.css +0 -0
R mousikofidi/static/css/nes/nes.css => http/router/static/css/nes/nes.css +0 -0
A http/router/static/css/normalize/LICENSE.md => http/router/static/css/normalize/LICENSE.md +108 -0
@@ 0,0 1,108 @@
# CC0 1.0 Universal

## Statement of Purpose

The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator and
subsequent owner(s) (each and all, an “owner”) of an original work of
authorship and/or a database (each, a “Work”).

Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific works
(“Commons”) that the public can reliably and without fear of later claims of
infringement build upon, modify, incorporate in other works, reuse and
redistribute as freely as possible in any form whatsoever and for any purposes,
including without limitation commercial purposes. These owners may contribute
to the Commons to promote the ideal of a free culture and the further
production of creative, cultural and scientific works, or to gain reputation or
greater distribution for their Work in part through the use and efforts of
others.

For these and/or other purposes and motivations, and without any expectation of
additional consideration or compensation, the person associating CC0 with a
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
publicly distribute the Work under its terms, with knowledge of his or her
Copyright and Related Rights in the Work and the meaning and intended legal
effect of CC0 on those rights.

1. Copyright and Related Rights. A Work made available under CC0 may be
   protected by copyright and related or neighboring rights (“Copyright and
   Related Rights”). Copyright and Related Rights include, but are not limited
   to, the following:
   1. the right to reproduce, adapt, distribute, perform, display, communicate,
      and translate a Work;
   2. moral rights retained by the original author(s) and/or performer(s);
   3. publicity and privacy rights pertaining to a person’s image or likeness
      depicted in a Work;
   4. rights protecting against unfair competition in regards to a Work,
      subject to the limitations in paragraph 4(i), below;
   5. rights protecting the extraction, dissemination, use and reuse of data in
      a Work;
   6. database rights (such as those arising under Directive 96/9/EC of the
      European Parliament and of the Council of 11 March 1996 on the legal
      protection of databases, and under any national implementation thereof,
      including any amended or successor version of such directive); and
   7. other similar, equivalent or corresponding rights throughout the world
      based on applicable law or treaty, and any national implementations
      thereof.

2. Waiver. To the greatest extent permitted by, but not in contravention of,
   applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
   unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
   and Related Rights and associated claims and causes of action, whether now
   known or unknown (including existing as well as future claims and causes of
   action), in the Work (i) in all territories worldwide, (ii) for the maximum
   duration provided by applicable law or treaty (including future time
   extensions), (iii) in any current or future medium and for any number of
   copies, and (iv) for any purpose whatsoever, including without limitation
   commercial, advertising or promotional purposes (the “Waiver”). Affirmer
   makes the Waiver for the benefit of each member of the public at large and
   to the detriment of Affirmer’s heirs and successors, fully intending that
   such Waiver shall not be subject to revocation, rescission, cancellation,
   termination, or any other legal or equitable action to disrupt the quiet
   enjoyment of the Work by the public as contemplated by Affirmer’s express
   Statement of Purpose.

3. Public License Fallback. Should any part of the Waiver for any reason be
   judged legally invalid or ineffective under applicable law, then the Waiver
   shall be preserved to the maximum extent permitted taking into account
   Affirmer’s express Statement of Purpose. In addition, to the extent the
   Waiver is so judged Affirmer hereby grants to each affected person a
   royalty-free, non transferable, non sublicensable, non exclusive,
   irrevocable and unconditional license to exercise Affirmer’s Copyright and
   Related Rights in the Work (i) in all territories worldwide, (ii) for the
   maximum duration provided by applicable law or treaty (including future time
   extensions), (iii) in any current or future medium and for any number of
   copies, and (iv) for any purpose whatsoever, including without limitation
   commercial, advertising or promotional purposes (the “License”). The License
   shall be deemed effective as of the date CC0 was applied by Affirmer to the
   Work. Should any part of the License for any reason be judged legally
   invalid or ineffective under applicable law, such partial invalidity or
   ineffectiveness shall not invalidate the remainder of the License, and in
   such case Affirmer hereby affirms that he or she will not (i) exercise any
   of his or her remaining Copyright and Related Rights in the Work or (ii)
   assert any associated claims and causes of action with respect to the Work,
   in either case contrary to Affirmer’s express Statement of Purpose.

4. Limitations and Disclaimers.
   1. No trademark or patent rights held by Affirmer are waived, abandoned,
      surrendered, licensed or otherwise affected by this document.
   2. Affirmer offers the Work as-is and makes no representations or warranties
      of any kind concerning the Work, express, implied, statutory or
      otherwise, including without limitation warranties of title,
      merchantability, fitness for a particular purpose, non infringement, or
      the absence of latent or other defects, accuracy, or the present or
      absence of errors, whether or not discoverable, all to the greatest
      extent permissible under applicable law.
   3. Affirmer disclaims responsibility for clearing rights of other persons
      that may apply to the Work or any use thereof, including without
      limitation any person’s Copyright and Related Rights in the Work.
      Further, Affirmer disclaims responsibility for obtaining any necessary
      consents, permissions or other rights required for any use of the Work.
   4. Affirmer understands and acknowledges that Creative Commons is not a
      party to this document and has no duty or obligation with respect to this
      CC0 or use of the Work.

For more information, please see
http://creativecommons.org/publicdomain/zero/1.0/.

A http/router/static/css/normalize/normalize.css => http/router/static/css/normalize/normalize.css +264 -0
@@ 0,0 1,264 @@
/* Document
 * ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 */

:where(html) {
  line-height: 1.15; /* 1 */
}

/* Sections
 * ========================================================================== */

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */

:where(h1) {
  font-size: 2em;
  margin-block-end: 0.67em;
  margin-block-start: 0.67em;
}

/* Grouping content
 * ========================================================================== */

/**
 * Remove the margin on nested lists in Chrome, Edge, and Safari.
 */

:where(dl, ol, ul) :where(dl, ol, ul) {
  margin-block-end: 0;
  margin-block-start: 0;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Correct the inheritance of border color in Firefox.
 */

:where(hr) {
  box-sizing: content-box; /* 1 */
  color: inherit; /* 2 */
  height: 0; /* 1 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

:where(pre) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
 * ========================================================================== */

/**
 * Add the correct text decoration in Safari.
 */

:where(abbr[title]) {
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

:where(b, strong) {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

:where(code, kbd, samp) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

:where(small) {
  font-size: 80%;
}

/* Tabular data
 * ========================================================================== */

/**
 * 1. Correct table border color in Chrome, Edge, and Safari.
 * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */

:where(table) {
  border-color: currentColor; /* 1 */
  text-indent: 0; /* 2 */
}

/* Forms
 * ========================================================================== */

/**
 * Remove the margin on controls in Safari.
 */

:where(button, input, select) {
  margin: 0;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */

:where(button) {
  text-transform: none;
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */

:where(button, input:is([type="button" i], [type="reset" i], [type="submit" i])) {
  -webkit-appearance: button;
}

/**
 * Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */

:where(progress) {
  vertical-align: baseline;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */

:where(select) {
  text-transform: none;
}

/**
 * Remove the margin in Firefox and Safari.
 */

:where(textarea) {
  margin: 0;
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */

:where(input[type="search" i]) {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */

:where(button, input:is([type="button" i], [type="color" i], [type="reset" i], [type="submit" i]))::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */

:where(button, input:is([type="button" i], [type="color" i], [type="reset" i], [type="submit" i]))::-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */

:where(:-moz-ui-invalid) {
  box-shadow: none;
}

/* Interactive
 * ========================================================================== */

/*
 * Add the correct styles in Safari.
 */

:where(dialog) {
  background-color: white;
  border: solid;
  color: black;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

/*
 * Add the correct display in all browsers.
 */

:where(summary) {
  display: list-item;
}

A http/router/static/css/sakura/LICENSE.txt => http/router/static/css/sakura/LICENSE.txt +21 -0
@@ 0,0 1,21 @@
MIT License

Copyright (c) 2016 Mitesh Shah

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

A http/router/static/css/sakura/normalize.css => http/router/static/css/sakura/normalize.css +461 -0
@@ 0,0 1,461 @@
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

A http/router/static/css/sakura/sakura-dark-solarized.css => http/router/static/css/sakura/sakura-dark-solarized.css +187 -0
@@ 0,0 1,187 @@
/* $color-text: #dedce5; */
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #839496;
  background-color: #002b36;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #2aa198; }

a {
  text-decoration: none;
  color: #2aa198; }
  a:hover {
    color: #657b83;
    border-bottom: 2px solid #839496; }
  a:visited {
    color: #1f7972; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #2aa198;
  margin-bottom: 2.5rem;
  background-color: #073642; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #073642;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #073642;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #073642; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #839496; }
  input:focus, textarea:focus {
    border: 1px solid #2aa198; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #2aa198;
  color: #002b36;
  border-radius: 1px;
  border: 1px solid #2aa198;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #657b83;
    border-color: #657b83;
    color: #002b36;
    outline: 0; }

textarea, select, input {
  color: #839496;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #073642;
  border: 1px solid #073642;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #2aa198;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #2aa198; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura-dark.css => http/router/static/css/sakura/sakura-dark.css +187 -0
@@ 0,0 1,187 @@
/* $color-text: #dedce5; */
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #c9c9c9;
  background-color: #222222;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #ffffff; }

a {
  text-decoration: none;
  color: #ffffff; }
  a:hover {
    color: #c9c9c9;
    border-bottom: 2px solid #c9c9c9; }
  a:visited {
    color: #e6e6e6; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #ffffff;
  margin-bottom: 2.5rem;
  background-color: #4a4a4a; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #4a4a4a;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #4a4a4a;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #4a4a4a; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #c9c9c9; }
  input:focus, textarea:focus {
    border: 1px solid #ffffff; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #ffffff;
  color: #222222;
  border-radius: 1px;
  border: 1px solid #ffffff;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #c9c9c9;
    border-color: #c9c9c9;
    color: #222222;
    outline: 0; }

textarea, select, input {
  color: #c9c9c9;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #4a4a4a;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #ffffff;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #ffffff; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura-earthly.css => http/router/static/css/sakura/sakura-earthly.css +186 -0
@@ 0,0 1,186 @@
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #222222;
  background-color: #ffffff;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #007559; }

a {
  text-decoration: none;
  color: #007559; }
  a:hover {
    color: #006994;
    border-bottom: 2px solid #222222; }
  a:visited {
    color: #004232; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #007559;
  margin-bottom: 2.5rem;
  background-color: #f7f7f7; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #f7f7f7;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #f7f7f7;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f7f7f7; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #222222; }
  input:focus, textarea:focus {
    border: 1px solid #007559; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #007559;
  color: #ffffff;
  border-radius: 1px;
  border: 1px solid #007559;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #006994;
    border-color: #006994;
    color: #ffffff;
    outline: 0; }

textarea, select, input {
  color: #222222;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #007559;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #007559; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura-ink.css => http/router/static/css/sakura/sakura-ink.css +186 -0
@@ 0,0 1,186 @@
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: rgba(0, 0, 0, 0.85);
  background-color: #ffffff;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #3b22ea; }

a {
  text-decoration: none;
  color: #3b22ea; }
  a:hover {
    color: #DA4453;
    border-bottom: 2px solid rgba(0, 0, 0, 0.85); }
  a:visited {
    color: #2913c6; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #3b22ea;
  margin-bottom: 2.5rem;
  background-color: #f7f7f7; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #f7f7f7;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #f7f7f7;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f7f7f7; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid rgba(0, 0, 0, 0.85); }
  input:focus, textarea:focus {
    border: 1px solid #3b22ea; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #3b22ea;
  color: #ffffff;
  border-radius: 1px;
  border: 1px solid #3b22ea;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #DA4453;
    border-color: #DA4453;
    color: #ffffff;
    outline: 0; }

textarea, select, input {
  color: rgba(0, 0, 0, 0.85);
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #3b22ea;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #3b22ea; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura-pink.css => http/router/static/css/sakura/sakura-pink.css +184 -0
@@ 0,0 1,184 @@
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #49002d;
  background-color: #ffe4f5;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #980255; }

a {
  text-decoration: none;
  color: #980255; }
  a:hover {
    color: #753851;
    border-bottom: 2px solid #49002d; }
  a:visited {
    color: #660139; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #980255;
  margin-bottom: 2.5rem;
  background-color: #f8d2e9; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #f8d2e9;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #f8d2e9;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f8d2e9; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #49002d; }
  input:focus, textarea:focus {
    border: 1px solid #980255; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #980255;
  color: #ffe4f5;
  border-radius: 1px;
  border: 1px solid #980255;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #753851;
    border-color: #753851;
    color: #ffe4f5;
    outline: 0; }

textarea, select, input {
  color: #49002d;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #f8d2e9;
  border: 1px solid #f8d2e9;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #980255;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #980255; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura-vader.css => http/router/static/css/sakura/sakura-vader.css +187 -0
@@ 0,0 1,187 @@
/* $color-text: #dedce5; */
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #d9d8dc;
  background-color: #120c0e;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #eb99a1; }

a {
  text-decoration: none;
  color: #eb99a1; }
  a:hover {
    color: #DA4453;
    border-bottom: 2px solid #d9d8dc; }
  a:visited {
    color: #e26f7a; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #eb99a1;
  margin-bottom: 2.5rem;
  background-color: #40363a; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #40363a;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #40363a;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #40363a; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #d9d8dc; }
  input:focus, textarea:focus {
    border: 1px solid #eb99a1; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #eb99a1;
  color: #120c0e;
  border-radius: 1px;
  border: 1px solid #eb99a1;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #DA4453;
    border-color: #DA4453;
    color: #120c0e;
    outline: 0; }

textarea, select, input {
  color: #d9d8dc;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #40363a;
  border: 1px solid #40363a;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #eb99a1;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #eb99a1; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

A http/router/static/css/sakura/sakura.css => http/router/static/css/sakura/sakura.css +186 -0
@@ 0,0 1,186 @@
/* Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #4a4a4a;
  background-color: #f9f9f9;
  padding: 13px; }

@media (max-width: 684px) {
  body {
    font-size: 1.53rem; } }

@media (max-width: 382px) {
  body {
    font-size: 1.35rem; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; }

h1 {
  font-size: 2.35em; }

h2 {
  font-size: 2.00em; }

h3 {
  font-size: 1.75em; }

h4 {
  font-size: 1.5em; }

h5 {
  font-size: 1.25em; }

h6 {
  font-size: 1em; }

p {
  margin-top: 0px;
  margin-bottom: 2.5rem; }

small, sub, sup {
  font-size: 75%; }

hr {
  border-color: #1d7484; }

a {
  text-decoration: none;
  color: #1d7484; }
  a:hover {
    color: #982c61;
    border-bottom: 2px solid #4a4a4a; }
  a:visited {
    color: #144f5a; }

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

li {
  margin-bottom: 0.4em; }

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #1d7484;
  margin-bottom: 2.5rem;
  background-color: #f1f1f1; }

blockquote p {
  margin-bottom: 0; }

img, video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem; }

/* Pre and Code */
pre {
  background-color: #f1f1f1;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em; }

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #f1f1f1;
  white-space: pre-wrap; }

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em; }

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse; }

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1; }

/* Buttons, forms and input */
input, textarea {
  border: 1px solid #4a4a4a; }
  input:focus, textarea:focus {
    border: 1px solid #1d7484; }

textarea {
  width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #1d7484;
  color: #f9f9f9;
  border-radius: 1px;
  border: 1px solid #1d7484;
  cursor: pointer;
  box-sizing: border-box; }
  .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
  .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
    background-color: #982c61;
    border-color: #982c61;
    color: #f9f9f9;
    outline: 0; }

textarea, select, input {
  color: #4a4a4a;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #f1f1f1;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
  textarea:focus, select:focus, input:focus {
    border: 1px solid #1d7484;
    outline: 0; }

input[type="checkbox"]:focus {
  outline: 1px dotted #1d7484; }

label, legend, fieldset {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }

R mousikofidi/static/css/terminal-green.css => http/router/static/css/terminal/terminal-green.css +0 -0
R mousikofidi/static/css/terminal-solarized.css => http/router/static/css/terminal/terminal-solarized.css +0 -0
R mousikofidi/static/css/terminal.css => http/router/static/css/terminal/terminal.css +0 -0
A http/router/static/css/water/LICENSE.md => http/router/static/css/water/LICENSE.md +24 -0
@@ 0,0 1,24 @@
# The MIT License (MIT)

Copyright © 2019 Kognise

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

A http/router/static/css/water/README.md => http/router/static/css/water/README.md +7 -0
@@ 0,0 1,7 @@
# About This Directory

This `dist/` directory is here to maintain backwards compatibility with sites that use the pre-2.0 version of Water.css.

We used to encourage linking to this directory instead of the version on NPM (since it didn't exist) so this exists to avoid breaking anything.

If you're still using a version from this directory please see the README to update. If you're a contributor, ignore this - **you're probably looking for `out/`**.
\ No newline at end of file

R mousikofidi/static/css/water/light.standalone.css => http/router/static/css/water/dark.css +32 -122
@@ 1,57 1,17 @@
/**
 * Standalone light-themed version.
 * Includes light variables and core, left as CSS variables
 * so the theming can be adjusted at runtime.
 */

:root {
  --background-body: #ffffff;
  --background: #efefef;
  --background-alt: #f7f7f7;

  --selection: #9e9e9e;

  --text-main: #363636;
  --text-bright: #000000;

  --links: #0076d1;
  --focus: #0096bfab;
  --border: #dbdbdb;
  --code: #000000;

  --animation-duration: 0.1s;
  --button-hover: #dddddd;

  --scrollbar-thumb: rgb(213, 213, 213);
  --scrollbar-thumb-hover: rgb(196, 196, 196);

  --form-placeholder: #949494;
  --form-text: #000000;

  --variable: #39a33c;
  --highlight: #ffff00;
}

@charset "UTF-8";
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.4;

  max-width: 800px;
  margin: 20px auto;
  padding: 0 10px;

  color: var(--text-main);
  background: var(--background-body);

  color: #dbdbdb;
  background: #202b38;
  text-rendering: optimizeLegibility;
}

button, input, textarea {
  transition: background-color var(--animation-duration) linear,
              border-color var(--animation-duration) linear,
              color var(--animation-duration) linear,
              box-shadow var(--animation-duration) linear,
              transform var(--animation-duration) ease;
  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;
}

h1 {


@@ 75,7 35,7 @@ h4,
h5,
h6,
strong {
  color: var(--text-bright);
  color: #ffffff;
}

h1,


@@ 90,16 50,8 @@ th {
  font-weight: 600;
}

q:before {
   content: none;
}

q:after {
   content: none;
}

blockquote , q{
  border-left: 4px solid var(--focus);
blockquote {
  border-left: 4px solid #0096bfab;
  margin: 1.5em 0em;
  padding: 0.5em 1em;
  font-style: italic;


@@ 130,13 82,6 @@ a[href^='sms']::before {
  content: '💬 ';
}

mark {
  background-color: var(--highlight);
  border-radius: 2px;
  padding: 0px 2px 0px 2px;
  color: #000000;
}

button,
input[type='submit'],
input[type='button'],


@@ 149,29 94,21 @@ select {
  display: block;
}

input,
select,
button,
textarea {
  color: var(--form-text);
  background-color: var(--background);

input, select, button, textarea {
  color: #ffffff;
  background-color: #161f27;
  font-family: inherit;
  font-size: inherit;

  margin-right: 6px;
  margin-bottom: 6px;
  padding: 10px;

  border: none;
  border-radius: 6px;
  outline: none;
}

input:not([type='checkbox']):not([type='radio']),
select,
button,
textarea {
select, button, textarea {
  -webkit-appearance: none;
}



@@ 182,9 119,7 @@ textarea {
  resize: vertical;
}

button,
input[type='submit'],
input[type='button'] {
button, input[type='submit'], input[type='button'] {
  padding-right: 30px;
  padding-left: 30px;
}


@@ 192,14 127,14 @@ input[type='button'] {
button:hover,
input[type='submit']:hover,
input[type='button']:hover {
  background: var(--button-hover);
  background: #324759;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--focus);
  box-shadow: 0 0 0 2px #0096bfab;
}

input[type='checkbox']:active,


@@ 215,40 150,39 @@ select:disabled,
button:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  opacity: .5;
}

::-webkit-input-placeholder {
  color: var(--form-placeholder);
  color: #a9a9a9;
}

:-ms-input-placeholder {
  color: var(--form-placeholder);
  color: #a9a9a9;
}

::-ms-input-placeholder {
  color: var(--form-placeholder);
  color: #a9a9a9;
}

::placeholder {
  color: var(--form-placeholder);
  color: #a9a9a9;
}

a {
  text-decoration: none;
  color: var(--links);
  color: #41adff;
}

a:hover {
  text-decoration: underline;
}

code, samp, time {
  background:  var(--background);
  color: var(--code);
  padding: 2.5px 5px;
code, kbd {
  background: #161f27;
  color: #ffbe85;
  padding: 5px;
  border-radius: 6px;
  font-size: 1em;
}

pre > code {


@@ 257,28 191,13 @@ pre > code {
  overflow-x: auto;
}

var {
  color: var(--variable);
  font-style: normal;
  font-family: monospace;
}

kbd {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-main);
  padding: 2px 4px 2px 4px;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  border-top: 1px solid #dbdbdb;
}

table {


@@ 287,18 206,17 @@ table {
  width: 100%;
}

td,
th {
td, th {
  padding: 6px;
  text-align: left;
}

th {
  border-bottom: 1px solid var(--border);
  border-bottom: 1px solid #dbdbdb;
}

tbody tr:nth-child(even) {
  background-color: var(--background-alt);
  background-color: #161f27;
}

::-webkit-scrollbar {


@@ 307,25 225,17 @@ tbody tr:nth-child(even) {
}

::-webkit-scrollbar-track {
  background: var(--background);
  background: #161f27;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  background: #324759;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::-moz-selection {
  background-color: var(--selection);
}

::selection {
  background-color: var(--selection);
  background: #415c73;
}

/*# sourceMappingURL=light.standalone.css.map */
/*# sourceMappingURL=dark.css.map */

A http/router/static/css/water/dark.css.map => http/router/static/css/water/dark.css.map +1 -0
@@ 0,0 1,1 @@
{"version":3,"sources":["dark.css","parts/_base.scss","dark.scss","parts/_typography.scss","parts/_forms.scss","parts/_links.scss","parts/_code.scss","parts/_misc.scss"],"names":[],"mappings":"AAAA,gBAAgB;ACAhB;EACE,yKAAyK;EACzK,gBAAgB;EAEhB,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EAEf,cCLiB;EDMjB,mBCTkB;EDWlB,kCAAkC;ADDpC;;ACIA;EACE,kIAI8C;ADLhD;;AGdA;EACE,gBAAgB;EAChB,aAAa;AHiBf;;AGdA;;;;;;EAME,mBAAmB;AHiBrB;;AGdA;;;;;;;EAOE,cDjBmB;AFkCrB;;AGdA;;;;;;;;;EASE,gBAAgB;AHiBlB;;AGdA;EACE,gCD9Be;EC+Bf,iBAAiB;EACjB,kBAAkB;EAClB,kBAAkB;AHiBpB;;AGdA;EACE,gBAAgB;EAChB,kBAAkB;AHiBpB;;AGdA;EACE,kBAAkB;AHiBpB;;AGdA;EACE,kBAAkB;AHiBpB;;AGdA;EACE,cAAS;AHiBX;;AGdA;EACE,cAAS;AHiBX;;AGdA;EACE,cAAS;AHiBX;;AIlFA;;;;EAIE,eAAe;AJqFjB;;AIlFA;;EAEE,cAAc;AJqFhB;;AIlFA;EACE,cFKiB;EEJjB,yBFbsB;EEetB,oBAAoB;EACpB,kBAAkB;EAElB,iBAAiB;EACjB,kBAAkB;EAClB,aAAa;EAEb,YAAY;EACZ,kBAAkB;EAClB,aAAa;AJkFf;;AI/EA;;EAEE,wBAAwB;AJkF1B;;AI/EA;EACE,eAAe;EACf,WAAW;EACX,sBAAsB;EACtB,gBAAgB;AJkFlB;;AI/EA;EACE,mBAAmB;EACnB,kBAAkB;AJkFpB;;AI/EA;;;EAGE,mBFrCoB;AFuHtB;;AI/EA;;;;EAIE,+BFhDe;AFkIjB;;AI/EA;;;;;EAKE,0BAA0B;AJkF5B;;AI/EA;;;;EAIE,mBAAmB;EACnB,WAAW;AJkFb;;AI/EA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AK7JA;EACE,qBAAqB;EACrB,cHIa;AF4Jf;;AK7JA;EACE,0BAA0B;ALgK5B;;AMtKA;EACE,mBJAsB;EICtB,cJOY;EINZ,YAAY;EACZ,kBAAkB;ANyKpB;;AMtKA;EACE,aAAa;EACb,cAAc;EACd,gBAAgB;ANyKlB;;AOnLA;EACE,eAAe;APsLjB;;AOnLA;EACE,YAAY;EACZ,6BLEc;AFoLhB;;AOnLA;EACE,yBAAyB;EACzB,mBAAmB;EACnB,WAAW;APsLb;;AOnLA;EACE,YAAY;EACZ,gBAAgB;APsLlB;;AOnLA;EACE,gCLbc;AFmMhB;;AOnLA;EACE,yBLxBsB;AF8MxB;;AOnLA;EACE,YAAY;EACZ,WAAW;APsLb;;AOnLA;EACE,mBLjCsB;EKkCtB,kBAAkB;APsLpB;;AOnLA;EACE,mBL5BoB;EK6BpB,kBAAkB;APsLpB;;AOnLA;EACE,mBL7BgD;AFmNlD","file":"dark.css","sourcesContent":["@charset \"UTF-8\";\nbody {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n  color: #dbdbdb;\n  background: #202b38;\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;\n}\n\nh1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: #ffffff;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid #0096bfab;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}\n\nbutton,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: #ffffff;\n  background-color: #161f27;\n  font-family: inherit;\n  font-size: inherit;\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: #324759;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px #0096bfab;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: #a9a9a9;\n}\n\na {\n  text-decoration: none;\n  color: #41adff;\n}\n\na:hover {\n  text-decoration: underline;\n}\n\ncode, kbd {\n  background: #161f27;\n  color: #ffbe85;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}\n\nimg {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid #dbdbdb;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid #dbdbdb;\n}\n\ntbody tr:nth-child(even) {\n  background-color: #161f27;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: #161f27;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: #324759;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: #415c73;\n}\n","body {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n\n  color: $text-main;\n  background: $background;\n\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color $animation-duration linear,\n              border-color $animation-duration linear,\n              color $animation-duration linear,\n              box-shadow $animation-duration linear,\n              transform $animation-duration ease;\n}\n","$background: #202b38 !default;\n$background-alt: #161f27 !default;\n\n$text-main: #dbdbdb !default;\n$text-bright: #ffffff !default;\n\n$links: #41adff !default;\n$focus: #0096bfab !default;\n$border: #dbdbdb !default;\n$code: #ffbe85 !default;\n\n$button-hover: #324759 !default;\n$animation-duration: 0.1s !default;\n\n$scrollbar-thumb: $button-hover;\n$scrollbar-thumb-hover: lighten($button-hover, 8%);\n\n$form-placeholder: #a9a9a9 !default;\n$form-text: #ffffff !default;\n\n@import 'parts/core';","h1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: $text-bright;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid $focus;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}","button,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: $form-text;\n  background-color: $background-alt;\n\n  font-family: inherit;\n  font-size: inherit;\n\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: $button-hover;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px $focus;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: $form-placeholder;\n}","a {\n  text-decoration: none;\n  color: $links;\n}\n\na:hover {\n  text-decoration: underline;\n}","code, kbd {\n  background: $background-alt;\n  color: $code;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}","img {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid $border;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid $border;\n}\n\ntbody tr:nth-child(even) {\n  background-color: $background-alt;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: $background-alt;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: $scrollbar-thumb;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: $scrollbar-thumb-hover;\n}"]}
\ No newline at end of file

A http/router/static/css/water/dark.min.css => http/router/static/css/water/dark.min.css +2 -0
@@ 0,0 1,2 @@
@charset "UTF-8";body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.4;max-width:800px;margin:20px auto;padding:0 10px;color:#dbdbdb;background:#202b38;text-rendering:optimizeLegibility}button,input,textarea{transition:background-color .1s linear,border-color .1s linear,color .1s linear,box-shadow .1s linear,transform .1s ease}h1{font-size:2.2em;margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:12px}h1,h2,h3,h4,h5,h6,strong{color:#fff}b,h1,h2,h3,h4,h5,h6,strong,th{font-weight:600}blockquote{border-left:4px solid rgba(0,150,191,.67);margin:1.5em 0;padding:.5em 1em;font-style:italic}blockquote>footer{margin-top:10px;font-style:normal}address,blockquote cite{font-style:normal}a[href^=mailto]:before{content:"📧 "}a[href^=tel]:before{content:"📞 "}a[href^=sms]:before{content:"💬 "}button,input[type=button],input[type=checkbox],input[type=submit]{cursor:pointer}input:not([type=checkbox]):not([type=radio]),select{display:block}button,input,select,textarea{color:#fff;background-color:#161f27;font-family:inherit;font-size:inherit;margin-right:6px;margin-bottom:6px;padding:10px;border:none;border-radius:6px;outline:none}button,input:not([type=checkbox]):not([type=radio]),select,textarea{-webkit-appearance:none}textarea{margin-right:0;width:100%;box-sizing:border-box;resize:vertical}button,input[type=button],input[type=submit]{padding-right:30px;padding-left:30px}button:hover,input[type=button]:hover,input[type=submit]:hover{background:#324759}button:focus,input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(0,150,191,.67)}button:active,input[type=button]:active,input[type=checkbox]:active,input[type=radio]:active,input[type=submit]:active{transform:translateY(2px)}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.5}::-webkit-input-placeholder{color:#a9a9a9}:-ms-input-placeholder{color:#a9a9a9}::-ms-input-placeholder{color:#a9a9a9}::placeholder{color:#a9a9a9}a{text-decoration:none;color:#41adff}a:hover{text-decoration:underline}code,kbd{background:#161f27;color:#ffbe85;padding:5px;border-radius:6px}pre>code{padding:10px;display:block;overflow-x:auto}img{max-width:100%}hr{border:none;border-top:1px solid #dbdbdb}table{border-collapse:collapse;margin-bottom:10px;width:100%}td,th{padding:6px;text-align:left}th{border-bottom:1px solid #dbdbdb}tbody tr:nth-child(2n){background-color:#161f27}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#161f27;border-radius:6px}::-webkit-scrollbar-thumb{background:#324759;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#415c73}
/*# sourceMappingURL=dark.min.css.map */

A http/router/static/css/water/dark.min.css.map => http/router/static/css/water/dark.min.css.map +1 -0
@@ 0,0 1,1 @@
{"version":3,"sources":["parts/_typography.scss","dark.css","parts/_base.scss","dark.scss","parts/_forms.scss","parts/_links.scss","parts/_code.scss","parts/_misc.scss"],"names":[],"mappings":"AAwDA,gBCkBA,CC1EA,KACE,6IAAyK,CACzK,eAAgB,CAEhB,eAAgB,CAChB,gBAAiB,CACjB,cAAe,CAEf,aCLiB,CDMjB,kBCTkB,CDWlB,iCDDF,CCIA,sBACE,wHDDF,CDdA,GACE,eAAgB,CAChB,YCiBF,CDdA,kBAME,kBCiBF,CDdA,yBAOE,UCiBF,CDdA,8BASE,eCiBF,CDdA,WACE,yCG9Be,CH+Bf,cAAiB,CACjB,gBAAkB,CAClB,iBCiBF,CDdA,kBACE,eAAgB,CAChB,iBCiBF,CDVA,wBACE,iBCiBF,CDdA,uBACE,aCiBF,CDdA,oBACE,aCiBF,CDdA,oBACE,aCiBF,CGlFA,kEAIE,cHqFF,CGlFA,oDAEE,aHqFF,CGlFA,6BACE,UDKiB,CCJjB,wBDbsB,CCetB,mBAAoB,CACpB,iBAAkB,CAElB,gBAAiB,CACjB,iBAAkB,CAClB,YAAa,CAEb,WAAY,CACZ,iBAAkB,CAClB,YHkFF,CG/EA,oEAEE,uBHkFF,CG/EA,SACE,cAAe,CACf,UAAW,CACX,qBAAsB,CACtB,eHkFF,CG/EA,6CACE,kBAAmB,CACnB,iBHkFF,CG/EA,+DAGE,kBHkFF,CG/EA,qDAIE,wCHkFF,CG/EA,uHAKE,yBHkFF,CG/EA,iEAIE,kBAAmB,CACnB,UHkFF,CG/EA,4BACE,aHkFF,CGnFA,uBACE,aHkFF,CGnFA,wBACE,aHkFF,CGnFA,cACE,aHkFF,CI7JA,EACE,oBAAqB,CACrB,aJgKF,CI7JA,QACE,yBJgKF,CKtKA,SACE,kBHAsB,CGCtB,aHOY,CGNZ,WAAY,CACZ,iBLyKF,CKtKA,SACE,YAAa,CACb,aAAc,CACd,eLyKF,CMnLA,IACE,cNsLF,CMnLA,GAEE,WJEc,CIFd,4BNsLF,CMnLA,MACE,wBAAyB,CACzB,kBAAmB,CACnB,UNsLF,CMnLA,MACE,WAAY,CACZ,eNsLF,CMnLA,GACE,+BNsLF,CMnLA,uBACE,wBNsLF,CMnLA,oBACE,WAAY,CACZ,UNsLF,CMnLA,0BACE,kBJjCsB,CIkCtB,iBAXF,CAcA,0BACE,kBJ5BoB,CI6BpB,iBNsLF,CMnLA,gCACE,kBAXF","file":"dark.min.css","sourcesContent":["h1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: $text-bright;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid $focus;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}","@charset \"UTF-8\";\nbody {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n  color: #dbdbdb;\n  background: #202b38;\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;\n}\n\nh1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: #ffffff;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid #0096bfab;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}\n\nbutton,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: #ffffff;\n  background-color: #161f27;\n  font-family: inherit;\n  font-size: inherit;\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: #324759;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px #0096bfab;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: #a9a9a9;\n}\n\na {\n  text-decoration: none;\n  color: #41adff;\n}\n\na:hover {\n  text-decoration: underline;\n}\n\ncode, kbd {\n  background: #161f27;\n  color: #ffbe85;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}\n\nimg {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid #dbdbdb;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid #dbdbdb;\n}\n\ntbody tr:nth-child(even) {\n  background-color: #161f27;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: #161f27;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: #324759;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: #415c73;\n}\n","body {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n\n  color: $text-main;\n  background: $background;\n\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color $animation-duration linear,\n              border-color $animation-duration linear,\n              color $animation-duration linear,\n              box-shadow $animation-duration linear,\n              transform $animation-duration ease;\n}\n","$background: #202b38 !default;\n$background-alt: #161f27 !default;\n\n$text-main: #dbdbdb !default;\n$text-bright: #ffffff !default;\n\n$links: #41adff !default;\n$focus: #0096bfab !default;\n$border: #dbdbdb !default;\n$code: #ffbe85 !default;\n\n$button-hover: #324759 !default;\n$animation-duration: 0.1s !default;\n\n$scrollbar-thumb: $button-hover;\n$scrollbar-thumb-hover: lighten($button-hover, 8%);\n\n$form-placeholder: #a9a9a9 !default;\n$form-text: #ffffff !default;\n\n@import 'parts/core';","button,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: $form-text;\n  background-color: $background-alt;\n\n  font-family: inherit;\n  font-size: inherit;\n\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: $button-hover;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px $focus;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: $form-placeholder;\n}","a {\n  text-decoration: none;\n  color: $links;\n}\n\na:hover {\n  text-decoration: underline;\n}","code, kbd {\n  background: $background-alt;\n  color: $code;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}","img {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid $border;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid $border;\n}\n\ntbody tr:nth-child(even) {\n  background-color: $background-alt;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: $background-alt;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: $scrollbar-thumb;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: $scrollbar-thumb-hover;\n}"]}
\ No newline at end of file

R mousikofidi/static/css/water/dark.standalone.css => http/router/static/css/water/light.css +32 -122
@@ 1,57 1,17 @@
/**
 * Standalone dark-themed version.
 * Includes dark variables and core, left as CSS variables
 * so the theming can be adjusted at runtime.
 */

:root {
  --background-body: #202b38;
  --background: #161f27;
  --background-alt: #1a242f;

  --selection: #161f27;

  --text-main: #dbdbdb;
  --text-bright: #ffffff;

  --links: #41adff;
  --focus: #0096bfab;
  --border: #dbdbdb;
  --code: #ffbe85;

  --animation-duration: 0.1s;
  --button-hover: #324759;

  --scrollbar-thumb: var(--button-hover);
  --scrollbar-thumb-hover: rgb(65, 92, 115);

  --form-placeholder: #a9a9a9;
  --form-text: #ffffff;

  --variable: #d941e2;
  --highlight: #efdb43;
}

@charset "UTF-8";
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.4;

  max-width: 800px;
  margin: 20px auto;
  padding: 0 10px;

  color: var(--text-main);
  background: var(--background-body);

  color: #363636;
  background: #ffffff;
  text-rendering: optimizeLegibility;
}

button, input, textarea {
  transition: background-color var(--animation-duration) linear,
              border-color var(--animation-duration) linear,
              color var(--animation-duration) linear,
              box-shadow var(--animation-duration) linear,
              transform var(--animation-duration) ease;
  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;
}

h1 {


@@ 75,7 35,7 @@ h4,
h5,
h6,
strong {
  color: var(--text-bright);
  color: #000000;
}

h1,


@@ 90,16 50,8 @@ th {
  font-weight: 600;
}

q:before {
   content: none;
}

q:after {
   content: none;
}

blockquote , q{
  border-left: 4px solid var(--focus);
blockquote {
  border-left: 4px solid #0096bfab;
  margin: 1.5em 0em;
  padding: 0.5em 1em;
  font-style: italic;


@@ 130,13 82,6 @@ a[href^='sms']::before {
  content: '💬 ';
}

mark {
  background-color: var(--highlight);
  border-radius: 2px;
  padding: 0px 2px 0px 2px;
  color: #000000;
}

button,
input[type='submit'],
input[type='button'],


@@ 149,29 94,21 @@ select {
  display: block;
}

input,
select,
button,
textarea {
  color: var(--form-text);
  background-color: var(--background);

input, select, button, textarea {
  color: #000000;
  background-color: #efefef;
  font-family: inherit;
  font-size: inherit;

  margin-right: 6px;
  margin-bottom: 6px;
  padding: 10px;

  border: none;
  border-radius: 6px;
  outline: none;
}

input:not([type='checkbox']):not([type='radio']),
select,
button,
textarea {
select, button, textarea {
  -webkit-appearance: none;
}



@@ 182,9 119,7 @@ textarea {
  resize: vertical;
}

button,
input[type='submit'],
input[type='button'] {
button, input[type='submit'], input[type='button'] {
  padding-right: 30px;
  padding-left: 30px;
}


@@ 192,14 127,14 @@ input[type='button'] {
button:hover,
input[type='submit']:hover,
input[type='button']:hover {
  background: var(--button-hover);
  background: #dddddd;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--focus);
  box-shadow: 0 0 0 2px #0096bfab;
}

input[type='checkbox']:active,


@@ 215,40 150,39 @@ select:disabled,
button:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  opacity: .5;
}

::-webkit-input-placeholder {
  color: var(--form-placeholder);
  color: #949494;
}

:-ms-input-placeholder {
  color: var(--form-placeholder);
  color: #949494;
}

::-ms-input-placeholder {
  color: var(--form-placeholder);
  color: #949494;
}

::placeholder {
  color: var(--form-placeholder);
  color: #949494;
}

a {
  text-decoration: none;
  color: var(--links);
  color: #0076d1;
}

a:hover {
  text-decoration: underline;
}

code, samp, time {
  background:  var(--background);
  color: var(--code);
  padding: 2.5px 5px;
code, kbd {
  background: #efefef;
  color: #000000;
  padding: 5px;
  border-radius: 6px;
  font-size: 1em;
}

pre > code {


@@ 257,28 191,13 @@ pre > code {
  overflow-x: auto;
}

var {
  color: var(--variable);
  font-style: normal;
  font-family: monospace;
}

kbd {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-main);
  padding: 2px 4px 2px 4px;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  border-top: 1px solid #dbdbdb;
}

table {


@@ 287,18 206,17 @@ table {
  width: 100%;
}

td,
th {
td, th {
  padding: 6px;
  text-align: left;
}

th {
  border-bottom: 1px solid var(--border);
  border-bottom: 1px solid #dbdbdb;
}

tbody tr:nth-child(even) {
  background-color: var(--background-alt);
  background-color: #efefef;
}

::-webkit-scrollbar {


@@ 307,25 225,17 @@ tbody tr:nth-child(even) {
}

::-webkit-scrollbar-track {
  background: var(--background);
  background: #efefef;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  background: #d5d5d5;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::-moz-selection {
  background-color: var(--selection);
}

::selection {
  background-color: var(--selection);
  background: #c4c4c4;
}

/*# sourceMappingURL=dark.standalone.css.map */
/*# sourceMappingURL=light.css.map */

A http/router/static/css/water/light.css.map => http/router/static/css/water/light.css.map +1 -0
@@ 0,0 1,1 @@
{"version":3,"sources":["light.css","parts/_base.scss","light.scss","parts/_typography.scss","parts/_forms.scss","parts/_links.scss","parts/_code.scss","parts/_misc.scss"],"names":[],"mappings":"AAAA,gBAAgB;ACAhB;EACE,yKAAyK;EACzK,gBAAgB;EAEhB,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EAEf,cCLiB;EDMjB,mBCTkB;EDWlB,kCAAkC;ADDpC;;ACIA;EACE,kIAI8C;ADLhD;;AGdA;EACE,gBAAgB;EAChB,aAAa;AHiBf;;AGdA;;;;;;EAME,mBAAmB;AHiBrB;;AGdA;;;;;;;EAOE,cDjBmB;AFkCrB;;AGdA;;;;;;;;;EASE,gBAAgB;AHiBlB;;AGdA;EACE,gCD9Be;EC+Bf,iBAAiB;EACjB,kBAAkB;EAClB,kBAAkB;AHiBpB;;AGdA;EACE,gBAAgB;EAChB,kBAAkB;AHiBpB;;AGdA;EACE,kBAAkB;AHiBpB;;AGdA;EACE,kBAAkB;AHiBpB;;AGdA;EACE,cAAS;AHiBX;;AGdA;EACE,cAAS;AHiBX;;AGdA;EACE,cAAS;AHiBX;;AIlFA;;;;EAIE,eAAe;AJqFjB;;AIlFA;;EAEE,cAAc;AJqFhB;;AIlFA;EACE,cFKiB;EEJjB,yBFbsB;EEetB,oBAAoB;EACpB,kBAAkB;EAElB,iBAAiB;EACjB,kBAAkB;EAClB,aAAa;EAEb,YAAY;EACZ,kBAAkB;EAClB,aAAa;AJkFf;;AI/EA;;EAEE,wBAAwB;AJkF1B;;AI/EA;EACE,eAAe;EACf,WAAW;EACX,sBAAsB;EACtB,gBAAgB;AJkFlB;;AI/EA;EACE,mBAAmB;EACnB,kBAAkB;AJkFpB;;AI/EA;;;EAGE,mBFrCoB;AFuHtB;;AI/EA;;;;EAIE,+BFhDe;AFkIjB;;AI/EA;;;;;EAKE,0BAA0B;AJkF5B;;AI/EA;;;;EAIE,mBAAmB;EACnB,WAAW;AJkFb;;AI/EA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AInFA;EACE,cF1DwB;AF4I1B;;AK7JA;EACE,qBAAqB;EACrB,cHIa;AF4Jf;;AK7JA;EACE,0BAA0B;ALgK5B;;AMtKA;EACE,mBJAsB;EICtB,cJOY;EINZ,YAAY;EACZ,kBAAkB;ANyKpB;;AMtKA;EACE,aAAa;EACb,cAAc;EACd,gBAAgB;ANyKlB;;AOnLA;EACE,eAAe;APsLjB;;AOnLA;EACE,YAAY;EACZ,6BLEc;AFoLhB;;AOnLA;EACE,yBAAyB;EACzB,mBAAmB;EACnB,WAAW;APsLb;;AOnLA;EACE,YAAY;EACZ,gBAAgB;APsLlB;;AOnLA;EACE,gCLbc;AFmMhB;;AOnLA;EACE,yBLxBsB;AF8MxB;;AOnLA;EACE,YAAY;EACZ,WAAW;APsLb;;AOnLA;EACE,mBLjCsB;EKkCtB,kBAAkB;APsLpB;;AOnLA;EACE,mBLzByC;EK0BzC,kBAAkB;APsLpB;;AOnLA;EACE,mBL7BgD;AFmNlD","file":"light.css","sourcesContent":["@charset \"UTF-8\";\nbody {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n  color: #363636;\n  background: #ffffff;\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;\n}\n\nh1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: #000000;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid #0096bfab;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}\n\nbutton,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: #000000;\n  background-color: #efefef;\n  font-family: inherit;\n  font-size: inherit;\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: #dddddd;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px #0096bfab;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: #949494;\n}\n\na {\n  text-decoration: none;\n  color: #0076d1;\n}\n\na:hover {\n  text-decoration: underline;\n}\n\ncode, kbd {\n  background: #efefef;\n  color: #000000;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}\n\nimg {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid #dbdbdb;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid #dbdbdb;\n}\n\ntbody tr:nth-child(even) {\n  background-color: #efefef;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: #efefef;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: #d5d5d5;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: #c4c4c4;\n}\n","body {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n\n  color: $text-main;\n  background: $background;\n\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color $animation-duration linear,\n              border-color $animation-duration linear,\n              color $animation-duration linear,\n              box-shadow $animation-duration linear,\n              transform $animation-duration ease;\n}\n","$background: #ffffff !default;\n$background-alt: #efefef !default;\n\n$text-main: #363636 !default;\n$text-bright: #000000 !default;\n\n$links: #0076d1 !default;\n$focus: #0096bfab !default;\n$border: #dbdbdb !default;\n$code: #000000 !default;\n\n$button-hover: #dddddd !default;\n$animation-duration: 0.1s !default;\n\n$scrollbar-thumb: darken($button-hover, 3%);\n$scrollbar-thumb-hover: darken($button-hover, 10%);\n\n$form-placeholder: #949494 !default;\n$form-text: #000000 !default;\n\n@import 'parts/core';","h1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: $text-bright;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid $focus;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}","button,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: $form-text;\n  background-color: $background-alt;\n\n  font-family: inherit;\n  font-size: inherit;\n\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: $button-hover;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px $focus;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: $form-placeholder;\n}","a {\n  text-decoration: none;\n  color: $links;\n}\n\na:hover {\n  text-decoration: underline;\n}","code, kbd {\n  background: $background-alt;\n  color: $code;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}","img {\n  max-width: 100%;\n}\n\nhr {\n  border: none;\n  border-top: 1px solid $border;\n}\n\ntable {\n  border-collapse: collapse;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\ntd, th {\n  padding: 6px;\n  text-align: left;\n}\n\nth {\n  border-bottom: 1px solid $border;\n}\n\ntbody tr:nth-child(even) {\n  background-color: $background-alt;\n}\n\n::-webkit-scrollbar {\n  height: 10px;\n  width: 10px;\n}\n\n::-webkit-scrollbar-track {\n  background: $background-alt;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n  background: $scrollbar-thumb;\n  border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb:hover {\n  background: $scrollbar-thumb-hover;\n}"]}
\ No newline at end of file

A http/router/static/css/water/light.min.css => http/router/static/css/water/light.min.css +2 -0
@@ 0,0 1,2 @@
@charset "UTF-8";body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.4;max-width:800px;margin:20px auto;padding:0 10px;color:#363636;background:#fff;text-rendering:optimizeLegibility}button,input,textarea{transition:background-color .1s linear,border-color .1s linear,color .1s linear,box-shadow .1s linear,transform .1s ease}h1{font-size:2.2em;margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:12px}h1,h2,h3,h4,h5,h6,strong{color:#000}b,h1,h2,h3,h4,h5,h6,strong,th{font-weight:600}blockquote{border-left:4px solid rgba(0,150,191,.67);margin:1.5em 0;padding:.5em 1em;font-style:italic}blockquote>footer{margin-top:10px;font-style:normal}address,blockquote cite{font-style:normal}a[href^=mailto]:before{content:"📧 "}a[href^=tel]:before{content:"📞 "}a[href^=sms]:before{content:"💬 "}button,input[type=button],input[type=checkbox],input[type=submit]{cursor:pointer}input:not([type=checkbox]):not([type=radio]),select{display:block}button,input,select,textarea{color:#000;background-color:#efefef;font-family:inherit;font-size:inherit;margin-right:6px;margin-bottom:6px;padding:10px;border:none;border-radius:6px;outline:none}button,input:not([type=checkbox]):not([type=radio]),select,textarea{-webkit-appearance:none}textarea{margin-right:0;width:100%;box-sizing:border-box;resize:vertical}button,input[type=button],input[type=submit]{padding-right:30px;padding-left:30px}button:hover,input[type=button]:hover,input[type=submit]:hover{background:#ddd}button:focus,input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(0,150,191,.67)}button:active,input[type=button]:active,input[type=checkbox]:active,input[type=radio]:active,input[type=submit]:active{transform:translateY(2px)}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.5}::-webkit-input-placeholder{color:#949494}:-ms-input-placeholder{color:#949494}::-ms-input-placeholder{color:#949494}::placeholder{color:#949494}a{text-decoration:none;color:#0076d1}a:hover{text-decoration:underline}code,kbd{background:#efefef;color:#000;padding:5px;border-radius:6px}pre>code{padding:10px;display:block;overflow-x:auto}img{max-width:100%}hr{border:none;border-top:1px solid #dbdbdb}table{border-collapse:collapse;margin-bottom:10px;width:100%}td,th{padding:6px;text-align:left}th{border-bottom:1px solid #dbdbdb}tbody tr:nth-child(2n){background-color:#efefef}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#efefef;border-radius:6px}::-webkit-scrollbar-thumb{background:#d5d5d5;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#c4c4c4}
/*# sourceMappingURL=light.min.css.map */

A http/router/static/css/water/light.min.css.map => http/router/static/css/water/light.min.css.map +1 -0
@@ 0,0 1,1 @@
{"version":3,"sources":["parts/_typography.scss","light.css","parts/_base.scss","light.scss","parts/_forms.scss","parts/_links.scss","parts/_code.scss","parts/_misc.scss"],"names":[],"mappings":"AAwDA,gBCkBA,CC1EA,KACE,6IAAyK,CACzK,eAAgB,CAEhB,eAAgB,CAChB,gBAAiB,CACjB,cAAe,CAEf,aCLiB,CDMjB,eCTkB,CDWlB,iCDDF,CCIA,sBACE,wHDDF,CDdA,GACE,eAAgB,CAChB,YCiBF,CDdA,kBAME,kBCiBF,CDdA,yBAOE,UCiBF,CDdA,8BASE,eCiBF,CDdA,WACE,yCG9Be,CH+Bf,cAAiB,CACjB,gBAAkB,CAClB,iBCiBF,CDdA,kBACE,eAAgB,CAChB,iBCiBF,CDVA,wBACE,iBCiBF,CDdA,uBACE,aCiBF,CDdA,oBACE,aCiBF,CDdA,oBACE,aCiBF,CGlFA,kEAIE,cHqFF,CGlFA,oDAEE,aHqFF,CGlFA,6BACE,UDKiB,CCJjB,wBDbsB,CCetB,mBAAoB,CACpB,iBAAkB,CAElB,gBAAiB,CACjB,iBAAkB,CAClB,YAAa,CAEb,WAAY,CACZ,iBAAkB,CAClB,YHkFF,CG/EA,oEAEE,uBHkFF,CG/EA,SACE,cAAe,CACf,UAAW,CACX,qBAAsB,CACtB,eHkFF,CG/EA,6CACE,kBAAmB,CACnB,iBHkFF,CG/EA,+DAGE,eHkFF,CG/EA,qDAIE,wCHkFF,CG/EA,uHAKE,yBHkFF,CG/EA,iEAIE,kBAAmB,CACnB,UHkFF,CG/EA,4BACE,aHkFF,CGnFA,uBACE,aHkFF,CGnFA,wBACE,aHkFF,CGnFA,cACE,aHkFF,CI7JA,EACE,oBAAqB,CACrB,aJgKF,CI7JA,QACE,yBJgKF,CKtKA,SACE,kBHAsB,CGCtB,UHOY,CGNZ,WAAY,CACZ,iBLyKF,CKtKA,SACE,YAAa,CACb,aAAc,CACd,eLyKF,CMnLA,IACE,cNsLF,CMnLA,GAEE,WJEc,CIFd,4BNsLF,CMnLA,MACE,wBAAyB,CACzB,kBAAmB,CACnB,UNsLF,CMnLA,MACE,WAAY,CACZ,eNsLF,CMnLA,GACE,+BNsLF,CMnLA,uBACE,wBNsLF,CMnLA,oBACE,WAAY,CACZ,UNsLF,CMnLA,0BACE,kBJjCsB,CIkCtB,iBAXF,CAcA,0BACE,kBJzByC,CI0BzC,iBNsLF,CMnLA,gCACE,kBAXF","file":"light.min.css","sourcesContent":["h1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: $text-bright;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid $focus;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}","@charset \"UTF-8\";\nbody {\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n  line-height: 1.4;\n  max-width: 800px;\n  margin: 20px auto;\n  padding: 0 10px;\n  color: #363636;\n  background: #ffffff;\n  text-rendering: optimizeLegibility;\n}\n\nbutton, input, textarea {\n  transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease;\n}\n\nh1 {\n  font-size: 2.2em;\n  margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 12px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n  color: #000000;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n  font-weight: 600;\n}\n\nblockquote {\n  border-left: 4px solid #0096bfab;\n  margin: 1.5em 0em;\n  padding: 0.5em 1em;\n  font-style: italic;\n}\n\nblockquote > footer {\n  margin-top: 10px;\n  font-style: normal;\n}\n\nblockquote cite {\n  font-style: normal;\n}\n\naddress {\n  font-style: normal;\n}\n\na[href^='mailto']::before {\n  content: '📧 ';\n}\n\na[href^='tel']::before {\n  content: '📞 ';\n}\n\na[href^='sms']::before {\n  content: '💬 ';\n}\n\nbutton,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'] {\n  cursor: pointer;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect {\n  display: block;\n}\n\ninput, select, button, textarea {\n  color: #000000;\n  background-color: #efefef;\n  font-family: inherit;\n  font-size: inherit;\n  margin-right: 6px;\n  margin-bottom: 6px;\n  padding: 10px;\n  border: none;\n  border-radius: 6px;\n  outline: none;\n}\n\ninput:not([type='checkbox']):not([type='radio']),\nselect, button, textarea {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  margin-right: 0;\n  width: 100%;\n  box-sizing: border-box;\n  resize: vertical;\n}\n\nbutton, input[type='submit'], input[type='button'] {\n  padding-right: 30px;\n  padding-left: 30px;\n}\n\nbutton:hover,\ninput[type='submit']:hover,\ninput[type='button']:hover {\n  background: #dddddd;\n}\n\ninput:focus,\nselect:focus,\nbutton:focus,\ntextarea:focus {\n  box-shadow: 0 0 0 2px #0096bfab;\n}\n\ninput[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\nbutton:active {\n  transform: translateY(2px);\n}\n\ninput:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n  cursor: not-allowed;\n  opacity: .5;\n}\n\n::placeholder {\n  color: #949494;\n}\n\na {\n  text-decoration: none;\n  color: #0076d1;\n}\n\na:hover {\n  text-decoration: underline;\n}\n\ncode, kbd {\n  background: #efefef;\n  color: #000000;\n  padding: 5px;\n  border-radius: 6px;\n}\n\npre > code {\n  padding: 10px;\n  display: block;\n  overflow-x: auto;\n}\n\nimg {\n  max-