convert github to add_items