Skip to content

Commit ca3e214

Browse files
Initial Commit
0 parents  commit ca3e214

File tree

83 files changed

+8666
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8666
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Site
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
name: Deploy
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Setup Node
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: "20"
17+
18+
- name: Install Node Dependencies
19+
run: npm install
20+
21+
- name: Build Website
22+
run: npm run docs:build

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release Site
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_branch:
7+
type: string
8+
description: 'Branch to release'
9+
required: true
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
name: Deploy
15+
environment: production
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
ref: ${{ github.event.inputs.release_branch }}
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: "20"
26+
27+
- name: Install Node Dependencies
28+
run: npm install
29+
30+
- name: Build Website
31+
run: npm run docs:build
32+
33+
- name: Deploy to cloudflare pages
34+
uses: cloudflare/wrangler-action@v3
35+
with:
36+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
37+
command: pages deploy .vitepress/dist --project-name="docs-flexpilot-ai"
38+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/coverage
2+
/src/client/shared.ts
3+
/src/node/shared.ts
4+
*.log
5+
*.tgz
6+
.DS_Store
7+
.idea
8+
.temp
9+
.vite_opt_cache
10+
dist
11+
cache
12+
temp
13+
examples-temp
14+
node_modules
15+
pnpm-global
16+
TODOs.md
17+
*.timestamp-*.mjs

