Skip to content

Commit c0e5d53

Browse files
committed
added github pages
1 parent 606f164 commit c0e5d53

File tree

4 files changed

+118
-49
lines changed

4 files changed

+118
-49
lines changed

.github/workflows/pages.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy Jekyll site to Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Setup Pages
24+
uses: actions/configure-pages@v4
25+
- name: Build with Jekyll
26+
uses: actions/jekyll-build-pages@v1
27+
with:
28+
source: ./docs
29+
destination: ./_site
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
32+
33+
deploy:
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
37+
runs-on: ubuntu-latest
38+
needs: build
39+
steps:
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

.github/workflows/windows-installer.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: SmallTextPad
2+
description: A lightweight Java text editor with encryption and multi-language support
3+
theme: jekyll-theme-cayman
4+
show_downloads: true
5+
github:
6+
repository_url: https://github.com/gcclinux/smalltextpad

docs/index.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
layout: default
3+
title: SmallTextPad
4+
---
5+
6+
# SmallTextPad
7+
8+
A lightweight Java text editor with encryption and multi-language support.
9+
10+
## Features
11+
12+
- Simple text editing with undo/redo
13+
- File encryption (.sstp format)
14+
- Multi-language support (English, Dutch, Polish, Portuguese)
15+
- Cross-platform (Java 21+)
16+
- Print support
17+
- File history tracking
18+
19+
## Download
20+
21+
[Latest Release](https://github.com/gcclinux/smalltextpad/releases/latest)
22+
23+
### Available Packages
24+
25+
- **Snap**: `sudo snap install smalltextpad`
26+
- **DEB**: Download from releases
27+
- **RPM**: Download from releases
28+
- **JAR**: Universal Java package
29+
30+
## Installation
31+
32+
### Requirements
33+
- Java 21 or higher
34+
35+
### Snap (Linux)
36+
```bash
37+
sudo snap install smalltextpad
38+
```
39+
40+
### DEB (Debian/Ubuntu)
41+
```bash
42+
sudo dpkg -i smalltextpad_1.5.0_amd64.deb
43+
```
44+
45+
### RPM (Fedora/RHEL)
46+
```bash
47+
sudo rpm -ivh smalltextpad-1.5.0-1.noarch.rpm
48+
```
49+
50+
### JAR (All platforms)
51+
```bash
52+
java -jar SmallTextPad.jar
53+
```
54+
55+
## Screenshots
56+
57+
![Language Selector](../screenshots/languages.png)
58+
![Encrypted File](../screenshots/encrypted.png)
59+
![History Picker](../screenshots/history-picker.png)
60+
61+
## Support
62+
63+
[![Discussions](https://img.shields.io/badge/💬_Join_Discussions-GitHub-blue?style=for-the-badge)](https://github.com/gcclinux/smalltextpad/discussions)
64+
[![Issues](https://img.shields.io/badge/🐛_Report_Issues-GitHub-red?style=for-the-badge)](https://github.com/gcclinux/smalltextpad/issues)
65+
[![Sponsor](https://img.shields.io/badge/💖_Sponsor-GitHub-pink?style=for-the-badge)](https://github.com/sponsors/gcclinux)
66+
[![Buy Me A Coffee](https://img.shields.io/badge/☕_Buy_Me_A_Coffee-Support-yellow?style=for-the-badge)](https://www.buymeacoffee.com/gcclinux)
67+
68+
## License
69+
70+
MIT License - See [LICENSE](https://github.com/gcclinux/smalltextpad/blob/main/LICENSE)

0 commit comments

Comments
 (0)