• Stars
    star
    323
  • Rank 129,538 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Browse Notion pages right inside Visual Studio Code.

VSCode Notion

Browse Notion pages directly in Visual Studio Code.

Disclaimer: This is an unofficial extension made using an unofficial renderer with the data from an unofficial API.

Features

Here is a list of features that the extension currently supports.

  • πŸ“„ View Notion pages while you're coding
  • πŸ”“ Supports both private + public pages
  • πŸ—“οΈ Browse recently opened pages
  • πŸ“Œ Bookmark important ones for next times

Here is the checklist for features I'm planning to add to the extension.

  • View notion pages
  • Support embeddings for certain trusted sources
  • Native syntax highlight for code snippets
  • Authentication for viewing private pages
  • Sidebar for all of user's pages

Authentication is not currently available since the unofficial API doesn't support much. But I'm planning to add it as soon as I get access to the official notion API that is coming very soon.

Configuration

API

A URL to get the data for Notion pages. By default, it is a hosted version of Notion Api Worker and feel free to host your own and use.

Access Token

The Authorization header to be used when getting the data from the API. Will be empty by default and replace it with your own to view private pages of yours. As of now, you can get the token from token_v2 of Notion website's cookies in your web browser.

Allow Embeds

A boolean value to determine whether to allow iframe embeddings when viewing pages. It will be false by default.

Font Family

A comma separated string of font families to use in the pages. Will be 'Helvetica Neue', sans-serif by default.

Font Size

The font size in pixels to use in the pages. It will be 14 by default.

Line Height

The unitless line height value to use in the pages. By default, 1.5 will be used.


Here are the available settings with default values.

{
  "VSCodeNotion.api": "https://notion-api.frenco.dev",
  "VSCodeNotion.accessToken": "",
  "VSCodeNotion.allowEmbeds": false,
  "VSCodeNotion.fontFamily": "'Helvetica Neue', sans-serif",
  "VSCodeNotion.fontSize": 14,
  "VSCodeNotion.lineHeight": 1.5
}

Acknowledgement

This project won't be possible without React Notion and Notion API Worker libraries by Splitbee.

License

MIT Β© Frenco Jobs

More Repositories

1

derry

A script manager for Dart.
Dart
193
star
2

envify

A better/safer way to handle environment variables in Flutter.
Dart
102
star
3

interact

A collection of interactive command-line components for Dart.
Dart
83
star
4

vercel-dart

A Dart Runtime for β–² Vercel.
TypeScript
61
star
5

vscode-vercel

WIP: Keep an eye on β–² Vercel deployments without ever leaving Visual Studio Code.
TypeScript
50
star
6

tint

Terminal string styling library for Dart.
Dart
27
star
7

fenceparser

A tiny, well-tested parser for parsing metadata out of fenced code blocks in Markdown
TypeScript
12
star
8

hls-downloader-flutter

HLS Downloader in Flutter.
Dart
5
star
9

minimalistic

Opinionated but sensible and minimal prettier config with plugins
JavaScript
5
star
10

dore

A web framework for Dart.
Dart
4
star
11

covid-nineteen

Statistics for COVID-19 written in Flutter for web (experiment)
JavaScript
4
star
12

burmese-random-words

Generate one or more random common Burmese words
TypeScript
3
star
13

frencojobs

α€™α€„α€Ία€Ήα€‚α€œα€¬α€•α€«
3
star
14

scrapbook

A client for HackClub's scrapbook written in Flutter.
Dart
3
star
15

ombud

A tiny decorator based abstraction layer for making HTTP proxy servers with fastify-http-proxy
TypeScript
3
star
16

vouchbyme

My submission for Amplify Hashnode Hackathon.
TypeScript
3
star
17

argparser

A tiny package to help you parse command-line arguments and flags easily.
Dart
2
star
18

frenco.dev

i made a website
TypeScript
2
star
19

tabrisjs-news-reader

Sample news reader app using tabris js.
JavaScript
1
star
20

dots

My configuration files
1
star
21

lib

My personal `tsdx` replacement
TypeScript
1
star
22

frontend

JavaScript
1
star
23

carify

Mobile app for easier event planning and discovery, for charities
Dart
1
star
24

typeweight

More readable font weights for Flutter.
C++
1
star
25

carify-v2

Carify app rewritten from scratch, with a new UI and better performance
Dart
1
star
26

configs

My personal configuration presets for tools like TypeScript, ESLint and Prettier
JavaScript
1
star