https://github.com/flofriday/hackernews-notion-bridge
  
  
    Read Hackernews in your favourite all-in-one workspace. 
    https://github.com/flofriday/hackernews-notion-bridge
  
hacker-news notion python
        Last synced: 23 days ago 
        JSON representation
    
Read Hackernews in your favourite all-in-one workspace.
- Host: GitHub
- URL: https://github.com/flofriday/hackernews-notion-bridge
- Owner: flofriday
- License: mit
- Created: 2021-08-30T12:31:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-05T19:17:42.000Z (about 4 years ago)
- Last Synced: 2025-03-18T10:22:05.979Z (8 months ago)
- Topics: hacker-news, notion, python
- Language: Python
- Homepage:
- Size: 632 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # Hackernews-Notion-Bridge
Read Hackernews in your favourite all-in-one workspace.

[Live demo](https://flofriday.notion.site/Hackernews-d67b266a89e047ff81226b36d28a7cc4)
## 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](https://www.python.org/downloads/) and create a [Notion](https://www.notion.so/) account.
2. Create a Notion integration, Notion database and share the database with the
   integration. All of which is decribed in [this Guide](https://developers.notion.com/docs/getting-started#getting-started)
3. Rename `config-example.json` to `config.json` and enter your integration
   token and database-id. [How to get the database-id](https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration)
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`.