Skip to content

Commit f723865

Browse files
committed
feat(upload): first working version
1 parent 10ff7e2 commit f723865

File tree

10 files changed

+1355
-1
lines changed

10 files changed

+1355
-1
lines changed

.env.example

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Example .env for Local Codebase Analyzer
2+
# Copy to .env and edit values
3+
4+
# Local repo to analyze
5+
LOCAL_PATH=/path/to/your/local/repo
6+
7+
# Optional: path to virtualenv (if provided)
8+
VENV_PATH=/path/to/your/.venv
9+
10+
# External OpenAI-compatible endpoints (or leave blank to rely on env)
11+
API_URL=https://api.regolo.ai/v1/
12+
13+
# API key to use with the external endpoints
14+
API_KEY=sk-REPLACE_ME
15+
16+
# SQLite DB path
17+
DATABASE_PATH=codebase.db
18+
19+
# Max file size (bytes) to index / embed
20+
MAX_FILE_SIZE=200000
21+
22+
# Models: set the model names / identifiers your provider expects
23+
# e.g. for embeddings: text-embedding-3-small or other provider model id
24+
EMBEDDING_MODEL=text-embedding-3-small
25+
26+
# Model used for coding / generation (provider model id)
27+
CODING_MODEL=gpt-4o-code-preview
28+
29+
# Uvicorn server configuration
30+
# Host (default 127.0.0.1) and port (default 8000) used when launching uvicorn
31+
UVICORN_HOST=127.0.0.1
32+
UVICORN_PORT=8080

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.env
2+
.venv
3+
codebase.*
4+
picocode.egg-info
5+
uv.lock
6+
__pycache__

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![License](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)
22
```markdown
3-
# PicoCode - Local Codebase Analyzer
3+
# PicoCode - Local Codebase Assistant
44

55
Are you looking for a simple way to asks question to your codebase using the inference provider you want without to be locked to a specific service?
66
This tool is a way to achieve this!

0 commit comments

Comments
 (0)