I texted my ex

I know it’s dumb and nobody ever recommends texting your ex, but I miss him so much. We broke up less than a month ago and had been together for 4ish months, although we had been close friends for about a year. I know we shouldn’t get back together, but I just miss him being in my life and he was really the only person I had because he was also my bestfriend. I just want to talk to him and be honest about our feelings. the next day he still hasn’t texted back. I guess that’s a sign that I should move on but it hurts so bad and I just want the pain to go away.