You can get the titles pretty easily from BigQuery:
SELECT DISTINCT title FROM `bigquery-public-data.hacker_news.full`
WHERE type = "story"
AND NOT dead