If you are an experienced programmer, then you could try to create programming lessons and launch your own online course. Place it on a major learning platform and earn a significant amount of money teaching people through videos and other aids.
This is a great way to earn passive income. You don’t have to go online every time you have a student as the lessons have already been pre-recorded. Of course, you could offer live Q&As and other value added features as part of the package to attract more students.
You will be able to share your knowledge and spread information. This comes with its own particular satisfaction. Although the initial work is quite a lot, you will not have to do much once the course is already online. You may simply tweak some of the content based on feedback for improvements.