Skip to content

Commit 77691da

Browse files
committed
chore: add flathub submission
1 parent 9fb6b9f commit 77691da

File tree

5 files changed

+110
-0
lines changed

5 files changed

+110
-0
lines changed

ai.menlo.jan.desktop

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Name=Jan
3+
Comment=Local AI Assistant that runs 100% offline
4+
Exec=run.sh
5+
Icon=ai.menlo.jan
6+
Type=Application
7+
Categories=Development;
8+
Keywords=AI;Assistant;LLM;ChatGPT;Local;Offline;
9+
StartupNotify=true

ai.menlo.jan.metainfo.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>ai.menlo.jan</id>
4+
<metadata_license>FSFAP</metadata_license>
5+
<project_license>AGPL-3.0-only</project_license>
6+
<name>Jan</name>
7+
<summary>Local AI Assistant that runs 100% offline on your device</summary>
8+
9+
<description>
10+
<p>
11+
Jan is a ChatGPT-alternative that runs 100% offline on your device. Our goal is to make it easy for anyone to download and run LLMs and use AI with full control and privacy.
12+
</p>
13+
<p>Features:</p>
14+
<ul>
15+
<li>Model Library with popular LLMs like Llama, Gemma, Mistral, or Qwen</li>
16+
<li>Connect to Remote AI APIs like Groq and OpenRouter</li>
17+
<li>Local API Server with OpenAI-equivalent API</li>
18+
<li>Extensions for customizing Jan</li>
19+
</ul>
20+
</description>
21+
22+
<launchable type="desktop-id">ai.menlo.jan.desktop</launchable>
23+
24+
<screenshots>
25+
<screenshot type="default">
26+
<image>https://catalog.jan.ai/flatpak/demo.gif</image>
27+
</screenshot>
28+
</screenshots>
29+
30+
<url type="homepage">https://jan.ai/</url>
31+
<url type="bugtracker">https://github.com/janhq/jan/issues</url>
32+
33+
<content_rating type="oars-1.1" />
34+
35+
<releases>
36+
<release version="0.5.12" date="2024-01-02">
37+
<description>
38+
<p>Latest stable release of Jan AI</p>
39+
</description>
40+
</release>
41+
</releases>
42+
</component>

ai.menlo.jan.png

17.1 KB
Loading

ai.menlo.jan.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
app-id: ai.menlo.jan
2+
runtime: org.freedesktop.Platform
3+
runtime-version: '24.08'
4+
sdk: org.freedesktop.Sdk
5+
base: org.electronjs.Electron2.BaseApp
6+
base-version: '24.08'
7+
8+
sdk-extensions:
9+
- org.freedesktop.Sdk.Extension.node20
10+
11+
command: run.sh
12+
separate-locales: false
13+
14+
finish-args:
15+
- --share=ipc
16+
- --socket=x11
17+
- --socket=pulseaudio
18+
- --device=dri
19+
- --share=network
20+
- --filesystem=home
21+
- --env=ELECTRON_TRASH=gio
22+
23+
modules:
24+
- name: jan
25+
buildsystem: simple
26+
build-commands:
27+
- mkdir -p /app/bin /app/jan
28+
- chmod +x jan-linux.AppImage
29+
- ./jan-linux.AppImage --appimage-extract
30+
- mv squashfs-root/* /app/jan/
31+
- rm -rf squashfs-root jan-linux.AppImage
32+
- install -Dm755 -t /app/bin/ run.sh
33+
- install -Dm644 -t /app/share/applications/ ai.menlo.jan.desktop
34+
- install -Dm644 -t /app/share/metainfo/ ai.menlo.jan.metainfo.xml
35+
- install -Dm644 ai.menlo.jan.png /app/share/icons/hicolor/256x256/apps/ai.menlo.jan.png
36+
sources:
37+
- type: file
38+
url: https://github.com/janhq/jan/releases/download/v0.5.12/jan-linux-x86_64-0.5.12.AppImage
39+
dest-filename: jan-linux.AppImage
40+
sha256: b48ca53f954eb79df02bf29f82c2ba1e2317d1886e8893032e7d0bf5763a6894
41+
x-checker-data:
42+
type: json
43+
url: https://api.github.com/repos/janhq/jan/releases/latest
44+
version-query: .tag_name | sub("^v"; "")
45+
url-template: https://github.com/janhq/jan/releases/download/v$version/jan-linux-x86_64-$version.AppImage
46+
47+
- type: script
48+
dest-filename: run.sh
49+
commands:
50+
- zypak-wrapper.sh /app/jan/jan "$@"
51+
- type: file
52+
path: ai.menlo.jan.desktop
53+
- type: file
54+
path: ai.menlo.jan.metainfo.xml
55+
- type: file
56+
path: ai.menlo.jan.png

flathub.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"only-arches": ["x86_64"]
3+
}

0 commit comments

Comments
 (0)