.vitepress/config.mts

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
import { defineConfig } from "vitepress";
2+
import tailwindcss from "@tailwindcss/vite";
3+
4+
// https://vitepress.dev/reference/site-config
5+
export default defineConfig({
6+
title: "Flexpilot IDE - Open-Source AI Native IDE",
7+
lastUpdated: true,
8+
appearance: true,
9+
sitemap: {
10+
hostname: "https://flexpilot.ai",
11+
},
12+
vite: {
13+
plugins: tailwindcss(),
14+
},
15+
description:
16+
"An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.",
17+
head: [
18+
[
19+
"script",
20+
{
21+
async: "",
22+
src: "https://www.googletagmanager.com/gtag/js?id=G-VXH6LXCQ53",
23+
},
24+
],
25+
[
26+
"script",
27+
{},
28+
`
29+
window.dataLayer = window.dataLayer || [];
30+
function gtag(){dataLayer.push(arguments);}
31+
gtag('js', new Date());
32+
gtag('config', 'G-VXH6LXCQ53');
33+
`,
34+
],
35+
[
36+
"meta",
37+
{
38+
property: "title",
39+
content: "Flexpilot IDE - Open-Source AI Native IDE",
40+
},
41+
],
42+
[
43+
"meta",
44+
{
45+
property: "description",
46+
content:
47+
"An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.",
48+
},
49+
],
50+
[
51+
"meta",
52+
{
53+
property: "keywords",
54+
content:
55+
"Visual Studio Code, AI Coding Assistant, Open Source, GitHub Copilot Alternative, Cursor Alternative, Free Coding Assistant",
56+
},
57+
],
58+
["meta", { property: "http-equiv", content: "Content-Type" }],
59+
["meta", { property: "language", content: "English" }],
60+
["meta", { property: "revisit-after", content: "1 days" }],
61+
["meta", { property: "author", content: "flexpilot.ai" }],
62+
["meta", { property: "og:type", content: "website" }],
63+
["meta", { property: "og:url", content: "https://flexpilot.ai/" }],
64+
[
65+
"meta",
66+
{
67+
property: "og:title",
68+
content: "Flexpilot IDE - Open-Source AI Native IDE",
69+
},
70+
],
71+
[
72+
"meta",
73+
{
74+
property: "og:description",
75+
content:
76+
"An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.",
77+
},
78+
],
79+
[
80+
"meta",
81+
{
82+
property: "og:image",
83+
content: "https://flexpilot.ai/flexpilot-logo.png",
84+
},
85+
],
86+
["meta", { property: "twitter:card", content: "summary_large_image" }],
87+
[
88+
"meta",
89+
{ property: "twitter:url", content: "https://flexpilot.ai/" },
90+
],
91+
[
92+
"meta",
93+
{
94+
property: "twitter:title",
95+
content: "Flexpilot IDE - Open-Source AI Native IDE",
96+
},
97+
],
98+
[
99+
"meta",
100+
{
101+
property: "twitter:description",
102+
content:
103+
"An open-source, free, AI-native, privacy-first IDE, forked from VS Code, offering the flexibility to bring your own keys for the LLMs of your choice.",
104+
},
105+
],
106+
[
107+
"meta",
108+
{
109+
property: "twitter:image",
110+
content: "https://flexpilot.ai/flexpilot-logo.png",
111+
},
112+
],
113+
[
114+
"link",
115+
{
116+
rel: "icon",
117+
type: "image/png",
118+
sizes: "96x96",
119+
href: "/favicon-96x96.png",
120+
},
121+
],
122+
[
123+
"link",
124+
{
125+
rel: "icon",
126+
type: "image/svg+xml",
127+
href: "/favicon.svg",
128+
},
129+
],
130+
[
131+
"link",
132+
{
133+
rel: "shortcut icon",
134+
href: "/favicon.ico",
135+
},
136+
],
137+
[
138+
"link",
139+
{
140+
rel: "apple-touch-icon",
141+
sizes: "180x180",
142+
href: "/apple-touch-icon.png",
143+
},
144+
],
145+
[
146+
"meta",
147+
{
148+
name: "apple-mobile-web-app-title",
149+
content: "Flexpilot IDE",
150+
},
151+
],
152+
[
153+
"link",
154+
{
155+
rel: "manifest",
156+
href: "/site.webmanifest",
157+
},
158+
],
159+
],
160+
themeConfig: {
161+
search: {
162+
provider: 'algolia',
163+
options: {
164+
appId: 'NZP20C20EL',
165+
apiKey: '258fc660cfba40209e4bf782f912e762',
166+
indexName: 'flexpilot'
167+
}
168+
},
169+
siteTitle: false,
170+
nav: [
171+
{ link: "/", text: "Home" },
172+
{ link: "/docs/getting-started", text: "Get Started" },
173+
{ link: "/docs/introduction", text: "Features" },
174+
],
175+
logo: {
176+
dark: "/logos/logo-dark.svg",
177+
light: "/logos/logo-light.svg",
178+
alt: "Flexpilot AI Logo",
179+
},
180+
sidebar: {
181+
"/": [
182+
{ text: "Introduction", link: "/docs/introduction" },
183+
{ text: "Getting Started", link: "/docs/getting-started" },
184+
{
185+
text: "Configuration",
186+
items: [
187+
{ text: "Chat", link: "/docs/configuration/chat" },
188+
{ text: "Completion", link: "/docs/configuration/completions" },
189+
],
190+
},
191+
{
192+
text: "Completion Models",
193+
items: [
194+
{ text: "Codestral", link: "/docs/completion-models/codestral" },
195+
{ text: "OpenAI Compatible", link: "/docs/completion-models/generic" },
196+
],
197+
},
198+
{
199+
text: "Chat Models",
200+
items: [
201+
{ text: "Anthropic", link: "/docs/chat-models/anthropic" },
202+
{ text: "AWS Bedrock", link: "/docs/chat-models/bedrock" },
203+
{ text: "Azure OpenAI", link: "/docs/chat-models/azure-openai" },
204+
{ text: "Cerebras", link: "/docs/chat-models/cerebras" },
205+
{ text: "Cohere", link: "/docs/chat-models/cohere" },
206+
{ text: "Google Gemini", link: "/docs/chat-models/google-gemini" },
207+
{ text: "Groq", link: "/docs/chat-models/groq" },
208+
{ text: "Mistral AI", link: "/docs/chat-models/mistral" },
209+
{ text: "OpenAI", link: "/docs/chat-models/openai" },
210+
{ text: "OpenAI Compatible", link: "/docs/chat-models/generic" },
211+
],
212+
},
213+
{ text: "IDE Settings", link: "/docs/ide-settings" },
214+
],
215+
},
216+
socialLinks: [{ icon: "github", link: "https://github.com/flexpilot-ai/flexpilot-ide" }],
217+
},
218+
});

.vitepress/theme/CustomHome.vue

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<script setup>
2+
import HeroSection from "./components/HeroSection.vue";
3+
import Features from "./components/Features.vue";
4+
import BringYourOwnModel from "./components/BringYourOwnModel.vue";
5+
import CopilotExtensionsSupport from "./components/CopilotExtensionsSupport.vue";
6+
import FaqSection from "./components/FaqSection.vue";
7+
import FooterSection from "./components/FooterSection.vue";
8+
import TryInstantlyOnline from "./components/TryInstantlyOnline.vue";
9+
import LogoGrid from "./components/LogoGrid.vue";
10+
</script>
11+
12+
<template>
13+
<div class="py-24 flex flex-col min-w-full min-h-full gap-y-36">
14+
<HeroSection />
15+
<LogoGrid />
16+
<Features />
17+
<BringYourOwnModel />
18+
<CopilotExtensionsSupport />
19+
<TryInstantlyOnline />
20+
<FaqSection />
21+
<FooterSection />
22+
</div>
23+
</template>

0 commit comments

Comments
 (0)