>>1746862the right kind of shop, or bicycle persons garage, will have a bin of old forks, for less than $20 each, and you can find one suitable. So find that shop or look online locally to make a bike friend with a parts bin.
The fork can actually be longer. As long as the threads reach down to the top of the head tube. You can use spacers between the cup and lockring, as in pic related. That might actually be desirable if you want higher bars. Or if you have a steady hand, you can cut it down with a hacksaw and some hoseclamps as a guide.
The tools to swap the press-fit pieces on the headset over between forks can all be custom made inexpensively. From pipe and threaded rod and such. RJ has good videos on it or I can show some pics of mine if you'd like when you get to that point.
The other thing to consider though is, do this if you're fond of the frame and it fits you. Otherwise, what is likely almost as cheap, is simply sourcing a replacement frameset, which is better. That's often a way to get a nice fork, buy a nice frame to steal it from, and stealing a nice fork from a nice frame for your presumably meh frame is kind of silly.