Getting Started
Quick Start
Get started with actsense in minutes. This guide will help you set up and run your first security audit.
Prerequisites
Before you begin, ensure you have:
- Docker and Docker Compose (for Docker installation) OR
- Python 3.12+ installed (for manual installation)
- Node.js 16+ and npm installed (for manual installation)
- Git (optional, for repository cloning)
Installation
Option 1: Docker (Recommended) 🐳
The easiest way to get started with actsense is using Docker. This method bundles both the backend and frontend into a single container.
Quick Start:
docker compose up --buildThen visit http://localhost:8000 in your browser.
With GitHub Token (for higher rate limits):
GITHUB_TOKEN=ghp_your_token_here docker compose up --buildWhat Docker provides:
- ✅ No need to install Python or Node.js locally
- ✅ All dependencies pre-configured
- ✅ Consistent environment across different systems
- ✅ Data persistence (saved analyses stored in
./datadirectory) - ✅ Easy updates (just rebuild the container)
Stopping the container:
docker compose downViewing logs:
docker compose logs -fOption 2: Quick Setup Script
If you prefer to run actsense locally without Docker:
./setup.shThis script will:
- Check prerequisites (Python, Node.js, npm, Git)
- Create Python virtual environment
- Install backend dependencies
- Install frontend dependencies
- Create necessary data directories
Option 3: Manual Installation
Backend Setup:
cd backend
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtFrontend Setup:
cd frontend
npm installRunning actsense
Docker (Recommended)
If you installed using Docker:
docker compose upThe application will be available at http://localhost:8000.
Development Mode (Local Installation)
Use the integrated development script:
./start.shThis will:
- Build the frontend
- Start the backend server on port 8000
- Serve the frontend on port 3000
Manual Start (Local Installation)
Terminal 1 - Backend:
cd backend
source venv/bin/activate
uvicorn main:app --reloadTerminal 2 - Frontend:
cd frontend
npm run devFirst Audit
- Open your browser to:
http://localhost:8000(Docker or production)http://localhost:3000(development mode)
- Enter a repository (e.g.,
actions/checkout) or action reference (e.g.,actions/checkout@v3) - Optionally provide a GitHub token for higher rate limits
- Click “Audit” to analyze
- View results in the interactive graph or table views
GitHub Token (Optional)
A GitHub Personal Access Token increases rate limits from 60/hour to 5,000/hour.
Create a token with public_repo scope (or repo for private repos).
For Docker:
GITHUB_TOKEN=ghp_your_token_here docker compose upFor Local Installation: Enter the token in the web interface when prompted, or set it as an environment variable.
Next Steps
- Explore vulnerability documentation to understand security issues
- Check out the usage guide to learn about all features
- Review installation guide for advanced setup