Skip to content

Commit

Permalink
added AppImage download button
Browse files Browse the repository at this point in the history
  • Loading branch information
manfred-kaiser committed Oct 31, 2023
1 parent 611e8fb commit 1efe9cc
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
</a>
<p align="center">ssh man-in-the-middle (ssh-mitm) server for security audits supporting<br> <b>publickey authentication</b>, <b>session hijacking</b> and <b>file manipulation</b></p>
<p align="center">
<a href='https://flathub.org/apps/at.ssh_mitm.server'><img height='56' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
<a href="https://snapcraft.io/ssh-mitm">
<img height='56' alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" />
</a>
<a href="https://github.com/ssh-mitm/ssh-mitm/releases/latest/download/ssh-mitm-x86_64.AppImage"><img height='56' alt='Download as an AppImage' src='https://docs.appimage.org/_images/download-appimage-banner.svg'/></a>
&nbsp;&nbsp;&nbsp;
<a href="https://flathub.org/apps/at.ssh_mitm.server"><img height='56' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
&nbsp;&nbsp;&nbsp;
<a href="https://snapcraft.io/ssh-mitm"><img height='56' alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" /></a>
<br />
<br />
<a href="https://docs.ssh-mitm.at"><img src="https://read-the-docs-guidelines.readthedocs-hosted.com/_downloads/d9606423d87d78fcceae4ee2af883b12/logo-wordmark-dark.png" title="read the docs" width="256"></a>
Expand Down
22 changes: 11 additions & 11 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ The first step to using any software package is getting it properly installed.

To install SSH-MITM, simply run one of those commands in your terminal of choice:

:fas:`cog` AppImage
-------------------

If you use the ``AppImage``, you can install it as:

.. code:: none
$ wget https://github.com/ssh-mitm/ssh-mitm/releases/latest/download/ssh-mitm-x86_64.AppImage
$ chmod +x ssh-mitm*.AppImage
:fab:`linux` Flatpak
--------------------

Expand All @@ -52,17 +63,6 @@ If you use ``snap``, you can install it with:
$ sudo snap install ssh-mitm
:fas:`cog` AppImage
-------------------

If you use the ``AppImage``, you can install it as:

.. code:: none
$ wget https://github.com/ssh-mitm/ssh-mitm/releases/latest/download/ssh-mitm-x86_64.AppImage
$ chmod +x ssh-mitm*.AppImage
:fab:`python` pip
------------------

Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ check = [
"mypy sshmitm",
]

[tool.hatch.envs.docs]
detached = false

[tool.hatch.envs.docs.scripts]
build = [
"pip install -r doc/requirements.txt",
"sphinx-apidoc -T -e -M -d 1 -o doc/api sshmitm",
"sphinx-build doc build/html",
]

[tool.hatch.envs.appimage]
detached = false

Expand Down

0 comments on commit 1efe9cc

Please sign in to comment.