Both directions. Using ELOT 743, the official standard behind ID cards and passports, plus a ready slug for your website.
Greeklish carries no accents, so we restore them on the words people type most. Words outside that list come out correctly but without an accent. Some words are also genuinely ambiguous: "poli" can be "πολύ" or "πόλη".