Ask yourself what's the Minimum Viable Product? How long would it take you to produce it? Would you learn anything by producing it or would it enhance your CV/portfolio? Would you enjoy producing it? If it doesn't sell could you open source it and either gain some reputation for yourself or help some people out?
Maybe it's worth just doing it regardless of market size/opportunity?