Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/production-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ name: Production CI
on:
push:
branches: [ main ]
paths-ignore:
- 'web/**'
- 'docs/**'
- '**.md'
pull_request:
branches: [ main ]
paths-ignore:
- 'web/**'
- 'docs/**'
- '**.md'

jobs:
test:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/web-firebase-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Deploys the website (web/) to Firebase Hosting on merge to main.
# Migrated from the get_lumo repo into this monorepo; scoped to web/ changes.
name: Deploy website to Firebase Hosting on merge
on:
push:
branches:
- main
paths:
- 'web/**'
- '.github/workflows/web-firebase-merge.yml'
jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_LUMO_CLI }}
channelId: live
projectId: lumo-cli
entryPoint: ./web
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
40 changes: 40 additions & 0 deletions .github/workflows/web-firebase-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Deploys a preview of the website (web/) to Firebase Hosting on PRs.
# Migrated from the get_lumo repo into this monorepo; scoped to web/ changes.
name: Deploy website preview to Firebase Hosting on PR
on:
pull_request:
paths:
- 'web/**'
- '.github/workflows/web-firebase-pr.yml'
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy preview to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_LUMO_CLI }}
projectId: lumo-cli
entryPoint: ./web
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Build artifacts
build/
logs/
# Compiled CLI binary at repo root
/lumo
*.deb
*.changes
*.buildinfo
Expand All @@ -20,3 +22,9 @@ debian/*.log
.gocache/
.gopath/
.gocache/

# Website (web/) artifacts
web/node_modules/
web/dist/
web/.firebase/
web/.astro/
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ nfpms:
- package_name: lumo
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
vendor: agnath18K
homepage: https://github.com/agnath18K/lumo_cli
homepage: https://github.com/agnath18K/lumo
maintainer: agnath18K <agnath18@gmail.com>
description: |
AI-powered CLI assistant
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ Lumo is an intelligent CLI assistant that interprets natural language to help yo
```bash

# Using pre-built binary (Linux)
curl -L https://github.com/agnath18K/lumo_cli/releases/download/v1.0.2/lumo_1.0.2_linux_amd64.tar.gz -o lumo.tar.gz
curl -L https://github.com/agnath18K/lumo/releases/download/v1.0.2/lumo_1.0.2_linux_amd64.tar.gz -o lumo.tar.gz
tar -xzf lumo.tar.gz
sudo mv lumo /usr/local/bin/

# Using Debian package
curl -L https://github.com/agnath18K/lumo_cli/releases/download/v1.0.2/lumo_1.0.2_amd64.deb -o lumo.deb
curl -L https://github.com/agnath18K/lumo/releases/download/v1.0.2/lumo_1.0.2_amd64.deb -o lumo.deb
sudo dpkg -i lumo.deb
```

Expand Down Expand Up @@ -109,8 +109,8 @@ Lumo is released under the [MIT License](LICENSE).
<div align="center">
<p>
<a href="https://getlumo.dev">Website</a> •
<a href="https://github.com/agnath18K/lumo_cli">GitHub</a> •
<a href="https://github.com/agnath18K/lumo_cli/issues">Issues</a>
<a href="https://github.com/agnath18K/lumo">GitHub</a> •
<a href="https://github.com/agnath18K/lumo/issues">Issues</a>
</p>

<p>Designed by <a href="https://github.com/agnath18K">agnath18</a></p>
Expand Down
6 changes: 3 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Priority: optional
Maintainer: agnath18K <agnath18@gmail.com>
Build-Depends: debhelper-compat (= 13), golang-go (>= 1.22)
Standards-Version: 4.6.0
Homepage: https://github.com/agnath18K/lumo_cli
Vcs-Browser: https://github.com/agnath18K/lumo_cli
Vcs-Git: https://github.com/agnath18K/lumo_cli.git
Homepage: https://github.com/agnath18K/lumo
Vcs-Browser: https://github.com/agnath18K/lumo
Vcs-Git: https://github.com/agnath18K/lumo.git
Rules-Requires-Root: no

Package: lumo
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lumo
Upstream-Contact: agnath18K <agnath18@gmail.com>
Source: https://github.com/agnath18K/lumo_cli
Source: https://github.com/agnath18K/lumo

Files: *
Copyright: 2024 agnath18
Expand Down
2 changes: 1 addition & 1 deletion debian/lumo.1
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Written by agnath18K <agnath18@gmail.com>.
Copyright \(co 2024 agnath18
License: MIT
.SH SEE ALSO
Full documentation at: <https://github.com/agnath18K/lumo_cli>
Full documentation at: <https://github.com/agnath18K/lumo>
2 changes: 1 addition & 1 deletion debian/watch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%lumo-$1.tar.gz%" \
https://github.com/agnath18K/lumo_cli/tags \
https://github.com/agnath18K/lumo/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz
1 change: 0 additions & 1 deletion logs/lumo_2025-05-13.log

This file was deleted.

Binary file removed lumo
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func TestConfigDefaultValues(t *testing.T) {
t.Errorf("Expected default AIProvider to be 'gemini', got '%s'", cfg.AIProvider)
}

if cfg.GeminiModel != "gemini-2.5-flash" {
t.Errorf("Expected default GeminiModel to be 'gemini-2.5-flash', got '%s'", cfg.GeminiModel)
if cfg.GeminiModel != "gemini-2.5-flash-lite" {
t.Errorf("Expected default GeminiModel to be 'gemini-2.5-flash-lite', got '%s'", cfg.GeminiModel)
}

if cfg.OpenAIModel != "gpt-3.5-turbo" {
Expand Down
5 changes: 5 additions & 0 deletions web/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "lumo-cli"
}
}
24 changes: 24 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# build output
dist/

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# jetbrains setting folder
.idea/
4 changes: 4 additions & 0 deletions web/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions web/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
29 changes: 29 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<div align="center">
<h1>🐦 Lumo</h1>
<p><b>Your AI-Powered Terminal Assistant</b></p>

<a href="https://getlumo.dev"><b>getlumo.dev</b></a>

<p>
<img src="https://img.shields.io/badge/version-1.0.1-blue.svg" alt="Version 1.0.1">
<img src="https://img.shields.io/badge/go-%3E%3D1.22-00ADD8.svg" alt="Go Version">
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License MIT">
</p>
</div>

## About

This repository contains the official documentation website for [Lumo CLI](https://github.com/agnath18K/lumo), an AI-powered terminal assistant that helps users navigate the command line more efficiently.

## Website Details

- **Purpose**: Comprehensive documentation for Lumo CLI users and developers
- **Content**: Includes guides, examples, and best practices
- **URL**: [getlumo.dev](https://getlumo.dev)

## Features

- **Interactive Examples**: Demonstrates Lumo CLI capabilities with live examples
- **Searchable Documentation**: Find specific information quickly
- **Responsive Design**: Optimized for both desktop and mobile viewing
- **Regular Updates**: Documentation is kept in sync with the latest Lumo CLI releases
13 changes: 13 additions & 0 deletions web/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// @ts-check
import { defineConfig } from 'astro/config';

import tailwind from '@astrojs/tailwind';
import react from '@astrojs/react';

// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
react()
]
});
10 changes: 10 additions & 0 deletions web/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
Loading
Loading