A long time ago in a galaxy far, far away... There was a planet. Among other things, there were two companies selling shoes on that planet. Both of them had a top-notch consultant, Company1 had 'Joe' and Company2 had 'Mike'. Joe and Mike were awesome the best on the market: They could forecast sales like no one else.
So, one day, the companies decided to send the consultants on a new planet to evaluate the shoe market. Joe called back and said: " Kill it, these creatures don't wear shoes. There's nothing to sell. I'm coming back ". Mike arrive two days later, called back and said: " This is awesome! No one here wears shoes, we must build a production unit here and take over the planet! Call the board immediately! ". About 50 years later, Company2 was had 80% of the shoe market on the new planet. Company1 joined 30 years later but never gained a substantial market share on this planet.
About five years after the events discussed above, the companies send the consultants on a very well known planet. The companies had no market share on this planet. Joe was there first and after evaluating the market called back and said: "Hey, there are is huge competition here, but I've found flaws on nearly every major player and the market is HUGE! We can make rounds around these guys!! Call the board ASAP". Mike arrived two days later, after evaluating the market he called and said: "It's a very competitive, advanced market. I don't think there's room for just another shoe-maker here. I'm coming back". About 50 years later, Company1 had conquered 15% the (apparently very large) planet's shoe market, multiplying the company's profits almost 5x times. Company1 never set foot on this planet.
The OP wrote:
> Now someone else open sourced my Idea and It is one of trending repositories on github.
The OP sees this is a failure because this is his perception of reality. However, there are other signals at play that the OP did not capture. The fact that someone else brought forward the same idea at around the same time automatically tells me the following things:
1. There is a growing interest about this idea
2. It’s not irrelevant, crazy or stupid. Might be a solid idea.
3. There might even be an emerging market
4. The timing for this idea must be right (That’s why different people are coming up with this idea)
5. The OP is smart.
So whatever the OP’s idea is, must be good and worth pursuing. The OP thinks like ‘Mike’, but ‘Joe’ made it rain too. There are countless example for products that came ‘after’ and took over the market (e.g. Apple and Microsoft, iOs and Android, etc).