-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7f58b76
Showing
23 changed files
with
2,437 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: PyPI Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- name: Install dependencies | ||
run: | | ||
poetry install --no-root | ||
- name: Build and publish | ||
env: | ||
POETRY_PYPI_TOKEN: ${{ secrets.POETRY_PYPI_TOKEN }} | ||
run: | | ||
poetry version patch | ||
poetry build | ||
poetry publish --username __token__ --password $POETRY_PYPI_TOKEN | ||
- name: Commit version change | ||
run: | | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "actions@github.com" | ||
git add pyproject.toml | ||
git commit -m "Bump version to $(poetry version --short)" | ||
git push | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
# For a library or package, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# .python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# poetry | ||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. | ||
# This is especially recommended for binary packages to ensure reproducibility, and is more | ||
# commonly ignored for libraries. | ||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control | ||
#poetry.lock | ||
|
||
# pdm | ||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. | ||
#pdm.lock | ||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it | ||
# in version control. | ||
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control | ||
.pdm.toml | ||
.pdm-python | ||
.pdm-build/ | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# pytype static type analyzer | ||
.pytype/ | ||
|
||
# Cython debug symbols | ||
cython_debug/ | ||
|
||
# PyCharm | ||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can | ||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | ||
# and can be added to the global gitignore or merged into this file. For a more nuclear | ||
# option (not recommended) you can uncomment the following to ignore the entire idea folder. | ||
#.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-yaml | ||
exclude: mkdocs.yml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/python-poetry/poetry | ||
rev: "1.8.3" | ||
hooks: | ||
- id: poetry-check | ||
- repo: local | ||
hooks: | ||
- id: ruff | ||
name: ruff | ||
entry: poetry run ruff check . --fix | ||
language: system | ||
types: [python] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/Thumbs.db": true, | ||
"omnishare/__pycache__": true | ||
}, | ||
"hide-files.files": [ | ||
"omnishare/__pycache__" | ||
], | ||
"markdownlint.config": { | ||
"MD033": { | ||
"allowed_elements": [ | ||
"iframe", | ||
"a", | ||
"h1", | ||
"p", | ||
"img", | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright 2024 hyperoot.dev | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
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 OR COPYRIGHT HOLDERS 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<h1 align="center">Omnishare</h1> | ||
<p align="center"> | ||
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/HYP3R00T/Omnishare/pypi_publish.yml?style=for-the-badge&labelColor=%2324273a&color=%23b7bdf8"> | ||
<a src="https://pypi.org/project/omnishare/" target="_blank"> | ||
<img alt="Pypi versions" src="https://img.shields.io/pypi/v/omnishare?style=for-the-badge&labelColor=%2324273a&color=%23b7bdf8"> | ||
</a> | ||
</p> | ||
|
||
The `omnishare` cli tool is created to simplify posting status on various social-media platforms. | ||
|
||
### Supported Social Media Platforms | ||
|
||
- Mastodon | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
omnishare.hyperoot.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Welcome to OmniShare | ||
|
||
This page is WIP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
:root { | ||
--md-primary-fg-color: #1e2030; | ||
--md-primary-fg-color--light: #24273a; | ||
--md-primary-fg-color--dark: #181926; | ||
--md-primary-bg-color: #8aadf4; | ||
--md-primary-bg-color--light: #b7bdf8; | ||
|
||
--md-accent-fg-color: #8aadf4; | ||
--md-accent-fg-color--transparent: #8aadf41a; | ||
--md-accent-bg-color: #181926; | ||
--md-accent-bg-color--light: #1e2030; | ||
|
||
--md-hue: 226deg; | ||
|
||
--md-default-fg-color: #cad3f5; | ||
--md-default-fg-color--light: #b8c0e0; | ||
--md-default-fg-color--lighter: #939ab7; | ||
--md-default-fg-color--lightest: #6e738d; | ||
--md-default-bg-color: #181926; | ||
--md-default-bg-color--light: #1e2030; | ||
--md-default-bg-color--lighter: #24273a; | ||
--md-default-bg-color--lightest: #363a4f; | ||
|
||
--md-code-fg-color: #8aadf4; | ||
--md-code-bg-color: #1e2030; | ||
|
||
--md-code-hl-color: #8aadf4; | ||
--md-code-hl-color--light: #8aadf4; | ||
|
||
--md-code-hl-number-color: #ee99a0; | ||
--md-code-hl-special-color: #ed8796; | ||
--md-code-hl-function-color: #c6a0f6; | ||
--md-code-hl-constant-color: #f5bde6; | ||
--md-code-hl-keyword-color: #c3e0e5; | ||
--md-code-hl-string-color: #a6e3a1; | ||
--md-code-hl-name-color: #cad3f5; | ||
--md-code-hl-operator-color: #b8c0e0; | ||
--md-code-hl-punctuation-color: #b8c0e0; | ||
--md-code-hl-comment-color: #939ab7; | ||
--md-code-hl-generic-color: #939ab7; | ||
--md-code-hl-variable-color: #939ab7; | ||
|
||
--md-typeset-color: #cad3f5; | ||
|
||
--md-typeset-a-color: #8aadf4; | ||
|
||
--md-typeset-del-color: #ef535026; | ||
--md-typeset-ins-color: #47e28f26; | ||
|
||
--md-typeset-kbd-color: #1e2030; | ||
--md-typeset-kbd-accent-color: #8aadf4; | ||
--md-typeset-kbd-border-color: #24273a; | ||
|
||
--md-typeset-mark-color: #f5c2bf80; | ||
|
||
--md-typeset-table-color: #1e2030; | ||
--md-typeset-table-color--light: #24273a; | ||
|
||
--md-admonition-fg-color: #cad3f5; | ||
--md-admonition-bg-color: #181926; | ||
|
||
--md-warning-fg-color: #eed49f; | ||
--md-warning-bg-color: #f5a97f; | ||
|
||
--md-footer-fg-color: #cad3f5; | ||
--md-footer-fg-color--light: #b8c0e0; | ||
--md-footer-fg-color--lighter: #939ab7; | ||
--md-footer-bg-color: #181926; | ||
--md-footer-bg-color--dark: #1e2030; | ||
|
||
--md-shadow-z1: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1); | ||
|
||
--md-shadow-z2: 0 6px 12px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.25); | ||
|
||
--md-shadow-z3: 0 8px 14px rgba(0, 0, 0, 0.2), 0 0 3px rgba(0, 0, 0, 0.35); | ||
} | ||
|
||
.termy { | ||
--color-bg: #1e2030; | ||
--color-text: #cad3f5; | ||
--color-text-subtle: #6e738d; | ||
} | ||
|
||
.termynal-comment { | ||
color: #a6da95; | ||
} |
Oops, something went wrong.