LineageOS is a free, community-built, aftermarket firmware distribution of Android 11 (R) designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS still includes various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS GitHub repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review. You can also view the Changelog for a complete list of changes & features.
ROM sources: LineageOS
Kernel sources: Here