Giter VIP home page Giter VIP logo

notion-linux's Introduction

September 2021: Recommended alternative

https://github.com/notion-enhancer/notion-repackaged

Notion Desktop builds with Notion Enhancer for Windows, MacOS and Linux. Direct port of Notion is also available for Linux.

11 June 2021: End of support

I no longer use either Notion or Linux. Furthermore, recent updates to Notion have made it difficult for me to support all the existing variants (e.g. arm64, enhanced), due to new native modules and incompatibilities with Notion Enhancer. If you would like to maintain this project, please contact me by opening an issue, or through my website.

For Arch Linux users, I recommend using notion-app. For other Linux users, I recommend using the Notion web app. For Notion Enhancer users, its maintainer reports that a Chrome extension may be coming soon. You can also continue using the current latest version indefinitely, as the current hosting solution is free on my end.


13 February 2021: Action is required for existing Debian, Ubuntu and Linux Mint users

Notion for Linux

Native Notion packages for Linux, built from Notion's Windows installer.

Install

Run the following commands in a terminal to install Notion. Packages are available for Intel/AMD and ARM64.

To install Notion with Notion Enhancer mods applied, replace notion-desktop with notion-enhanced in the commands below.

Ubuntu, Debian, Linux Mint

wget https://notion.davidbailey.codes/notion-linux.list
sudo mv notion-linux.list /etc/apt/sources.list.d/notion-linux.list
sudo apt update && sudo apt install notion-desktop

Fedora, CentOS

wget https://notion.davidbailey.codes/notion-linux.repo
sudo mv notion-linux.repo /etc/yum.repos.d/notion-linux.repo
sudo dnf install notion-desktop

openSUSE

sudo zypper ar -r https://notion.davidbailey.codes/notion-linux.repo
sudo zypper --gpg-auto-import-keys install notion-desktop

Build

Install requirements

  1. Install Node.js, e.g. using NVM:

    nvm install node
  2. Install NPM version 7:

    npm install -g npm@7
  3. Install other packages required for building the app, e.g. using apt:

    sudo apt install p7zip-full imagemagick make g++ fakeroot rpm

    Only Debian-based distributions are officially supported for builds.

Build notion-desktop

notion-desktop is the vanilla Notion package.

To produce an AMD64 build, run the following:

scripts/build.sh        # always run
scripts/package-deb.sh  # run to produce a DEB
scripts/package-rpm.sh  # run to produce an RPM

To produce an ARM64 build, run the following:

scripts/build.sh -b arm64        # always run
scripts/package-deb.sh -b arm64  # run to produce a DEB
scripts/package-rpm.sh -b arm64  # run to produce an RPM

Once complete, you should have DEB and/or RPM packages in the out directory.

Build notion-enhanced

notion-enhanced is the Notion package with Notion Enhancer mods applied.

To produce an AMD64 build, run the following:

scripts/build.sh                           # always run
scripts/enhance.sh                         # always run
scripts/package-deb.sh -n notion-enhanced  # run to produce a DEB
scripts/package-rpm.sh -n notion-enhanced  # run to produce an RPM

To produce an ARM64 build, run the following:

scripts/build.sh -b arm64                           # always run
scripts/enhance.sh -b arm64                         # always run
scripts/package-deb.sh -n notion-enhanced -b arm64  # run to produce a DEB
scripts/package-rpm.sh -n notion-enhanced -b arm64  # run to produce an RPM

Once complete, you should have DEB and/or RPM packages in the out directory.

notion-linux's People

Contributors

valin4tor avatar jmporchet avatar dchw avatar gurpreetatwal avatar haydn-jones avatar signed-log avatar dependabot[bot] avatar

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.