Hey!
I'm a type 1 diabetic also and I bike frequently
I would say an important thing is to have as little active insulin on board (IOB) as possible (for example, try to go for a bike ride at least 3 hours after your last rapid-acting insulin shot), because if you have too much IOB, it makes a lot easier to have a bad hypo during the ride.
Other, for me, I noticed that each 15-20 minutes riding at a speed of 16- 20km/h I need one dextrose tablet (1 tablet contains 5g of carbs, which increases my blood sugar in about 20mg/dL). If I eat a meal during a long ride, I usually take half the amount of insulin I would need to cover all the carbs/protein.
And for short rides, if my BS is in range I use one Dextrose tablet (5g of carbs) or a small snack before (like 5 grapes, 1 small peach). If it's around 130/150 I do nothing, just keep checking my Libre to see the trend lines during the ride.
Do you have already a Libre/Continuous glucose monitoring?
I hope it helped somehow
Big hugs, Debora.