From 65b57fc0b7462dddb60285d3cae0bcaa93ef4008 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 14 Feb 2026 15:20:19 +0000 Subject: [PATCH] add readme and unlicense --- README.md | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ UNLICENSE | 24 ++++++++++ 2 files changed, 153 insertions(+) create mode 100644 README.md create mode 100644 UNLICENSE diff --git a/README.md b/README.md new file mode 100644 index 0000000..b647d54 --- /dev/null +++ b/README.md @@ -0,0 +1,129 @@ +# NotePad + +A simple cross-platform text editor built with Avalonia UI and .NET 8. + +## Installation + +### Linux + +Download the latest release from the [releases page](https://repos.gmgauthier.com/gmgauthier/notepad/releases). + +#### Option 1: AppImage (Recommended) + +The AppImage is a portable, single-file executable that requires no installation. + +```bash +# Download the AppImage +wget https://repos.gmgauthier.com/gmgauthier/notepad/releases/download/v0.1.3/NotePad-v0.1.3-x86_64.AppImage + +# Make it executable +chmod +x NotePad-v0.1.3-x86_64.AppImage + +# Run it +./NotePad-v0.1.3-x86_64.AppImage +``` + +#### Option 2: System Installation (Tarball) + +For a traditional system-wide installation: + +```bash +# Download and extract +wget https://repos.gmgauthier.com/gmgauthier/notepad/releases/download/v0.1.3/notepad-v0.1.3-linux-x64.tar.gz +tar -xzf notepad-v0.1.3-linux-x64.tar.gz +cd notepad + +# Install (requires sudo) +sudo ./install.sh +``` + +This installs NotePad to `/opt/notepad` and creates: +- Command-line shortcut: `notepad` +- Desktop menu entry + +To uninstall: +```bash +sudo /opt/notepad/uninstall.sh +``` + +### Windows + +Download the latest release from the [releases page](https://repos.gmgauthier.com/gmgauthier/notepad/releases). + +```powershell +# Download the zip file +# Extract notepad-v0.1.3-win-x64.zip + +# Run NotePad.exe from the extracted folder +``` + +No installation required - just extract and run! + +## Building from Source + +### Prerequisites + +- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) +- Python 3.12+ +- (Linux only) `appimagetool` for AppImage builds + +### Build Commands + +```bash +cd NotePad + +# Build for Linux only +python3 publish.py linux + +# Build for Windows only +python3 publish.py windows + +# Build for both platforms +python3 publish.py both + +# Linux-specific package options +python3 publish.py linux appimage # AppImage only +python3 publish.py linux tarball # Tarball only +python3 publish.py linux both # Both packages +``` + +Build outputs are located in `../publish/`: +- Linux AppImage: `publish/appimage/` +- Linux Tarball: `publish/tarball/` +- Windows: `publish/win-x64/` + +## Development + +### Project Structure + +``` +NotePad/ +├── NotePad/ # Main application +│ ├── App.axaml # Application XAML +│ ├── MainWindow.axaml # Main window UI +│ ├── Program.cs # Entry point +│ └── publish.py # Build script +├── .gitea/ +│ └── workflows/ +│ └── release.yaml # CI/CD workflow +└── README.md +``` + +### Running in Development + +```bash +cd NotePad/NotePad +dotnet run +``` + +## License + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. + +For more information, please refer to + +## Author + +Greg Gauthier diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 0000000..fdddb29 --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to