Whisk flour, baking powder, and salt in a bowl. Set it aside.
In a small bowl, microwave the chopped chocolate and butter for 1 minute at high power. Stir and continue to microwave at 15 second intervals until the mixture has melted. Be careful not to burn your chocolate.
In a large bowl, beat eggs with sugar and vanilla until well blended, about 3 minutes. Stir in melted chocolate mixture. Scrape down the sides of the bowl to mix well. Stir in flour mixture. The dough will be thick. Add chopped almonds and coconut and stir to incorporate.
Cover the dough and refrigerate it for 30 minutes. This will allow it to firm up and rest, for a chewier cookie center.
Preheat the oven to 350 degrees F. Line two cookie sheets with parchment paper and set aside. Shape the dough into balls roughly 2 tablespoons in size. Roll them between your palms and flatten them slightly with your fingertips. Space two inches apart on the baking sheet and bake for 8-10 minutes, until they've puffed and begun to look dry and cracked on top. Remove to cool on a wire rack.