Ghostnote is described as 'adds contextual notes to almost anything on your mac. Add notes & todos to folders, applications, open documents, even websites. Think about it as post-it-notes for your OS' and is an app in the Office & Productivity category. There are more than 100 alternatives to Ghostnote for a variety of platforms, including Windows, Mac, Online / Web-based, Android and iPhone. The best alternative is Joplin, which is both free and Open Source. Other great apps like Ghostnote are Standard Notes (Freemium, Open Source), Google Keep (Free), Microsoft OneNote (Freemium) and Evernote (Freemium).
Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. The notes are searchable, can be copied, tagged and modified either from the applications directly or from your own text editor.