Merge branch 'main' into jan-539-restructure-docs

This commit is contained in:
Daniel 2023-11-05 19:49:20 +07:00
commit 0312150235
2 changed files with 18 additions and 24 deletions

View File

@ -12,41 +12,35 @@ import {
CpuChipIcon, CpuChipIcon,
ClipboardDocumentIcon, ClipboardDocumentIcon,
CubeTransparentIcon, CubeTransparentIcon,
ComputerDesktopIcon,
FolderPlusIcon,
} from "@heroicons/react/24/outline"; } from "@heroicons/react/24/outline";
import ThemedImage from "@theme/ThemedImage"; import ThemedImage from "@theme/ThemedImage";
const features = [ const features = [
{ {
name: "1 Click Installs.", name: "Personal AI that runs on your computer",
desc: "Llama2, MPT, CodeLlama, and more. 1 click to install the latest and greatest models directly from HuggingFace. Or easily upload your own models.", desc: "Jan runs directly on your local machine, offering privacy, convenience and customizability.",
icon: CursorArrowRaysIcon, icon: ComputerDesktopIcon,
}, },
{ {
name: "Model Management.", name: "Private and offline, your data never leaves your machine",
desc: "Configure advanced settings for each model. Manage your model versions. Easily switch between models. Get visibility into hardware performance.", desc: "Your conversations and data are with an AI that runs on your computer, where only you have access.",
icon: CubeTransparentIcon,
},
{
name: "Cloud AI Compatible.",
desc: "Connect to ChatGPT, Claude via an API key. Alternatively, host your own AI server on any GPU cloud and use it from the app.",
icon: CloudArrowUpIcon,
},
{
name: "Data Security and Privacy.",
desc: "Jan runs locally on your machine. Your data never leaves your computer. You can even run Jan offline.",
icon: ShieldCheckIcon, icon: ShieldCheckIcon,
}, },
{ {
name: "Cross Device Compatible.", name: "No subscription fees, the AI runs on your computer",
desc: "Jan runs Nitro, a C++ inference engine, that is compatible with all major operating systems (CPU and GPU).", desc: "Say goodbye to monthly subscriptions or usage-based APIs. Jan runs 100% free on your own hardware.",
icon: CpuChipIcon, icon: CubeTransparentIcon,
}, },
{ {
name: "Audit & compliance.", name: "Extendable via App and Plugin framework",
desc: "Coming soon.", desc: "Jan has a versatile app and plugin framework, allowing you to customize it to your needs.",
icon: ClipboardDocumentIcon, icon: FolderPlusIcon
}, },
]; ];
export default function Home() { export default function Home() {
@ -135,13 +129,13 @@ export default function Home() {
</div> </div>
</div> </div>
<div className="container mt-10 mb-20 text-center"> <div className="container mt-10 mb-20 px-48 text-center">
<h2>AI that you control</h2> <h2>AI that you control</h2>
<p className="text-base mt-2 w-full lg:w-2/5 mx-auto leading-relaxed"> <p className="text-base mt-2 w-full lg:w-2/5 mx-auto leading-relaxed">
Jan runs Large Language Models locally on Windows, Mac and Linux. Jan runs Large Language Models locally on Windows, Mac and Linux.
Available on Desktop and Cloud-Native. Available on Desktop and Cloud-Native.
</p> </p>
<div className="grid text-left lg:grid-cols-3 mt-16 gap-8"> <div className="grid text-left lg:grid-cols-2 mt-16 gap-16">
{features.map((feat, i) => { {features.map((feat, i) => {
return ( return (
<div className="flex gap-x-4" key={i}> <div className="flex gap-x-4" key={i}>

View File

@ -21,7 +21,7 @@
"downloadnitro:win-cpu": "NITRO_VERSION=$(cat ./nitro/version.txt) && download https://github.com/janhq/nitro/releases/download/v${NITRO_VERSION}/nitro-${NITRO_VERSION}-win-amd64.zip -e --strip 1 -o ./nitro/win-cpu", "downloadnitro:win-cpu": "NITRO_VERSION=$(cat ./nitro/version.txt) && download https://github.com/janhq/nitro/releases/download/v${NITRO_VERSION}/nitro-${NITRO_VERSION}-win-amd64.zip -e --strip 1 -o ./nitro/win-cpu",
"downloadnitro:win-cuda": "NITRO_VERSION=$(cat ./nitro/version.txt) && download https://github.com/janhq/nitro/releases/download/v${NITRO_VERSION}/nitro-${NITRO_VERSION}-win-amd64-cuda.zip -e --strip 1 -o ./nitro/win-cuda", "downloadnitro:win-cuda": "NITRO_VERSION=$(cat ./nitro/version.txt) && download https://github.com/janhq/nitro/releases/download/v${NITRO_VERSION}/nitro-${NITRO_VERSION}-win-amd64-cuda.zip -e --strip 1 -o ./nitro/win-cuda",
"postinstall": "rimraf *.tgz --glob && npm run build && npm run downloadnitro:linux-cpu && npm run downloadnitro:linux-cuda && npm run downloadnitro:mac-arm64 && npm run downloadnitro:mac-x64 && npm run downloadnitro:win-cpu && npm run downloadnitro:win-cuda && rimraf dist/nitro/* && cpx \"nitro/**\" \"dist/nitro\"", "postinstall": "rimraf *.tgz --glob && npm run build && npm run downloadnitro:linux-cpu && npm run downloadnitro:linux-cuda && npm run downloadnitro:mac-arm64 && npm run downloadnitro:mac-x64 && npm run downloadnitro:win-cpu && npm run downloadnitro:win-cuda && rimraf dist/nitro/* && cpx \"nitro/**\" \"dist/nitro\"",
"postinstall:dev": "rimraf *.tgz --glob && npm run build && npm run downloadnitro:mac-arm64 && rimraf dist/nitro/* && cpx \"nitro/**\" \"dist/nitro\"", "postinstall:dev": "rimraf *.tgz --glob && npm run build && npm run downloadnitro:mac-arm64 && npm run downloadnitro:mac-x64 && rimraf dist/nitro/* && cpx \"nitro/**\" \"dist/nitro\"",
"build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install" "build:publish": "npm pack && cpx *.tgz ../../electron/core/pre-install"
}, },
"exports": { "exports": {