Coder Social home page Coder Social logo

offers-to-notion's Introduction

Offers-To-Notion

Scheduled yarn start

Introduction

This script is used to fetch job positions from various websites and save them to Notion.

Setup

GitHub Action is recommended to run this script periodically.

To use GitHub Action, you need to fork this repository and enable GitHub Action in the forked repository.

1. Add Database in Notion

Add a new Database in Notion with the following headers: Database Header

Name        -   Title
Company     -   Select
Date        -   Date
Link        -   URL
Status      -   Status
            | - To-do: Draft
            | - In progress: Set Aside
            | - Complete: Submitted, Won't Apply

You can find the Database ID in the URL of the Database according to this documentation.

Also, you need to add a new Integration in Notion and get the Internal Integration Secret according to this documentation.

2. Run

GitHub Action

Add the following secrets in the forked repository:

NOTION_TOKEN=<YOUR_INTEGRATION_INTEGRATION_SECRET>
DATABASE_ID=<YOUR_NOTION_DATABASE_ID>
TELEGRAM_BOT_TOKEN=<OPTIONAL_TELEGRAM_BOT_TOKEN>
TELEGRAM_CHAT_ID=<OPTIONAL_TELEGRAM_CHAT_ID>

Telegram is used to send notifications when the script fails and is optional.

If you configure GitHub Action correctly, the script will run automatically, and you can see new jobs in your notion database.

Local

If you want to run the script locally, you need to also add the above secrets in the .env file.

Then, run the following commands:

yarn install
yarn start

offers-to-notion's People

Contributors

akozhu avatar apocalypsor avatar dependabot[bot] avatar

Watchers

 avatar

offers-to-notion's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.