I know that Oakland gets a bad rap, and certainly there are parts of Oakland that do suffer from high crime, but there are also some really wonderful parts of the city that are convenient, fun, and relatively cheap. I suggest you look in the Temescal neighborhood. You should be able to find something in that price range and from there it’s a short trip into downtown SF.