If you like to program in JavaScript, look into
TouchControl. While there is no formal IR library, the limit in flexibility is your imagination. The App is inexpensive and you'll need an IP to IR converter if you need to use IR commands, but these are well within your budget. It's easy to control multiple rooms, odd devices, such as garage doors, or pull up web pages.