I understand that you're not willing to stop running. If you do go to a professional for help (which really is best, because they learned how to help with these kinds of issues), you could work out a sort of compromise with them in making a plan to help you recover while still allowing you to run. This isn't really common because of the physical dangers caused by undereating, but they might be willing to let you try it if you talk honestly with them.
If you're not willing to go to a professional yet, you might be able to make some progress on your own. It isn't ideal but it can be a good place to start until you feel ready to ask for help. You said before that when you run it makes you feel more okay about eating, so maybe start just trying to eat a bit more one day a week (it might be easiest to do on a day you do your longest run of the week). Don't count anything, the numbers don't matter, just try adding an extra snack that you like. When you feel comfortable doing that, you could try doing it two days a week, and so on. You also mentioned you don't like to feel not hungry; if you've been restricting for a while you might start to feel less hungry even without eating much food. If this is a problem for you, it might be easier to eat foods like peanut butter (or almond/sunflower butter if you're allergic), avocadoes, or olive oil; they help you recover from workouts, but you don't have to eat a large amount of them, so you won't feel super not hungry.
Protein is really important; it will help you recover from workouts better and prevent you from getting injured again. If you don't eat meat, there are plenty of other protein sources you can try, like beans, tofu, protein powder, nuts, nut/seed butter, lentils, eggs, and yoghurt. There are a lot of great recipes out there, so you can try a few and find your favourites.
You mentioned that you tried to focus on eating for performance - that's fantastic! It's a really great motivator for getting better. One of the things that helped me the most was seeing how professional athletes eat, since they're obviously doing something very right to be at the elite level. I know that Emma Coburn posts what she cooks sometimes, and it isn't always what you might expect from a professional marathoner - like once she made cookies with marshmallows - but that just goes to show it's all about balance. Yes, if you want to compete at a high level, you should eat mostly healthy food, but there are two other factors involved: 1) you need to eat enough to maintain any benefits you get from training, and 2) moderation really is important; eating only "healthy" food all the time really isn't very healthy mentally. Another really great resource is the "Run Fast, Eat Slow" book that Kvothe mentioned before. It has tons of great recipes, so you'll be able to find something you like.
When you start to get better, you might be surprised at how much your performance increases. You won't feel really tired or sore all the time, you'll be able to run faster and it won't feel as difficult, so you'll be able to enjoy your runs that much more. You said you're afraid of gaining weight, and I know this is one of the hardest parts of recovering, but you really should stop weighing yourself. This might be easier if you do it slowly - for example, have one day a week you don't weigh yourself, and when you get used to that try two days a week and so on. After a while you won't even think about it; you'll be too happy about how much your running has improved :)
The most important thing in this is to remember to be nice to yourself; you might not feel great right now, and that's okay. You're still an amazing person, and I'm insanely proud of you for even thinking about getting better. It's hard, but you're so strong that you did it anyway, and you should be proud of that. Remember that recovery isn't always linear progress; there might be days where you make a mistake, and that's fine, because we're all human and we make mistakes. That's how we learn. If something doesn't go the way you wanted it to, remember that you can try again tomorrow; figure out what happened so you can avoid the same problem next time. Overall progress is more important than one day, and you deserve to get better, see your performances improve, and feel happier. No matter what, never give up on yourself - I sure won't because I know you can do this :)