From b58a9adff2681b0ac319f33b70f35669ec610a09 Mon Sep 17 00:00:00 2001
From: Artemy Egorov <59178854+artegoser@users.noreply.github.com>
Date: Fri, 21 Apr 2023 13:18:00 +0300
Subject: [PATCH] doc: update license (#2)
---
README.md | 24 ++++++++++++++++++++----
changelog.md | 17 +++++++++++++++++
index.html | 18 ++++++++++++++++++
index.js | 17 +++++++++++++++++
note_validator.js | 17 +++++++++++++++++
src/App.css | 16 ++++++++++++++++
src/App.jsx | 17 +++++++++++++++++
src/components/button.jsx | 17 +++++++++++++++++
src/components/checkbox.jsx | 17 +++++++++++++++++
src/components/copytocb.jsx | 17 +++++++++++++++++
src/components/markdown.jsx | 17 +++++++++++++++++
src/components/menu.jsx | 17 +++++++++++++++++
src/components/note.jsx | 17 +++++++++++++++++
src/components/openai.js | 17 +++++++++++++++++
src/components/settingsInputs.jsx | 17 +++++++++++++++++
src/components/socket.js | 17 +++++++++++++++++
src/components/styles.js | 17 +++++++++++++++++
src/components/utils.js | 17 +++++++++++++++++
src/index.css | 17 +++++++++++++++++
src/localisation/en.js | 17 +++++++++++++++++
src/localisation/eo.js | 17 +++++++++++++++++
src/localisation/es.js | 17 +++++++++++++++++
src/localisation/ja.js | 17 +++++++++++++++++
src/localisation/main.js | 17 +++++++++++++++++
src/localisation/ru.js | 17 +++++++++++++++++
src/localisation/zh.js | 17 +++++++++++++++++
src/main.jsx | 17 +++++++++++++++++
src/pages/create.jsx | 17 +++++++++++++++++
src/pages/note.jsx | 17 +++++++++++++++++
src/pages/notes.jsx | 17 +++++++++++++++++
src/pages/pubError.jsx | 17 +++++++++++++++++
src/pages/pubNote.jsx | 17 +++++++++++++++++
src/pages/pubNoteSafe.jsx | 17 +++++++++++++++++
src/pages/publish.jsx | 17 +++++++++++++++++
src/pages/save-local.jsx | 17 +++++++++++++++++
src/pages/settings.jsx | 17 +++++++++++++++++
36 files changed, 615 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index ae07080..18dbb0b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,23 @@
-# AnoPaper - Notes service
-[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_shield)
+
+
+# AnoPaper - Notes service
+
+[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_shield)
AnoPaper is a notes service that allows you to save notes locally, complete notes using OpenAI API, collaborate on notes with other users and more. The notes supports markdown, MathJax, and GFM syntax.
@@ -40,5 +57,4 @@ Contributions are welcome! If you would like to contribute to this project, plea
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.
-
-[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_large)
\ No newline at end of file
+[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_large)
diff --git a/changelog.md b/changelog.md
index 48c1d6e..afc1aaa 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,20 @@
+
+
# Anopaper v1.1.0 (coming)
- [ ] Local notes editing
diff --git a/index.html b/index.html
index 3f8ccf6..c58c40f 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,22 @@
+
+
+
diff --git a/index.js b/index.js
index ec5e853..e00770d 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
const sha3 = require("js-sha3").sha3_512;
const express = require("express");
const bodyParser = require("body-parser");
diff --git a/note_validator.js b/note_validator.js
index 837043b..1dc9837 100644
--- a/note_validator.js
+++ b/note_validator.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
const Ajv = require("ajv");
const ajv = new Ajv();
const note_schema = {
diff --git a/src/App.css b/src/App.css
index e69de29..96a1bd5 100644
--- a/src/App.css
+++ b/src/App.css
@@ -0,0 +1,16 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
diff --git a/src/App.jsx b/src/App.jsx
index 56764b0..e79a22a 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import "./App.css";
import { Routes, Route } from "react-router-dom";
import Menu from "./components/menu";
diff --git a/src/components/button.jsx b/src/components/button.jsx
index b665c16..43922b6 100644
--- a/src/components/button.jsx
+++ b/src/components/button.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { Link } from "react-router-dom";
function Button({
diff --git a/src/components/checkbox.jsx b/src/components/checkbox.jsx
index 48af3d1..1d7ad0b 100644
--- a/src/components/checkbox.jsx
+++ b/src/components/checkbox.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
function CheckBox(props) {
return (
diff --git a/src/components/copytocb.jsx b/src/components/copytocb.jsx
index e78fded..6294517 100644
--- a/src/components/copytocb.jsx
+++ b/src/components/copytocb.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { useState } from "react";
import { ClipboardIcon, CheckIcon } from "@heroicons/react/24/outline";
import { useEffect } from "react";
diff --git a/src/components/markdown.jsx b/src/components/markdown.jsx
index 815801f..cdff5fd 100644
--- a/src/components/markdown.jsx
+++ b/src/components/markdown.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import rehypeMathjax from "rehype-mathjax";
import remarkMath from "remark-math";
import ReactMarkdown from "react-markdown";
diff --git a/src/components/menu.jsx b/src/components/menu.jsx
index cbc1e6c..96883ad 100644
--- a/src/components/menu.jsx
+++ b/src/components/menu.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { ButtonWithIcon } from "./button";
import {
MagnifyingGlassCircleIcon,
diff --git a/src/components/note.jsx b/src/components/note.jsx
index ba2a29d..2e21884 100644
--- a/src/components/note.jsx
+++ b/src/components/note.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import RenderMarkdown from "../components/markdown";
import { printDate } from "./utils";
diff --git a/src/components/openai.js b/src/components/openai.js
index 30a03a3..258b6e5 100644
--- a/src/components/openai.js
+++ b/src/components/openai.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { Configuration, OpenAIApi } from "openai";
async function Complete(setText, textUpdate) {
diff --git a/src/components/settingsInputs.jsx b/src/components/settingsInputs.jsx
index 4fa6c5f..b457a1d 100644
--- a/src/components/settingsInputs.jsx
+++ b/src/components/settingsInputs.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { CheckBox } from "./checkbox";
import { inputStyle, settingsAddInput } from "./styles";
diff --git a/src/components/socket.js b/src/components/socket.js
index ce89f56..84edadc 100644
--- a/src/components/socket.js
+++ b/src/components/socket.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { io } from "socket.io-client";
import { reRenderPage } from "./utils";
diff --git a/src/components/styles.js b/src/components/styles.js
index 4ca8574..4e494e4 100644
--- a/src/components/styles.js
+++ b/src/components/styles.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
let inputStyle =
"block px-3 py-1.5 text-base font-normal text-gray-700 dark:text-white bg-white dark:bg-zinc-900 bg-clip-padding border border-solid border-gray-300 rounded-lg transition ease-in-out focus:border-blue-600 focus:outline-none";
let settingsAddInput = "w-full lg:w-1/4";
diff --git a/src/components/utils.js b/src/components/utils.js
index 0eeffaf..43c75e6 100644
--- a/src/components/utils.js
+++ b/src/components/utils.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { Locales } from "../localisation/main";
function printDate(time) {
diff --git a/src/index.css b/src/index.css
index 09ae894..fc204da 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
@tailwind base;
@tailwind components;
@tailwind utilities;
diff --git a/src/localisation/en.js b/src/localisation/en.js
index cf08150..bbd5a41 100644
--- a/src/localisation/en.js
+++ b/src/localisation/en.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
let en = {
about_md: (await (await fetch("localisation/en/about.md")).text()) || "",
Notes: "Notes",
diff --git a/src/localisation/eo.js b/src/localisation/eo.js
index 8d7a4ca..75252c8 100644
--- a/src/localisation/eo.js
+++ b/src/localisation/eo.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
//translated with Google Translate
//if you want to help with translations, please contribute to this project
diff --git a/src/localisation/es.js b/src/localisation/es.js
index 49c5dd8..5757b2e 100644
--- a/src/localisation/es.js
+++ b/src/localisation/es.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
//translated with Google Translate
//if you want to help with translations, please contribute to this project
diff --git a/src/localisation/ja.js b/src/localisation/ja.js
index c99e520..2c32055 100644
--- a/src/localisation/ja.js
+++ b/src/localisation/ja.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
//translated with Google Translate
//if you want to help with translations, please contribute to this project
diff --git a/src/localisation/main.js b/src/localisation/main.js
index 134b301..f4827d2 100644
--- a/src/localisation/main.js
+++ b/src/localisation/main.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import ru from "./ru";
import en from "./en";
import es from "./es";
diff --git a/src/localisation/ru.js b/src/localisation/ru.js
index 34e1308..f1effd2 100644
--- a/src/localisation/ru.js
+++ b/src/localisation/ru.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
let ru = {
about_md: (await (await fetch("localisation/ru/about.md")).text()) || "",
Notes: "Заметки",
diff --git a/src/localisation/zh.js b/src/localisation/zh.js
index 7d4ec48..efc456a 100644
--- a/src/localisation/zh.js
+++ b/src/localisation/zh.js
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
//translated with Google Translate
//if you want to help with translations, please contribute to this project
diff --git a/src/main.jsx b/src/main.jsx
index 9a01ed4..dad614e 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
diff --git a/src/pages/create.jsx b/src/pages/create.jsx
index 956aa44..bba2d0b 100644
--- a/src/pages/create.jsx
+++ b/src/pages/create.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { ButtonWithIcon } from "../components/button";
import {
ChevronDoubleRightIcon,
diff --git a/src/pages/note.jsx b/src/pages/note.jsx
index 2b95ea2..81ddc0c 100644
--- a/src/pages/note.jsx
+++ b/src/pages/note.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { useParams } from "react-router-dom";
import { ChevronDoubleLeftIcon, TrashIcon } from "@heroicons/react/24/outline";
import { ButtonWithIcon } from "../components/button";
diff --git a/src/pages/notes.jsx b/src/pages/notes.jsx
index d110afc..4c3e80a 100644
--- a/src/pages/notes.jsx
+++ b/src/pages/notes.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { ButtonWithIcon } from "../components/button";
import { ChevronDoubleRightIcon } from "@heroicons/react/24/outline";
import { printDate } from "../components/utils";
diff --git a/src/pages/pubError.jsx b/src/pages/pubError.jsx
index 1f4e3c4..c3ed039 100644
--- a/src/pages/pubError.jsx
+++ b/src/pages/pubError.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { printDate } from "../components/utils";
import { ChevronDoubleLeftIcon } from "@heroicons/react/24/outline";
import { ButtonWithIcon } from "../components/button";
diff --git a/src/pages/pubNote.jsx b/src/pages/pubNote.jsx
index f42c2da..59fc0f7 100644
--- a/src/pages/pubNote.jsx
+++ b/src/pages/pubNote.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import RenderMarkdown from "../components/markdown";
import { useState } from "react";
import { Navigate, useParams } from "react-router-dom";
diff --git a/src/pages/pubNoteSafe.jsx b/src/pages/pubNoteSafe.jsx
index fd11849..a954237 100644
--- a/src/pages/pubNoteSafe.jsx
+++ b/src/pages/pubNoteSafe.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { useState } from "react";
import { useParams } from "react-router-dom";
import { ChevronDoubleLeftIcon } from "@heroicons/react/24/outline";
diff --git a/src/pages/publish.jsx b/src/pages/publish.jsx
index 2e68814..ef5c68f 100644
--- a/src/pages/publish.jsx
+++ b/src/pages/publish.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { useEffect } from "react";
import { useNavigate } from "react-router-dom";
diff --git a/src/pages/save-local.jsx b/src/pages/save-local.jsx
index 45a0546..1b2b423 100644
--- a/src/pages/save-local.jsx
+++ b/src/pages/save-local.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import { Navigate } from "react-router-dom";
import { printDate } from "../components/utils";
diff --git a/src/pages/settings.jsx b/src/pages/settings.jsx
index d90d7f5..77cc0eb 100644
--- a/src/pages/settings.jsx
+++ b/src/pages/settings.jsx
@@ -1,3 +1,20 @@
+/*
+ Copyright (c) 2023 artegoser (Artemy Egorov)
+
+ 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 .
+ */
+
import {
SettingsCheckBox,
SettingsTextInput,