get gist ttl from environment variable