first commit
Some checks failed
GitHub Actions Build and Deploy mein-techstack / build-deploy (push) Failing after 41s
Some checks failed
GitHub Actions Build and Deploy mein-techstack / build-deploy (push) Failing after 41s
This commit is contained in:
commit
ad63e109c6
18 changed files with 683 additions and 0 deletions
3
.gitea/FUNDING.yml
Normal file
3
.gitea/FUNDING.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ko_fi: stiebke
|
||||||
|
buy_me_a_coffee: stiebke
|
||||||
|
custom: ["https://www.paypal.me/stiebke", "https://stephan.hadan.de/sponsor"]
|
44
.gitea/ISSUE_TEMPLATE/NEW_ADDITION_TO_LIST.yml
Normal file
44
.gitea/ISSUE_TEMPLATE/NEW_ADDITION_TO_LIST.yml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: 🎉 Addition to list
|
||||||
|
description: Suggest an addition to this list.
|
||||||
|
title: '🎉 Add <App Name>'
|
||||||
|
labels: ['addition']
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
NOTE: Each discrete (stand-alone) request should be in its own issue.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 🪩 Provide a link to the proposed addition
|
||||||
|
description: Place link here.
|
||||||
|
placeholder: |
|
||||||
|
https://git.hadan-it.com/stiebke/techstack.hadan.de
|
||||||
|
https://git.hadan-it.com/stiebke/techstack.hadan.de
|
||||||
|
https://git.hadan-it.com/stiebke/techstack.hadan.de
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 😳 Explain why it should be added
|
||||||
|
description: A clear and concise description of why it should be added to this list.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 📖 Additional context
|
||||||
|
description: Add any other context or screenshots about the feature request here.
|
||||||
|
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: 🧨 Issue Checklist
|
||||||
|
description: Put an x in the boxes once you've completed each step. You can also fill these out after creating the issue. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before responding to the issue.
|
||||||
|
options:
|
||||||
|
- label: I have checked for other similar issues
|
||||||
|
- label: I have explained why this change is important
|
||||||
|
- label: I have added necessary documentation (if appropriate)
|
||||||
|
validations:
|
||||||
|
required: true
|
21
.gitea/ISSUE_TEMPLATE/REMOVE_ITEM_FROM_LIST.yml
Normal file
21
.gitea/ISSUE_TEMPLATE/REMOVE_ITEM_FROM_LIST.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: 🗑 Removal from list
|
||||||
|
description: Suggest a removal from this list.
|
||||||
|
title: '🗑 Remove <App Name>'
|
||||||
|
labels: ['removal']
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
NOTE: Each discrete (stand-alone) request should be in its own issue.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 😳 Explain why it should be removed
|
||||||
|
description: A clear and concise description of why it should be removed from this list.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 📖 Additional context
|
||||||
|
description: Add any other context or screenshots about the feature request here.
|
48
.gitea/ISSUE_TEMPLATE/bug_report.yml
Normal file
48
.gitea/ISSUE_TEMPLATE/bug_report.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
name: 🐞 Bug Report
|
||||||
|
description: File a report when something goes wrong so it can get fixed!
|
||||||
|
title: '🐞 Bug Report: xxx.md'
|
||||||
|
labels: ['bug']
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
NOTE: Each discrete (stand-alone) request should be in its own issue.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 🐞 Describe the bug
|
||||||
|
description: A clear and concise description of what the bug is.
|
||||||
|
placeholder: ex. xxxx
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 📖 Expected behavior
|
||||||
|
description: A clear and concise description of what you expected to happen.
|
||||||
|
placeholder: ex. xxxx
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 🌅 Screenshots
|
||||||
|
description: If applicable, add screenshots to help explain your problem.
|
||||||
|
placeholder: ex. xxxx
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: "💻 Desktop"
|
||||||
|
placeholder: ex. `MacOS 13.0.1`
|
44
.gitea/ISSUE_TEMPLATE/feature_request.yml
Normal file
44
.gitea/ISSUE_TEMPLATE/feature_request.yml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: 🐝 Feature request
|
||||||
|
description: Suggest a feature for this project
|
||||||
|
title: '🐝 Feature request'
|
||||||
|
labels: ['help wanted']
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
NOTE: Each discrete (stand-alone) request should be in its own issue.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Is your feature request related to a problem? Please describe.
|
||||||
|
description: A clear and concise description of what the problem is.
|
||||||
|
placeholder: Ex. I'm always frustrated when [...]
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Describe the solution you'd like
|
||||||
|
description: A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Describe alternatives you've considered
|
||||||
|
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 📖 Additional contex
|
||||||
|
description: Add any other context or screenshots about the feature request here.
|
||||||
|
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: 🧨 Issue Checklist
|
||||||
|
description: Put an x in the boxes once you've completed each step. You can also fill these out after creating the issue. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before responding to the issue.
|
||||||
|
options:
|
||||||
|
- label: I have checked for other similar issues
|
||||||
|
- label: I have explained why this change is important
|
||||||
|
- label: I have added necessary documentation (if appropriate)
|
||||||
|
validations:
|
||||||
|
required: true
|
31
.gitea/workflows/ci.yml
Normal file
31
.gitea/workflows/ci.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: GitHub Actions Build and Deploy mein-techstack
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run build
|
||||||
|
# - run: npm run create:ast
|
||||||
|
- name: Create private key
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||||
|
chmod 600 /tmp/act_runner_key
|
||||||
|
- name: rsync public directory
|
||||||
|
run: |
|
||||||
|
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/dist/* root@vps03.hadan-it.com:/data/webspace/techstack.hadan.de/
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
|
31
.gitea/workflows/develop.yml
Normal file
31
.gitea/workflows/develop.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: GitHub Actions Build and Deploy mein-techstack
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
jobs:
|
||||||
|
build-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run build
|
||||||
|
# - run: npm run create:ast
|
||||||
|
- name: Create private key
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||||
|
chmod 600 /tmp/act_runner_key
|
||||||
|
- name: rsync public directory
|
||||||
|
run: |
|
||||||
|
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/dist/* root@vps03.hadan-it.com:/data/webspace/techstack.hadan.preview.de/
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
|
18
.gitignore
vendored
Normal file
18
.gitignore
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
node_modules/
|
||||||
|
dist/*.html
|
||||||
|
dist/*.json
|
||||||
|
dist
|
||||||
|
npm-debug.log*
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
.cache
|
||||||
|
.rdoc-dist
|
||||||
|
.vscode
|
||||||
|
|
||||||
|
*.bak
|
||||||
|
*.tem
|
||||||
|
*.temp
|
||||||
|
#.swp
|
||||||
|
*.*~
|
||||||
|
~*.*
|
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# https://lipanski.com/posts/smallest-docker-image-static-website
|
||||||
|
# https://github.com/lipanski/docker-static-website
|
||||||
|
FROM lipanski/docker-static-website:latest
|
||||||
|
|
||||||
|
# Copy the static website
|
||||||
|
# Use the .dockerignore file to control what ends up inside the image!
|
||||||
|
COPY ./dist .
|
116
LICENSE
Normal file
116
LICENSE
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
CC0 1.0 Universal
|
||||||
|
|
||||||
|
Statement of Purpose
|
||||||
|
|
||||||
|
The laws of most jurisdictions throughout the world automatically confer
|
||||||
|
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||||
|
subsequent owner(s) (each and all, an "owner") of an original work of
|
||||||
|
authorship and/or a database (each, a "Work").
|
||||||
|
|
||||||
|
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||||
|
purpose of contributing to a commons of creative, cultural and scientific
|
||||||
|
works ("Commons") that the public can reliably and without fear of later
|
||||||
|
claims of infringement build upon, modify, incorporate in other works, reuse
|
||||||
|
and redistribute as freely as possible in any form whatsoever and for any
|
||||||
|
purposes, including without limitation commercial purposes. These owners may
|
||||||
|
contribute to the Commons to promote the ideal of a free culture and the
|
||||||
|
further production of creative, cultural and scientific works, or to gain
|
||||||
|
reputation or greater distribution for their Work in part through the use and
|
||||||
|
efforts of others.
|
||||||
|
|
||||||
|
For these and/or other purposes and motivations, and without any expectation
|
||||||
|
of additional consideration or compensation, the person associating CC0 with a
|
||||||
|
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
||||||
|
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
||||||
|
and publicly distribute the Work under its terms, with knowledge of his or her
|
||||||
|
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||||
|
effect of CC0 on those rights.
|
||||||
|
|
||||||
|
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||||
|
protected by copyright and related or neighboring rights ("Copyright and
|
||||||
|
Related Rights"). Copyright and Related Rights include, but are not limited
|
||||||
|
to, the following:
|
||||||
|
|
||||||
|
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||||
|
and translate a Work;
|
||||||
|
|
||||||
|
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||||
|
|
||||||
|
iii. publicity and privacy rights pertaining to a person's image or likeness
|
||||||
|
depicted in a Work;
|
||||||
|
|
||||||
|
iv. rights protecting against unfair competition in regards to a Work,
|
||||||
|
subject to the limitations in paragraph 4(a), below;
|
||||||
|
|
||||||
|
v. rights protecting the extraction, dissemination, use and reuse of data in
|
||||||
|
a Work;
|
||||||
|
|
||||||
|
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||||
|
European Parliament and of the Council of 11 March 1996 on the legal
|
||||||
|
protection of databases, and under any national implementation thereof,
|
||||||
|
including any amended or successor version of such directive); and
|
||||||
|
|
||||||
|
vii. other similar, equivalent or corresponding rights throughout the world
|
||||||
|
based on applicable law or treaty, and any national implementations thereof.
|
||||||
|
|
||||||
|
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||||
|
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||||
|
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
||||||
|
and Related Rights and associated claims and causes of action, whether now
|
||||||
|
known or unknown (including existing as well as future claims and causes of
|
||||||
|
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||||
|
duration provided by applicable law or treaty (including future time
|
||||||
|
extensions), (iii) in any current or future medium and for any number of
|
||||||
|
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||||
|
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
||||||
|
the Waiver for the benefit of each member of the public at large and to the
|
||||||
|
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
||||||
|
shall not be subject to revocation, rescission, cancellation, termination, or
|
||||||
|
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
||||||
|
by the public as contemplated by Affirmer's express Statement of Purpose.
|
||||||
|
|
||||||
|
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||||
|
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||||
|
shall be preserved to the maximum extent permitted taking into account
|
||||||
|
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
||||||
|
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
||||||
|
non transferable, non sublicensable, non exclusive, irrevocable and
|
||||||
|
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
||||||
|
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
||||||
|
provided by applicable law or treaty (including future time extensions), (iii)
|
||||||
|
in any current or future medium and for any number of copies, and (iv) for any
|
||||||
|
purpose whatsoever, including without limitation commercial, advertising or
|
||||||
|
promotional purposes (the "License"). The License shall be deemed effective as
|
||||||
|
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
||||||
|
License for any reason be judged legally invalid or ineffective under
|
||||||
|
applicable law, such partial invalidity or ineffectiveness shall not
|
||||||
|
invalidate the remainder of the License, and in such case Affirmer hereby
|
||||||
|
affirms that he or she will not (i) exercise any of his or her remaining
|
||||||
|
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
||||||
|
and causes of action with respect to the Work, in either case contrary to
|
||||||
|
Affirmer's express Statement of Purpose.
|
||||||
|
|
||||||
|
4. Limitations and Disclaimers.
|
||||||
|
|
||||||
|
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||||
|
surrendered, licensed or otherwise affected by this document.
|
||||||
|
|
||||||
|
b. Affirmer offers the Work as-is and makes no representations or warranties
|
||||||
|
of any kind concerning the Work, express, implied, statutory or otherwise,
|
||||||
|
including without limitation warranties of title, merchantability, fitness
|
||||||
|
for a particular purpose, non infringement, or the absence of latent or
|
||||||
|
other defects, accuracy, or the present or absence of errors, whether or not
|
||||||
|
discoverable, all to the greatest extent permissible under applicable law.
|
||||||
|
|
||||||
|
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||||
|
that may apply to the Work or any use thereof, including without limitation
|
||||||
|
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
||||||
|
disclaims responsibility for obtaining any necessary consents, permissions
|
||||||
|
or other rights required for any use of the Work.
|
||||||
|
|
||||||
|
d. Affirmer understands and acknowledges that Creative Commons is not a
|
||||||
|
party to this document and has no duty or obligation with respect to this
|
||||||
|
CC0 or use of the Work.
|
||||||
|
|
||||||
|
For more information, please see
|
||||||
|
<http://creativecommons.org/publicdomain/zero/1.0/>
|
52
README.md
Executable file
52
README.md
Executable file
|
@ -0,0 +1,52 @@
|
||||||
|
Mein Techstack
|
||||||
|
===
|
||||||
|
<!--rehype:style=font-size: 38px; border-bottom: 0; display: flex; min-height: 260px; align-items: center; justify-content: center;-->
|
||||||
|
|
||||||
|
<!--rehype:style=text-align: center;-->
|
||||||
|
Eine Übersicht über die von mir eingesetzten Tools, Betriebsysteme, Sprachen und Anwendungen.
|
||||||
|
|
||||||
|
<!--idoc:ignore:start-->
|
||||||
|
|
||||||
|
## Inhalte
|
||||||
|
|
||||||
|
- [Mein Techstack](#mein-techstack)
|
||||||
|
- [Inhalte](#inhalte)
|
||||||
|
- [Betriebsysteme](#betriebsysteme)
|
||||||
|
- [Linux](#text-editors)
|
||||||
|
- [Microsoft Windows](#microsoft-windows)
|
||||||
|
- [Sonstige Betriebsysteme](#sonstige-betriebsysteme)
|
||||||
|
- [License](#license)
|
||||||
|
|
||||||
|
<!--start-->
|
||||||
|
<!--idoc:ignore:end-->
|
||||||
|
|
||||||
|
## Betriebsysteme
|
||||||
|
|
||||||
|
Ein **Betriebssystem**, auch **OS** (von englisch *operating system*) genannt, ist eine Zusammenstellung von Computerprogrammen, die die Systemressourcen eines Computers wie Arbeitsspeicher, Festplatten, Ein- und Ausgabegeräte verwaltet und diese Anwendungsprogrammen zur Verfügung stellt.
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
|
* [AlmaLinux](https://almalinux.org/) - **AlmaLinux** ist eine freie Linux-Distribution, die auf Red Hat Enterprise Linux (RHEL) des Unternehmens Red Hat aufbaut und dazu binärkompatibel ist.
|
||||||
|
* [CentOS Stream](https://centos.org) - CentOS Stream ist eine auf RHEL basierende Distribution. Es handelt sich dabei um eine Art Beta-Version mit täglichen Updates („Rolling-Releases“), die aktueller als die entsprechende RHEL-Version ist.
|
||||||
|
* [Debian](https://www.debian.org) - **Debian** ist ein gemeinschaftlich entwickeltes freies Betriebssystem. **Debian GNU/Linux** basiert auf den grundlegenden Systemwerkzeugen des GNU-Projektes sowie dem Linux-Kernel.
|
||||||
|
* [Fedora](https://fedoraproject.org) - **Fedora** ist eine RPM-basierte Linux-Distribution.
|
||||||
|
* [Rocky Linux](https://rockylinux.org) - **Rocky Linux** ist eine Linux-Distribution, die auf Red Hat Enterprise Linux basiert.
|
||||||
|
* [Ubuntu](https://ubuntu.com) - **Ubuntu**, auch Ubuntu Linux, ist eine GNU/Linux-Distribution, die auf Debian basiert.
|
||||||
|
|
||||||
|
### Microsoft Windows
|
||||||
|
|
||||||
|
* [Windows](https://www.microsoft.com/de-de/windows/windows-11?r=1) - **Windows** ist ein Betriebsystem für eine Workstation oder ein Tablet für Privatanwender oder Unternehmen.
|
||||||
|
* [Windows Server](https://www.microsoft.com/de-de/windows-server) - **Windows Server** ist eine Reihe von Windows-Betriebssystemen der NT-Linie speziell für Server.
|
||||||
|
|
||||||
|
### Sonstige Betriebsysteme
|
||||||
|
|
||||||
|
* [macOS](https://www.apple.com/de/macos/) - Das Betriebssystem **macOS**, früher **Mac OS X** und **OS X**, ist das Betriebssystem des kalifornischen Hard- und Software-Unternehmens Apple für Laptop- und Desktop-Computer der Mac-Reihe.
|
||||||
|
|
||||||
|
## Lizenz
|
||||||
|
|
||||||
|
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://techstack.hadan.de">Mein Techstack</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://stephan.hadan.de">Stephan Hadan</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Creative Commons Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""></a></p>
|
||||||
|
|
||||||
|
<!--idoc:config:
|
||||||
|
title: Mein Techstack -
|
||||||
|
description: Eine Übersicht über die von mir eingesetzten Tools, Betriebsysteme, Sprachen und Anwendungen - Mein Techstack
|
||||||
|
-->
|
124
build/ast.mjs
Normal file
124
build/ast.mjs
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
import { toVFile } from 'to-vfile'
|
||||||
|
import { remark } from 'remark'
|
||||||
|
import gfm from 'remark-gfm'
|
||||||
|
import FS from 'fs-extra'
|
||||||
|
|
||||||
|
const getHeadingText = (arr = [], title = '') => {
|
||||||
|
arr.forEach(child => {
|
||||||
|
title += child.value
|
||||||
|
if (child.children && Array.isArray(child.children)) {
|
||||||
|
title += getHeadingText(child.children, title)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
const getSoftwareName = (obj, result = { title: '' }) => {
|
||||||
|
if (obj.value) {
|
||||||
|
result.title += obj.value
|
||||||
|
}
|
||||||
|
if (obj.url) {
|
||||||
|
result.url = obj.url
|
||||||
|
}
|
||||||
|
if (obj.type === 'delete') {
|
||||||
|
result.delete = true
|
||||||
|
}
|
||||||
|
if (obj.children && Array.isArray(obj.children)) {
|
||||||
|
obj.children.forEach(child => {
|
||||||
|
result = getSoftwareName(child, result)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return result
|
||||||
|
}
|
||||||
|
|
||||||
|
const getIconDetail = (data, url = '') => {
|
||||||
|
if (data.type === 'imageReference' && data.identifier && /^(freeware\s+icon|oss\s+icon|app-store\s+icon|awesome-list\s+icon)/.test(data.identifier.toLocaleLowerCase())) {
|
||||||
|
let type = ''
|
||||||
|
if (/^(freeware\s+icon)/.test(data.identifier.toLocaleLowerCase())) {
|
||||||
|
type = 'freeware'
|
||||||
|
}
|
||||||
|
if (/^(oss\s+icon)/.test(data.identifier.toLocaleLowerCase())) {
|
||||||
|
type = 'oss'
|
||||||
|
}
|
||||||
|
if (/^(app-store\s+icon)/.test(data.identifier.toLocaleLowerCase())) {
|
||||||
|
type = 'app-store'
|
||||||
|
}
|
||||||
|
if (/^(awesome-list\s+icon)/.test(data.identifier.toLocaleLowerCase())) {
|
||||||
|
type = 'awesome-list'
|
||||||
|
}
|
||||||
|
return { type, url }
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ```markdown
|
||||||
|
* * [Atom](https://atom.io) - xxxxxxx. [![Open-Source Software][OSS Icon]](https://xxx) ![Freeware][Freeware Icon] [![Awesome List][awesome-list Icon]](https://xxx)
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
const getMarkIcons = (arr = [], parent = {}) => {
|
||||||
|
let mark = { icons: [] }
|
||||||
|
if (arr && Array.isArray(arr) && arr[1] && arr[1].type === 'text' && /^([\s]+)?-\s/.test(arr[1].value)) {
|
||||||
|
mark = { ...mark, ...getSoftwareName(arr[0]) }
|
||||||
|
arr = arr.filter(child => {
|
||||||
|
const data = getIconDetail(child)
|
||||||
|
if (data) {
|
||||||
|
mark.icons.push(data)
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if (child.type === 'link' && child.children && Array.isArray(child.children)) {
|
||||||
|
const childArr = child.children.filter(d => getIconDetail(d))
|
||||||
|
if (childArr.length > 0) {
|
||||||
|
childArr.forEach((item) => {
|
||||||
|
mark.icons.push(getIconDetail(item, child.url))
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (child.type === 'text' && child.value.replace(/\s/g, '') === '') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return { children: [...arr], mark: { ...mark } }
|
||||||
|
}
|
||||||
|
|
||||||
|
const getMdToAST = (data = [], parent = {}) => {
|
||||||
|
data = data.map((child) => {
|
||||||
|
if (child.position) {
|
||||||
|
delete child.position
|
||||||
|
if (child.type === 'listItem') {
|
||||||
|
delete child.checked
|
||||||
|
delete child.spread;
|
||||||
|
}
|
||||||
|
if (child.type === 'paragraph' && parent.type === 'listItem') {
|
||||||
|
const result = getMarkIcons(child.children, child)
|
||||||
|
child = { ...child, ...result }
|
||||||
|
}
|
||||||
|
if (child.type === 'heading') {
|
||||||
|
child.value = getHeadingText(child.children)
|
||||||
|
delete child.children
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (child.children && Array.isArray(child.children)) {
|
||||||
|
child.children = getMdToAST(child.children, child)
|
||||||
|
}
|
||||||
|
return child
|
||||||
|
})
|
||||||
|
return data
|
||||||
|
}
|
||||||
|
|
||||||
|
remark()
|
||||||
|
.use(gfm)
|
||||||
|
.use(() => (tree) => {
|
||||||
|
const startIndex = tree.children.findIndex(item => item.type === 'html' && /<!--start-->/.test(item.value))
|
||||||
|
const endIndex = tree.children.findIndex(item => item.type === 'html' && /<!--end-->/.test(item.value))
|
||||||
|
const data = tree.children.slice(startIndex + 1, endIndex)
|
||||||
|
const dataAST = getMdToAST([...data])
|
||||||
|
FS.outputJsonSync('./dist/mein-techstack.json', dataAST)
|
||||||
|
console.log(' create file: \x1b[32;1m ./dist/mein-techstack.json \x1b[0m');
|
||||||
|
})
|
||||||
|
.processSync(toVFile.readSync('README.md'))
|
||||||
|
|
||||||
|
|
30
docs/ISSUE_TEMPLATE.md
Normal file
30
docs/ISSUE_TEMPLATE.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
NOTE: A similar issue may already be submitted! Please search among the issues before creating a new one.
|
||||||
|
NOTE: Each discrete (stand-alone) request should be in its own issue.
|
||||||
|
|
||||||
|
### Types of Changes
|
||||||
|
|
||||||
|
**What types of change are you thinking about?** Put an x in all boxes that apply
|
||||||
|
|
||||||
|
- [ ] New addition to list
|
||||||
|
- [ ] Fixing bug in existing item in list
|
||||||
|
- [ ] Removing item from list
|
||||||
|
- [ ] Changing structure (organization) of list
|
||||||
|
|
||||||
|
### Proposed Changes
|
||||||
|
|
||||||
|
**Describe each of your changes here to communicate to the maintainers why we should accept this pull request.**
|
||||||
|
|
||||||
|
1. If you're adding something to the list, be sure to explain why it should be added.
|
||||||
|
1. If you're fixing a bug or resolving a feature request, be sure to link to that issue.
|
||||||
|
|
||||||
|
### Issue Checklist
|
||||||
|
|
||||||
|
Put an x in the boxes once you've completed each step. You can also fill these out after creating the issue. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before responding to the issue.
|
||||||
|
|
||||||
|
- [ ] I have checked for other similar issues
|
||||||
|
- [ ] I have explained why this change is important
|
||||||
|
- [ ] I have added necessary documentation (if appropriate)
|
||||||
|
|
||||||
|
### Further Comments
|
||||||
|
|
||||||
|
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
|
29
docs/PULL_REQUEST_TEMPLATE.md
Normal file
29
docs/PULL_REQUEST_TEMPLATE.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
NOTE: A similar PR may already be submitted! Please search among the Pull request before creating one.
|
||||||
|
|
||||||
|
### Types of Changes
|
||||||
|
|
||||||
|
**What types of changes does your PR introduce?** Put an x in all boxes that apply
|
||||||
|
|
||||||
|
- [ ] New addition to list
|
||||||
|
- [ ] Fixing bug in existing item in list
|
||||||
|
- [ ] Removing item from list
|
||||||
|
- [ ] Changing structure (organization) of list
|
||||||
|
|
||||||
|
### Proposed Changes
|
||||||
|
|
||||||
|
**Describe each of your changes here to communicate to the maintainers why we should accept this pull request.**
|
||||||
|
|
||||||
|
1. If you're adding something to the list, be sure to explain why it should be added.
|
||||||
|
1. If you're fixing a bug or resolving a feature request, be sure to link to that issue.
|
||||||
|
|
||||||
|
### PR Checklist
|
||||||
|
|
||||||
|
Put an x in the boxes once you've completed each step. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
|
||||||
|
|
||||||
|
- [ ] I have read the CONTRIBUTING guide
|
||||||
|
- [ ] I have explained why this PR is important
|
||||||
|
- [ ] I have added necessary documentation (if appropriate)
|
||||||
|
|
||||||
|
### Further Comments
|
||||||
|
|
||||||
|
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
|
25
idoc.yml
Normal file
25
idoc.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
site: Mein Techstack
|
||||||
|
|
||||||
|
description: Eine Übersicht über die von mir eingesetzten Tools, Betriebsysteme, Sprachen und Anwendungen - Mein Techstack.
|
||||||
|
keywords: techstack, linux, macos, macosx, osx, windows, software, apps, programming
|
||||||
|
|
||||||
|
favicon: ./logo.png
|
||||||
|
logo: ./logo.png
|
||||||
|
|
||||||
|
dir: ./doc
|
||||||
|
|
||||||
|
menus:
|
||||||
|
Home: index.html
|
||||||
|
Zurück Über Stephan Hadan:
|
||||||
|
url: https://stephan.hadan.de
|
||||||
|
target: __blank
|
||||||
|
Link-failure berichten:
|
||||||
|
url: https://git.hadan-it.com/
|
||||||
|
target: __blank
|
||||||
|
|
||||||
|
|
||||||
|
#sideEffectFiles:
|
||||||
|
# - editor-plugin.md
|
||||||
|
|
||||||
|
footer: |
|
||||||
|
Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v{{idocVersion}}
|
BIN
logo.png
Normal file
BIN
logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 323 KiB |
44
package.json
Normal file
44
package.json
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
"name": "mein-techstack",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": " This repo is a collection of awesome Mac applications and tools for developers and designers. ",
|
||||||
|
"homepage": "https://techstack.hadan.de",
|
||||||
|
"funding": "https://git.hadan-it.com/",
|
||||||
|
"main": "dist/mein-techstack.json",
|
||||||
|
"scripts": {
|
||||||
|
"start": "npm run build && npm run create:ast",
|
||||||
|
"doc": "idoc --watch",
|
||||||
|
"build": "idoc",
|
||||||
|
"create:ast": "node build/ast.mjs"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.hadan-it.com/stiebke/techstack.hadan.de.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"techstack",
|
||||||
|
"linux",
|
||||||
|
"macos",
|
||||||
|
"macosx",
|
||||||
|
"osx",
|
||||||
|
"windows",
|
||||||
|
"software",
|
||||||
|
"apps",
|
||||||
|
"programming"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"dist/mein-techstack.json"
|
||||||
|
],
|
||||||
|
"author": "Stephan Hadan <stephan@hadan.de>",
|
||||||
|
"license": "CC-BY-SA-4.0",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://git.hadan-it.com/stiebke/techstack.hadan.de/issues"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"fs-extra": "^11.3.0",
|
||||||
|
"idoc": "^1.34.1",
|
||||||
|
"remark": "^15.0.1",
|
||||||
|
"remark-gfm": "^4.0.0",
|
||||||
|
"to-vfile": "^7.2.4"
|
||||||
|
}
|
||||||
|
}
|
16
renovate.json
Normal file
16
renovate.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchUpdateTypes": [
|
||||||
|
"minor",
|
||||||
|
"patch",
|
||||||
|
"pin",
|
||||||
|
"digest"
|
||||||
|
],
|
||||||
|
"automerge": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue