/hackernews-notion-bridge

Read Hackernews in your favourite all-in-one workspace.

Primary LanguagePythonMIT LicenseMIT

Hackernews-Notion-Bridge

Read Hackernews in your favourite all-in-one workspace.

Screenshot Live demo

Why?

Well, many dislike the default HackerNews webinterface. Which is why everyone and their dog build their own HN client. I also really enjoy creatively misusing tools for things they definitely weren't designed for.

So, whats a better way to jump the HN-client bandwagon, than by integrating one of my biggest time-sinks in my favourite productivity app?

Current Limitations

  • Webbookmarks don't quite work (only show url but no image/description)
  • Pages get replaced instead of updated

Setup

  1. Install Python and create a Notion account.
  2. Create a Notion integration, Notion database and share the database with the integration. All of which is decribed in this Guide
  3. Rename config-example.json to config.json and enter your integration token and database-id. How to get the database-id
  4. Add the following fields(properties) to the database:
    • Position: Number
    • Title: Text
    • Website: URL
    • Hackernews Link: URL
    • Comments: Number
  5. Install all dependencies with python3 -m pip install -r requirements.txt
  6. Run the script with python3 main.py

You can also see how I deploy this script in deployment.md.