This is a .NET implementation of the REST API of FOSSology.
FOSSology is a open source license compliance software system. It is used to analyze source code and to determine licenses, copyrights and other keywords within the given source code. More information about FOSSology can be found here
- Fossology.Rest.Dotnet - The REST API implementation.
- Fossology.Rest.Dotnet.Model - The object model.
- Fossology.Rest.Dotnet.Test - Unit tests.
FossyApiDemo - A simple .Net 6 WinForms based demo application.
- Read https://www.fossology.org/get-started/basic-rest-api-calls/ and https://github.com/fossology/fossology/wiki/FOSSology-REST-API
- Open Swagger editor at http://editor.swagger.io/
- Load FOSSology API description from https://raw.githubusercontent.com/fossology/fossology/master/src/www/ui/api/documentation/openapi.yaml
- Modify in the editor the server URL so match your instance
- Use the access token generated by FOSSology to authorize Swagger to access your FOSSology instance.
- Install Docker for Windows
- Switch to Linux Containers
- Open a PowerShell window and run
docker pull fossology/fossology
- Start FOSSology via the command
docker run -p 8081:80 fossology/fossology
- Open the following URL in a browser:
http://localhost:8081/repo/ - Login via the admin account
user =
fossy
, pwd =fossy
- Start the demo application and create a token
- Optionally create a folder and upload a package
Copyright (C) 2019-2024 T. Graf
Licensed under the MIT License (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
For an up-to-date CycloneDX SBOM, please have a look at the SBOM folder.