Why don't you want to use an external API?
There are a lot of great solutions out there, even for free. I would recommend chain.so, they have the best realtime socket setup, and you can subscribe to events like mew blocks, or new mempool txes.
Parsing blocks and txes yourself from the full...