- Ollama Integration: Supports generating SBOMs using the Ollama model runner.
- Docker Compose Support: Can be easily deployed and run using Docker Compose.
- Vue.js Frontend: Modern, responsive user interface built with Vue.js.
- Docker Model Runner (Planned): Future support for running models directly within Docker.
- ollama running locally
- Docker Docker and Docker Compose installed.
-
Clone the Repository:
git clone https://github.com/sangam14/syft-api cd syft-api
-
Build the Docker Images:
docker compose build --no-cache
-
Start the Application:
docker compose up
This tool can scan various sources to generate SBOMs:
- Docker Images: Analyze existing Docker images.
- Directories: Scan local directories for software components.
- GitHub Repositories: Generate SBOMs from GitHub repositories.
The application is available at:
- Backend API & HTML Interface: http://localhost:3000
- Vue.js Frontend (Development): http://localhost:8080
The project includes a Vue.js frontend located in the static/vue-frontend
directory.
# Navigate to the Vue.js frontend directory
cd static/vue-frontend
# Install dependencies
npm install
# Start the development server
npm run serve
# Build the Vue.js frontend
cd static/vue-frontend
npm run build
# The built files will be placed in the static/dist directory
# You can integrate them with the backend using the provided script
./build-and-integrate.sh
# Run the Vue.js frontend in development mode
cd static/vue-frontend
docker-compose up
A combined Docker Compose file is provided to run both services:
docker-compose -f docker-compose.full.yaml up
- Docker Model Runner support.
- More model support.
- More source support.
- More output formats.
Contributions to this project are welcome! Please see the CONTRIBUTING.md file for guidelines on how to contribute.