Skip to content

Docs

How to use the carpool tools, and every rule BochitoApp uses.

Getting started

  1. Open the tools on the home page — no account needed. Pick one from the tab bar: Cost split or Driver rota.
  2. Cost split: choose miles or kilometers, enter the one-way distance, the car's fuel economy, the fuel price and the day's tolls and parking.
  3. Pick how many people ride (driver included), whether the driver pays a share, and your commute days.
  4. Driver rota: type the drivers in turn order, pick the commute days, the first day and how many weeks to plan.

Cost-split rules

  1. Day distance = one-way distance × 2 for a round trip. Fuel = day distance ÷ mpg (gallons), or day distance × L/100 km ÷ 100 (liters).
  2. Day cost = fuel × fuel price + tolls and parking. With “Yes, split evenly” it is divided by everyone in the car; with “No” only by the passengers.
  3. The driver pays what is left after the passengers' shares. Per week = per day × the number of commute days; per month = per week × 52 ÷ 12.
  4. Amounts are rounded to the cent. Only fuel, tolls and parking are counted — add wear or a parking pass to tolls + parking if your group agrees.

CO₂ rules

  1. Burning one US gallon of gasoline gives about 8,887 g of CO₂ (US EPA). That is about 2.35 kg per liter.
  2. CO₂ per day = the car's fuel for the day × that figure.
  3. Not emitted per week = CO₂ per day × passengers × commute days — assuming each passenger would otherwise drive a similar car alone on the same route.
  4. Diesel, hybrid and electric cars differ; treat the number as an estimate for a gasoline car.

Driver-rota rules

  1. Names are split on new lines, commas or semicolons; extra spaces are removed and repeated names count once. 2 to 8 drivers.
  2. Commute days are the weekdays you pick within the weeks you plan, counted from the first day (it counts if it is one of your days).
  3. “Every commute day”: the driver changes each commute day, in the order you typed. “Every week”: one driver per 7-day block from the first day.
  4. Turns are even when nobody drives more than one day more than anyone else. Holidays are not skipped for you — swap turns in the group if needed.

Account and workspace

  1. Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
  2. You land in your workspace at /app. The tools there keep your last values in this browser (localStorage); clearing site data removes them.
  3. Use Log out in the top bar when you are done on a shared device. To delete your account, email hello@bochitoapp.com.

Account API

  1. POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
  2. POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
  3. GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
  4. Requests that change data must come from the same origin (cookie session, no API keys). The carpool tools themselves have no API — they run in your browser.

BochitoApp gives estimates from the numbers you enter and simple, published rules. Real fuel use depends on the car, traffic and how you drive — agree on the numbers as a group.