Skip to content

Commit ff90df6

Browse files
authored
Merge pull request #1 from LaswitchTech/dev
General: Initial Commit
2 parents d5ad6a5 + b6775d1 commit ff90df6

File tree

122 files changed

+3255
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+3255
-1
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
; http://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[*.{yml,yaml}]
14+
indent_size = 2
15+
16+
[{vendor,inc/phpseclib}/**]
17+
; Use editor default (possible autodetection).
18+
indent_style =
19+
indent_size =
20+
end_of_line =
21+
trim_trailing_whitespace =
22+
insert_final_newline =

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: [LaswitchTech]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
### Description
11+
12+
[Description of the bug or feature]
13+
14+
### Steps to reproduce
15+
16+
1. [First Step]
17+
2. [Second Step]
18+
3. [and so on...]
19+
20+
**Expected behavior:** [What you expected to happen]
21+
22+
**Actual behavior:** [What actually happened]
23+
24+
### Versions
25+
26+
* [PHP]
27+
* [Browser]
28+
29+
### Screenshots or Logs
30+
31+
[Paste your logs or attach the screenshot]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature request
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/no-response.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Configuration for probot-no-response - https://github.com/probot/no-response
2+
3+
# Number of days of inactivity before an Issue is closed for lack of response
4+
daysUntilClose: 14
5+
# Label requiring a response
6+
responseRequiredLabel: need more info
7+
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
8+
closeComment: >
9+
This issue has been automatically closed because there has been no response
10+
to our request for more information from the original author. With only the
11+
information that is currently in the issue, we don't have enough information
12+
to take action. Please reach out if you have or find the answers we need so
13+
that we can investigate further.

.github/workflows/release.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Set Tag as Filename
18+
id: tag_name
19+
run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
20+
21+
- name: Create ZIP file
22+
run: zip -r "${{ env.TAG_NAME }}.zip" .
23+
24+
- name: Generate Changelog
25+
id: generate_changelog
26+
run: |
27+
# Find the most recent tag before the current one
28+
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^)
29+
30+
# Create a new CHANGELOG.md file with headers
31+
echo -e "# Changelog\n" > CHANGELOG.md
32+
33+
# List commit messages between the previous tag and current HEAD
34+
git log ${PREV_TAG}..HEAD --pretty=format:"* %s" >> CHANGELOG.md
35+
36+
# List unique contributors for these commits
37+
echo -e "\n\n# Contributors\n" >> CHANGELOG.md
38+
git log ${PREV_TAG}..HEAD --format='%aN' | sort -u | awk '{print "* " $0}' >> CHANGELOG.md
39+
40+
- name: Create Release
41+
id: create_release
42+
uses: actions/create-release@v1
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
45+
with:
46+
tag_name: ${{ github.ref }}
47+
release_name: Release ${{ github.ref }}
48+
draft: false
49+
prerelease: false
50+
body_path: ./CHANGELOG.md
51+
52+
- name: Upload Asset
53+
uses: actions/upload-release-asset@v1
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
56+
with:
57+
upload_url: ${{ steps.create_release.outputs.upload_url }}
58+
asset_path: ./${{ env.TAG_NAME }}.zip
59+
asset_name: source.zip
60+
asset_content_type: application/zip

.gitignore

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
# Python
2+
/build/
3+
4+
# Environments
5+
.env
6+
.venv
7+
env/
8+
venv/
9+
ENV/
10+
env.bak/
11+
venv.bak/
12+
TOKEN
13+
runtime
14+
15+
# Composer
16+
composer.phar
17+
*composer.phar
18+
/vendor/
19+
20+
# Mac OS X
21+
.DS_Store
22+
*.DS_Store
23+
24+
# Git
25+
.git
26+
27+
# Filetypes
28+
*.cfg
29+
*.log
30+
31+
# Exclude Files
32+
!/config/requirements.cfg
33+
34+
# Exclude Locales Configurations and Translations
35+
!Locale/*/*.cfg
36+
37+
# Unique Directories
38+
/tmp/
39+
/data/
40+
41+
# Apache
42+
.htaccess
43+
/webroot/
44+
45+
# Backups
46+
/backup/
47+
48+
# Example Files
49+
/example/vendor/
50+
51+
# Custom Module Files
52+
53+
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
54+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
55+
# composer.lock
56+
57+
58+
59+
60+
61+
62+
63+
64+
# Byte-compiled / optimized / DLL files
65+
__pycache__/
66+
*.py[cod]
67+
*$py.class
68+
69+
# C extensions
70+
*.so
71+
72+
# Distribution / packaging
73+
.Python
74+
build/
75+
develop-eggs/
76+
config/
77+
logs/
78+
downloads/
79+
eggs/
80+
.eggs/
81+
lib/
82+
lib64/
83+
parts/
84+
sdist/
85+
var/
86+
wheels/
87+
share/python-wheels/
88+
*.egg-info/
89+
.installed.cfg
90+
*.egg
91+
MANIFEST
92+
93+
# PyInstaller
94+
# Usually these files are written by a python script from a template
95+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
96+
*.manifest
97+
*.spec
98+
99+
# Installer logs
100+
pip-log.txt
101+
pip-delete-this-directory.txt
102+
103+
# Unit test / coverage reports
104+
htmlcov/
105+
.tox/
106+
.nox/
107+
.coverage
108+
.coverage.*
109+
.cache
110+
nosetests.xml
111+
coverage.xml
112+
*.cover
113+
*.py,cover
114+
.hypothesis/
115+
.pytest_cache/
116+
cover/
117+
118+
# Translations
119+
*.mo
120+
*.pot
121+
122+
# Django stuff:
123+
*.log
124+
local_settings.py
125+
db.sqlite3
126+
db.sqlite3-journal
127+
128+
# Flask stuff:
129+
instance/
130+
.webassets-cache
131+
132+
# Scrapy stuff:
133+
.scrapy
134+
135+
# Sphinx documentation
136+
docs/_build/
137+
138+
# PyBuilder
139+
.pybuilder/
140+
target/
141+
142+
# Jupyter Notebook
143+
.ipynb_checkpoints
144+
145+
# IPython
146+
profile_default/
147+
ipython_config.py
148+
149+
# pyenv
150+
# For a library or package, you might want to ignore these files since the code is
151+
# intended to run in multiple environments; otherwise, check them in:
152+
# .python-version
153+
154+
# pipenv
155+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
156+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
157+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
158+
# install all needed dependencies.
159+
#Pipfile.lock
160+
161+
# poetry
162+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
163+
# This is especially recommended for binary packages to ensure reproducibility, and is more
164+
# commonly ignored for libraries.
165+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
166+
#poetry.lock
167+
168+
# pdm
169+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
170+
#pdm.lock
171+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
172+
# in version control.
173+
# https://pdm.fming.dev/#use-with-ide
174+
.pdm.toml
175+
176+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
177+
__pypackages__/
178+
179+
# Celery stuff
180+
celerybeat-schedule
181+
celerybeat.pid
182+
183+
# SageMath parsed files
184+
*.sage.py

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "src/core"]
2+
path = src/core
3+
url = https://github.com/LaswitchTech/corePY.git
4+
branch = stable

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1+
<p align="center"><img src="src/icons/icon.svg" /></p>
2+
13
# thinOS
2-
This is a linux customization installation script for Debian based OS. The customizations are aimed at creating thin clients..
4+
![License](https://img.shields.io/github/license/LaswitchTech/thinOS?style=for-the-badge)
5+
![GitHub repo size](https://img.shields.io/github/repo-size/LaswitchTech/thinOS?style=for-the-badge&logo=github)
6+
![GitHub top language](https://img.shields.io/github/languages/top/LaswitchTech/thinOS?style=for-the-badge)
7+
![GitHub Downloads](https://img.shields.io/github/downloads/LaswitchTech/thinOS/total?style=for-the-badge)
8+
![Version](https://img.shields.io/github/v/release/LaswitchTech/thinOS?label=Version&style=for-the-badge)
9+
10+
## Description
11+
thinOS is a lightweight, cross-platform desktop operating system designed for efficiency and simplicity. It provides a minimalistic environment optimized for performance, making it ideal for users who require a fast and responsive system without unnecessary bloat. thinOS is built with modern technologies to ensure compatibility with a wide range of hardware while maintaining a sleek user interface.
12+
13+
## Features
14+
- **Lightweight Design**: thinOS is optimized for speed and efficiency, ensuring quick boot times and low resource consumption.
15+
- **Cross-Platform Compatibility**: Designed to run on various hardware architectures, thinOS supports a wide range of devices.
16+
- **User-Friendly Interface**: The operating system features a clean and intuitive user interface, making it easy for users to navigate and manage their system.
17+
- **Customizable Environment**: Users can tailor their thinOS experience with various themes, extensions, and configurations.
18+
- **Robust Security**: thinOS includes built-in security features to protect user data and maintain system integrity.
19+
20+
## License
21+
This software is distributed under the [GPLv3](LICENSE) license.
22+
23+
## Security
24+
Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. See [SECURITY.md](SECURITY.md) for more information.
25+
26+
## Contributing
27+
Contributions to thinOS are welcome! If you have ideas for new features or have found bugs, please open an issue or submit a pull request.
28+
29+
### How to Contribute
30+
- **Fork the Repository**: Create a fork of the repository on GitHub.
31+
- **Create a New Branch**: For new features or bug fixes, create a new branch in your fork.
32+
- **Submit a Pull Request**: Once your changes are ready, submit a pull request to the main repository.
33+
## Wait, where is the documentation?
34+
Review the [Documentation](https://laswitchtech.com/en/blog/projects/thinos/index).

SECURITY.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Security Policy
2+
3+
Security vulnerabilities can be reported for the current stable release and the `stable` branch.
4+
5+
## Reporting a Vulnerability
6+
7+
You have multiple options on reporting vulnerabilities
8+
9+
* Send an e-mail to [Support Team](mailto:support@laswitchtech.com)
10+
* Open a [Github Issue](https://github.com/LaswitchTech/thinOS/issues)

0 commit comments

Comments
 (0)