MCPcopy Index your code
hub / github.com/Trendyol/wolfichef

github.com/Trendyol/wolfichef @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
53 symbols 147 edges 23 files 0 documented · 0% updated 9mo ago★ 43
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WolfiChef

WolfiChef

WolfiChef is an open-source application that allows users to create secure base images using packages from the Wolfi OS. This application takes basic information such as registry URL, image name, and image tag from the user and builds Docker images with customizable additional options.

Screenshot

Features

  • User-friendly interface for easy usage
  • Building base images with packages from the Wolfi OS APK library
  • Optional customization options during the image creation process
  • Advanced security and package management
  • Gitlab Registry Integration
  • Static Presets to easily create images
  • Check vulnerabilities of generated images with Trivy

Getting Started

These instructions will guide you to clone and set up the project on a local machine for development and testing purposes. To use a released version, follow the instructions under the "Usage" section.

Requirements

  • Node.js and yarn (To manage project dependencies for the frontend)
  • Golang (To run the backend server)

Frontend Installation

  1. Clone frontend repository to your local machine:
git clone https://github.com/trendyol/wolfichef-fe.git
  1. Navigate to the frontend directory:
cd wolfichef-fe
  1. Install the dependencies:
yarn 
  1. Start the frontend application:
yarn run dev

The frontend application should now be running at http://localhost:5713.

Backend Installation

  1. Clone backend repository to your local machine:
git clone https://github.com/trendyol/wolfichef.git
  1. Navigate to the backend directory:
cd wolfichef
  1. Create a new config.yml file by copying the config.sample.yml:
cp configs/config.sample.yml configs/config.yml 
  1. Open the config.yml file and fill in the necessary information, such as API keys, database credentials, and any other configurations required for your environment.
  2. Build the Golang binary:
go build -gccgoflags "-s -w" -o wolfichef
  1. Start the backend server:
./wolfichef

The backend server should now be running at http://localhost:8000.

Usage

  1. After starting both the frontend and backend applications, open http://localhost:5713 in your web browser.

  2. Enter the required information: Registry URL, Image Name, and Image Tag.

  3. Customize optional settings such as the current working directory, entrypoint, and environments, if needed.

  4. Select the desired package from the Wolfi OS APK library.

  5. Click on the "Build Image" button to create the secure base image.

Contributing

We welcome contributions to improve the WolfiChef. To contribute, please follow these steps:

  1. Fork the repository.

  2. Create your feature branch.

  3. Open a pull request with a detailed description of the changes.

License

This project is licensed under the MIT License.

Extension points exported contracts — how you extend this code

ParameterOption (FuncType)
(no doc)
internal/config/models/parameters/parameter.go

Core symbols most depended-on inside this repo

NewContext
called by 2
internal/builder/main.go
Build
called by 2
internal/builder/main.go
Publish
called by 2
internal/builder/main.go
Generate
called by 2
internal/config/generator.go
BuildOptions
called by 2
internal/config/options.go
WithPackages
called by 2
internal/config/models/parameters/parameter.go
GenerateRandomString
called by 2
api/utils/random.go
Scan
called by 1
internal/trivy/main.go

Shape

Function 25
Struct 15
Method 11
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

internal/config/models/parameters/parameter.go9 symbols
internal/trivy/main.go6 symbols
internal/builder/main.go6 symbols
api/controllers/gitlab.go5 symbols
internal/index/main.go3 symbols
api/config/server.go3 symbols
cmd/main.go2 symbols
api/models/builder.go2 symbols
api/middleware/identifier.go2 symbols
api/controllers/wolfi.go2 symbols
api/config/app.go2 symbols
main.go1 symbols

For agents

$ claude mcp add wolfichef \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact