From 9e7de659907425460b96f4eec7c94c41e6f97f37 Mon Sep 17 00:00:00 2001
From: Minh141120
Date: Fri, 15 Aug 2025 00:04:20 +0700
Subject: [PATCH] refactor: flathub submission
---
ai.menlo.jan.desktop | 9 -------
ai.menlo.jan.metainfo.xml | 42 ---------------------------------
flatpak/ai.jan.Jan.metainfo.xml | 16 +++++++------
flatpak/flathub.json | 3 +++
4 files changed, 12 insertions(+), 58 deletions(-)
delete mode 100644 ai.menlo.jan.desktop
delete mode 100644 ai.menlo.jan.metainfo.xml
create mode 100644 flatpak/flathub.json
diff --git a/ai.menlo.jan.desktop b/ai.menlo.jan.desktop
deleted file mode 100644
index 779bffb27..000000000
--- a/ai.menlo.jan.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Jan
-Comment=Local AI Assistant that runs 100% offline
-Exec=run.sh
-Icon=ai.menlo.jan
-Type=Application
-Categories=Development;
-Keywords=AI;Assistant;LLM;ChatGPT;Local;Offline;
-StartupNotify=true
\ No newline at end of file
diff --git a/ai.menlo.jan.metainfo.xml b/ai.menlo.jan.metainfo.xml
deleted file mode 100644
index ba17914e9..000000000
--- a/ai.menlo.jan.metainfo.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
- ai.menlo.jan
- FSFAP
- AGPL-3.0-only
- Jan
- Local AI Assistant that runs 100% offline on your device
-
-
-
- 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.
-
- Features:
-
- - Model Library with popular LLMs like Llama, Gemma, Mistral, or Qwen
- - Connect to Remote AI APIs like Groq and OpenRouter
- - Local API Server with OpenAI-equivalent API
- - Extensions for customizing Jan
-
-
-
- ai.menlo.jan.desktop
-
-
-
- https://catalog.jan.ai/flatpak/demo.gif
-
-
-
- https://jan.ai/
- https://github.com/menloresearch/jan/issues
-
-
-
-
-
-
- Latest stable release of Jan AI
-
-
-
-
\ No newline at end of file
diff --git a/flatpak/ai.jan.Jan.metainfo.xml b/flatpak/ai.jan.Jan.metainfo.xml
index 510eb5633..6c144f6d7 100644
--- a/flatpak/ai.jan.Jan.metainfo.xml
+++ b/flatpak/ai.jan.Jan.metainfo.xml
@@ -2,7 +2,7 @@
ai.jan.Jan
FSFAP
- AGPL-3.0-only
+ Apache-2.0
Menlo Research
Jan
ai.jan.Jan
@@ -19,10 +19,12 @@
Features:
- - Model Library with popular LLMs like Llama, Gemma, Mistral, or Qwen
- - Connect to Remote AI APIs like Groq and OpenRouter
- - Local API Server with OpenAI-equivalent API
- - Extensions for customizing Jan
+ - Local AI Models: Download and run large language models like Llama, Gemma, and Qwen directly from Hugging Face. All models run locally on your device.
+ - Cloud Integration: Connect to cloud providers such as OpenAI, Anthropic, Gemini, and Groq when needed. Easily switch between local and cloud models
+ - Custom Assistants: Set up specialized AI assistants for different tasks, such as writing, summarizing, or coding. Customize their tone and behavior.
+ - OpenAI-Compatible API: Jan includes a local API server (localhost:1337) that works with tools and plugins expecting OpenAI’s API format.
+ - Model Context Protocol (MCP): Supports MCP to improve context handling and interactions across larger or more complex tasks.
+ - Privacy First: Jan runs fully offline by default. Your data never leaves your device unless you enable cloud connections.
ai.jan.Jan.desktop
@@ -33,12 +35,12 @@
https://jan.ai/
-https://github.com/janhq/jan/issues
+https://github.com/menloresearch/jan/issues
-
+
Latest stable release of Jan AI
diff --git a/flatpak/flathub.json b/flatpak/flathub.json
new file mode 100644
index 000000000..c82de06e0
--- /dev/null
+++ b/flatpak/flathub.json
@@ -0,0 +1,3 @@
+{
+ "only-arches": ["x86_64"]
+}
\ No newline at end of file