<human>: Can you condense the text into three sentences or less?

As the title says, I now have an ex-girlfriend. To make a long story short, she went away for the summer to work at a camp. We had what I thought was a strong relationship but it fell apart in horrible ways as the summer wore on. Limited communication on her end is mostly to blame, though I am sure there are underlying factors she won't tell me about.

We are now officially broken up. We did the whole fighting, yelling via text thing. We're on to putting things to rest.

I know I "deserve better." Someone who values my time and feelings and devotion in ways she never did. But that assurance is hardly helpful right now.

So I have two questions.

First, how can we go about being friends/non-romantic acquaintances? With my previous ex I burned that bridge to the ground and regret that I did. Despite what happened between us, how she treated me, this ex is a wonderful person (outside of a relationship setting) I would like to stay in contact with. 

Secondly, how to I pull myself together? I am absolutely devastated. The summer was hell, and I pulled myself through it by telling myself things would work out once she put in some effort. She never did. I wrote love songs and break up songs and have spent too many nights without sleep. I loved her with all I had, and she gave nothing back. I feel like all my effort and my suffering was wasted, I feel betrayed by someone who once told me they loved me, and I feel hopeless, because I know I did everything I possibly could to make things work.

Any help on both of these would be very much appreciated.
<bot>: My ex-girlfriend was horrible to me via distance, we broke up, I am now thoroughly devastated and looking for ways to move forward without burning bridges.