diff options
| -rw-r--r-- | internal/pwhash/pwhash.go | 18 | ||||
| -rw-r--r-- | roseh.moe.go | 18 | ||||
| -rw-r--r-- | static/games/pong/pong.js | 18 | ||||
| -rw-r--r-- | static/games/rms/rms.js | 18 | ||||
| -rw-r--r-- | static/styles.css | 25 | ||||
| -rw-r--r-- | templates/404.html.template | 19 | ||||
| -rw-r--r-- | templates/cmd-index.html.template | 19 | ||||
| -rw-r--r-- | templates/games/index.html.template | 19 | ||||
| -rw-r--r-- | templates/games/pong.html.template | 19 | ||||
| -rw-r--r-- | templates/games/rms.html.template | 19 | ||||
| -rw-r--r-- | templates/index.html.template | 23 | ||||
| -rw-r--r-- | templates/login.html.template | 19 | ||||
| -rw-r--r-- | templates/note.html.template | 19 | ||||
| -rw-r--r-- | templates/outline.html.template | 19 | ||||
| -rw-r--r-- | templates/pkg-index.html.template | 19 | ||||
| -rw-r--r-- | templates/wormhole-success.html.template | 19 | ||||
| -rw-r--r-- | templates/wormhole.html.template | 19 | ||||
| -rw-r--r-- | tools/auth/auth.go | 18 | ||||
| -rw-r--r-- | tools/finditer/finditer.go | 18 | ||||
| -rw-r--r-- | tools/hashpw/hashpw.go | 18 |
20 files changed, 383 insertions, 0 deletions
diff --git a/internal/pwhash/pwhash.go b/internal/pwhash/pwhash.go index d8a1b33..5a2082d 100644 --- a/internal/pwhash/pwhash.go +++ b/internal/pwhash/pwhash.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + package pwhash import ( diff --git a/roseh.moe.go b/roseh.moe.go index ecc4b50..76e1e18 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, see +// <https://www.gnu.org/licenses/>. + package main import ( diff --git a/static/games/pong/pong.js b/static/games/pong/pong.js index bdf95ac..58f0c59 100644 --- a/static/games/pong/pong.js +++ b/static/games/pong/pong.js @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + const ticksPerSecond = 300; const ballSpeed = 10 * 60 / ticksPerSecond; const paddleSpeed = 10 * 60 / ticksPerSecond; diff --git a/static/games/rms/rms.js b/static/games/rms/rms.js index 838c0ad..e66bc3f 100644 --- a/static/games/rms/rms.js +++ b/static/games/rms/rms.js @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + const x_dim = 800; const y_dim = 600; diff --git a/static/styles.css b/static/styles.css index 969095f..3f8ad7d 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,3 +1,22 @@ +/* Copyright 2026 Rose Hogenson <r@roseh.moe> + * + * This file is part of roseh.moe. + * + * roseh.moe is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, + * or (at your option) any later version. + * + * roseh.moe 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public + * License along with roseh.moe. If not, + * see <https://www.gnu.org/licenses/>. + */ + @font-face { font-family: 'QuickLove'; src: url('/static/QuickLove.woff2'); @@ -151,3 +170,9 @@ figure { width: auto; height: auto; } + +footer { + display: flex; + justify-content: right; + margin: 20px; +} diff --git a/templates/404.html.template b/templates/404.html.template index 959e30f..daf57ee 100644 --- a/templates/404.html.template +++ b/templates/404.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <!doctype html> <html lang="en"> <title>Not Found</title> diff --git a/templates/cmd-index.html.template b/templates/cmd-index.html.template index 3e581a3..2e91df6 100644 --- a/templates/cmd-index.html.template +++ b/templates/cmd-index.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Commands</title> <section> diff --git a/templates/games/index.html.template b/templates/games/index.html.template index 64cef30..26cc354 100644 --- a/templates/games/index.html.template +++ b/templates/games/index.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Games</title> <section> diff --git a/templates/games/pong.html.template b/templates/games/pong.html.template index 8cb9226..70353dc 100644 --- a/templates/games/pong.html.template +++ b/templates/games/pong.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <!doctype html> <html lang="en" style="width:100%;height:100%;margin:0;padding:0"> <title>Pong</title> diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template index e657006..734a554 100644 --- a/templates/games/rms.html.template +++ b/templates/games/rms.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>RMS shooter</title> <script src="/static/games/rms/rms.js" defer></script> diff --git a/templates/index.html.template b/templates/index.html.template index 6fc67d0..dfa38ca 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>roseh.moe</title> <div style="background-image:url(/static/index/stars.webp);background-repeat:repeat;height:500px;display:flex"> @@ -13,3 +32,7 @@ <p><a href="/games/">Games?</a> <p><a href="/wormhole">Magic wormhole</a> </section> + +<footer> + <a href="https://code.roseh.moe/roseh.moe">Source</a> +</footer> diff --git a/templates/login.html.template b/templates/login.html.template index 2b3d022..a64f3c6 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Login</title> <section> diff --git a/templates/note.html.template b/templates/note.html.template index 0d4673d..8c42f2b 100644 --- a/templates/note.html.template +++ b/templates/note.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <script src="/static/htmx.min.js"></script> <title>Notepad</title> diff --git a/templates/outline.html.template b/templates/outline.html.template index 78f7920..c942adf 100644 --- a/templates/outline.html.template +++ b/templates/outline.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <!doctype html> <html lang="en"> <meta charset="utf-8"> diff --git a/templates/pkg-index.html.template b/templates/pkg-index.html.template index 67417c2..2d7efff 100644 --- a/templates/pkg-index.html.template +++ b/templates/pkg-index.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Packages</title> <section> diff --git a/templates/wormhole-success.html.template b/templates/wormhole-success.html.template index 86d060c..c5a88fd 100644 --- a/templates/wormhole-success.html.template +++ b/templates/wormhole-success.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Uploaded!</title> <div style="display:flex;flex-direction:column;align-items:center;font-size:50px"> diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template index d277f4c..35b05d7 100644 --- a/templates/wormhole.html.template +++ b/templates/wormhole.html.template @@ -1,3 +1,22 @@ +<!-- Copyright 2026 Rose Hogenson <r@roseh.moe> + -- + -- This file is part of roseh.moe. + -- + -- roseh.moe is free software: you can redistribute it and/or modify + -- it under the terms of the GNU Affero General Public License + -- as published by the Free Software Foundation, either version 3 of + -- the License, or (at your option) any later version. + -- + -- roseh.moe 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 Affero General Public License for more details. + -- + -- You should have received a copy of the GNU Affero General Public + -- License along with roseh.moe. If not, see + -- <https://www.gnu.org/licenses/>. + --> + <title>Wormhole</title> <form diff --git a/tools/auth/auth.go b/tools/auth/auth.go index 9b80389..6268ba8 100644 --- a/tools/auth/auth.go +++ b/tools/auth/auth.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + package main import ( diff --git a/tools/finditer/finditer.go b/tools/finditer/finditer.go index a56c7fa..f5bf75f 100644 --- a/tools/finditer/finditer.go +++ b/tools/finditer/finditer.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + package main import ( diff --git a/tools/hashpw/hashpw.go b/tools/hashpw/hashpw.go index 4227679..8244b64 100644 --- a/tools/hashpw/hashpw.go +++ b/tools/hashpw/hashpw.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe. +// +// roseh.moe is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// roseh.moe 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with roseh.moe. If not, +// see <https://www.gnu.org/licenses/>. + package main import ( |
