New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add io.httpie.HTTPie (HTTPie Desktop App) #3978
Changes from all commits
c367a19
15a8a0a
2f8eb2d
1f0c5c6
64d01c8
13fd151
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="desktop"> | ||
<id>io.httpie.HTTPie</id> | ||
<launchable type="desktop-id">io.httpie.HTTPie.desktop</launchable> | ||
<name>HTTPie</name> | ||
<developer_name>HTTPie</developer_name> | ||
<summary>Cross-platform API testing client for Humans</summary> | ||
<project_license>LicenseRef-proprietary</project_license> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<url type="homepage">https://httpie.io/desktop/</url> | ||
<url type="bugtracker">https://github.com/httpie/desktop/issues</url> | ||
<description> | ||
<p> | ||
HTTPie is cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs. | ||
</p> | ||
</description> | ||
<screenshots> | ||
<screenshot> | ||
<image type="source"> | ||
https://raw.githubusercontent.com/httpie/desktop/master/.github/httpie-desktop.png | ||
</image> | ||
</screenshot> | ||
</screenshots> | ||
<content_rating type="oars-1.1" /> | ||
<releases> | ||
<release version="2023.1.2" date="2023-01-27"/> | ||
</releases> | ||
</component> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
app-id: io.httpie.HTTPie | ||
runtime: org.freedesktop.Platform | ||
runtime-version: '22.08' | ||
sdk: org.freedesktop.Sdk | ||
base: org.electronjs.Electron2.BaseApp | ||
base-version: '22.08' | ||
separate-locales: false | ||
tags: | ||
- proprietary | ||
command: httpie-desktop | ||
rename-icon: httpie | ||
rename-desktop-file: httpie.desktop | ||
finish-args: | ||
- --socket=x11 | ||
- --share=network | ||
varbhat marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- --share=ipc | ||
modules: | ||
- name: unappimage | ||
buildsystem: simple | ||
build-commands: | ||
- make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} install INSTALL_DIR=/app/bin | ||
sources: | ||
- type: git | ||
url: https://github.com/refi64/unappimage | ||
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a | ||
- name: httpie | ||
buildsystem: simple | ||
build-commands: | ||
- unappimage httpie.AppImage | ||
- rm httpie.AppImage | ||
|
||
- install -Dm755 httpie.sh /app/bin/httpie-desktop | ||
- install -dm755 /app/share/applications | ||
- desktop-file-edit --set-key=Exec --set-value="httpie-desktop %U" squashfs-root/httpie.desktop | ||
- install -Dm644 squashfs-root/httpie.desktop -t /app/share/applications | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/512x512/apps/httpie.png | ||
-t /app/share/icons/hicolor/512x512/apps | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/256x256/apps/httpie.png | ||
-t /app/share/icons/hicolor/256x256/apps | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/128x128/apps/httpie.png | ||
-t /app/share/icons/hicolor/128x128/apps | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/64x64/apps/httpie.png | ||
-t /app/share/icons/hicolor/64x64/apps | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/32x32/apps/httpie.png | ||
-t /app/share/icons/hicolor/32x32/apps | ||
- install -Dm644 squashfs-root/usr/share/icons/hicolor/16x16/apps/httpie.png | ||
-t /app/share/icons/hicolor/16x16/apps | ||
|
||
- install -Dm644 io.httpie.HTTPie.appdata.xml -t /app/share/metainfo/ | ||
- mv squashfs-root /app/main/ | ||
sources: | ||
- type: file | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs to use extra-data as it's proprietary. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @barthalion , There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
dest-filename: httpie.AppImage | ||
only-arches: | ||
- x86_64 | ||
url: https://github.com/httpie/desktop/releases/download/v2023.1.2/HTTPie-2023.1.2.AppImage | ||
sha256: 5eb2ec0e5d4865966ed32ffc3891b90f40215134cb01b6590ef07c467c23d6b5 | ||
x-checker-data: | ||
type: json | ||
url: https://api.github.com/repos/httpie/desktop/releases | ||
version-query: map(select(.prerelease == false)) | map(select(.tag_name | startswith("v"))) | first | .tag_name | sub("v"; "") | ||
timestamp-query: map(select(.prerelease == false)) | map(select(.tag_name | startswith("v"))) | first | .published_at | ||
url-query: '"https://github.com/httpie/desktop/releases/download/v"+ $version + "/HTTPie-" + $version + ".AppImage"' | ||
- type: file | ||
dest-filename: httpie.AppImage | ||
only-arches: | ||
- aarch64 | ||
url: https://github.com/httpie/desktop/releases/download/v2023.1.2/HTTPie-2023.1.2-arm64.AppImage | ||
sha256: 5376827848dcedec97295493bfeeaedb6c18e73b1cf6625bb2a2ea8208fb2a6c | ||
x-checker-data: | ||
type: json | ||
url: https://api.github.com/repos/httpie/desktop/releases | ||
version-query: map(select(.prerelease == false)) | map(select(.tag_name | startswith("v"))) | first | .tag_name | sub("v"; "") | ||
timestamp-query: map(select(.prerelease == false)) | map(select(.tag_name | startswith("v"))) | first | .published_at | ||
url-query: '"https://github.com/httpie/desktop/releases/download/v"+ $version + "/HTTPie-" + $version + "-arm64.AppImage"' | ||
- type: script | ||
dest-filename: httpie.sh | ||
commands: | ||
# Share a TMPDIR, so that multiple instance can figure out there's | ||
# already one running. | ||
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID" | ||
# This script is required to work around a lack of SUID sandbox helper: | ||
- exec zypak-wrapper /app/main/httpie "$@" | ||
- type: file | ||
path: io.httpie.HTTPie.appdata.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unable to find any mentions of the actual licence for this app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Author plans to Open Source it in Future. But, right now,it's proprietary.
httpie/desktop#32