Spaces:
Sleeping
Sleeping
Add one-click GitHub Codespaces launch
Browse filesAdd devcontainer config that auto-installs deps and starts the server.
Update README with Codespaces badge and streamlined setup instructions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Files changed (2)
- .devcontainer/devcontainer.jsonAdded+20
- README.md+24-26
1234567891011121314151617181920{ "name": "Eddison Intelligence", "image": "mcr.microsoft.com/devcontainers/python:3.12", "postCreateCommand": "pip install -r backend/requirements.txt && cp -n backend/.env.example backend/.env 2>/dev/null || true", "postStartCommand": "cd backend && uvicorn server:app --host 0.0.0.0 --port 8000 &", "forwardPorts": [8000], "portsAttributes": { "8000": { "label": "Eddison Intelligence", "onAutoForward": "openBrowser" } }, "customizations": { "vscode": { "settings": { "python.defaultInterpreterPath": "/usr/local/bin/python" } } }}7 unmodified lines8910111213141536 unmodified lines525354535556555657585960615758635960656667686970616263646566676872736970757172737475767779807879808182838483848586858687888990939491929394957 unmodified lines
[How It Works](#how-it-works) · [The Problem](#the-problem) · [Our Approach](#our-approach) · [Quick Start](#quick-start) · [Tech Stack](#tech-stack)
[](https://codespaces.new/enricoxpioppi98/eddison-intelligence?quickstart=1)
---
</div>36 unmodified lines
## Quick Start
### 1. Clone and set up### One-Click (GitHub Codespaces)
```bashgit clone https://github.com/enricoxpioppi98/eddison-intelligence.gitcd eddison-intelligence/backendpython3 -m venv venvsource venv/bin/activatepip install -r requirements.txt```Click the button below to launch the app in your browser — no local setup needed:
### 2. Configure API keys[](https://codespaces.new/enricoxpioppi98/eddison-intelligence?quickstart=1)
```bashcp .env.example .env# Edit .env and add your keys:# ANTHROPIC_API_KEY=sk-ant-... (required for AI features)# PATENTSVIEW_API_KEY=... (optional, for real patent search)```The app auto-installs dependencies and opens in your browser. To add API keys:
1. Open `backend/.env` in the Codespaces editor2. Add your keys: - **Gemini** (required for AI features) — get a free key at [aistudio.google.com/apikey](https://aistudio.google.com/apikey) - **PatentsView** (optional, for real patent search) — request at [patentsview.org](https://patentsview-support.atlassian.net/servicedesk/customer/portal/1/group/1/create/18)3. Restart the server: open the terminal and run `cd backend && uvicorn server:app --host 0.0.0.0 --port 8000`
- Get an Anthropic key at [console.anthropic.com](https://console.anthropic.com/)- Request a free PatentsView key at [patentsview.org/apis/keyrequest](https://patentsview.org/apis/keyrequest)> **Demo mode**: The app works without API keys using built-in demo data for all three steps.
### 3. Run### Local Setup
```bashgit clone https://github.com/enricoxpioppi98/eddison-intelligence.gitcd eddison-intelligence/backendpython3 -m venv venvsource venv/bin/activatepython -m uvicorn server:app --port 8765 --app-dir backend# → http://localhost:8765pip install -r requirements.txtcp .env.example .env# Edit .env and add your keysuvicorn server:app --port 8000# → http://localhost:8000```
The server serves the frontend and proxies all API calls.
> **Demo mode**: If you skip the API keys, the app still works with built-in demo data for all three steps.
## Tech Stack
| Layer | Details ||-------|---------|| **Frontend** | Single-file HTML / CSS / JS — zero build step || **Backend** | Python + FastAPI — 3 API endpoints || **AI** | Claude API for keyword extraction, prior art simulation, and claim drafting || **Patent Data** | PatentsView API for real U.S. patent search (falls back to Claude when unavailable) || **AI** | Gemini API for keyword extraction, prior art simulation, and claim drafting || **Patent Data** | PatentsView API for real U.S. patent search (falls back to Gemini when unavailable) || **Design** | Dark theme · Bebas Neue + DM Sans + DM Mono typography || **Fallback** | Built-in demo data when no API keys are configured |
.devcontainer/devcontainer.jsonAdded+20
README.md+24-26