# AFFiNE license ## Motivation Find out which are the FOSS parts of AFFiNE and whether a self-hosted AFFiNE service can be used and modified without license costs. ## GitHub licenses In GitHub two license pages exist: - [License](https://github.com/toeverything/AFFiNE?tab=License-1-ov-file) - [MIT license](https://github.com/toeverything/AFFiNE?tab=MIT-2-ov-file) It seems that AFFiNE is not completely FOSS but only some parts of it. It is not very straight forward which parts are FOSS. ## Your tasks ### FOSS parts of AFFiNE Find out which are the FOSS parts of AFFiNE and which parts are not FOSS. Explain it in an easy to understand description. ### Self-hosted AFFiNE service free of costs? Determine whether a self-hosted AFFiNE service can be used free of license costs and which conditions have to be met so that it is free. The attached shell script creates a Podman Pod which runs an AFFiNE service. Check whether this service is free of license costs. ### AFFiNE modifications allowed? Find out whether modifications of AFFiNE for running a self-hosted AFFiNE-like service are allowed. Concrete Use-Case: Place a Man-in-the-Middle software between the AFFiNE Web-GUI and the AFFiNE database which adds functionality.