Coder Social home page Coder Social logo

admariner / notion-enhancer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from notion-enhancer/notion-enhancer

0.0 0.0 0.0 6.75 MB

an enhancer/customiser for the all-in-one productivity workspace notion.so

Home Page: https://dragonwocky.me/notion-enhancer/

License: MIT License

Python 39.42% CSS 28.26% JavaScript 32.33%

notion-enhancer's Introduction

notion enhancer

an enhancer/customiser for the all-in-one productivity workspace notion.so

supported clients

there are a lot of ways to use notion. some official clients, many not.

the enhancer supports:

there are others, yes. the enhancer does not support them. you should not expect them to work. if for some reason you need to use one of them instead of the above listed ones, open a platform support request.

please do not modify the enhancer code specifically to work for your installation. if you have the know-how to do so, instead open a pull request with your changes so that proper support can be added for all users of that client.

mobile clients are not supported and due to system limitations/restrictions cannot be.

(the styles should also work for the web version. these can be installed via an extension like stylus or a built-in feature like userChrome.css.)

if the script is run from the WSL, it will enhance the windows version of the app.

installation

  1. install node.js: windows/macOS, linux/WSL.
  2. install python: windows/macOS, linux/WSL.
  3. reboot.
  4. in the appropriate terminal/command line, run npm install -g asar (check installation by running asar).
  5. download this enhancer & extract to a location it can safely remain (if running the script from the WSL, make sure this is from a location within the windows filesystem).
  6. ensure no notion processes are running - you may want to check the task manager to make sure.
  7. optional: to remove previous applications of the notion enhancer, run cleaner.py.
  8. optional: modify the resources/user.css file to your liking (see styling).
  9. run customiser.py to build changes. (for linux run with sudo)

done: run notion and enjoy.

faq

now the notion app won't open :(

  1. kill any notion tasks in the task manager (ctrl+shift+esc).
  2. run cleaner.py.
  3. reboot.
  4. follow instructions above (ensuring notion isn't running! again, check task manager).

i tried opening the python file but it just closed instantly and nothing happened?

python scripts must be run from the terminal or command prompt via e.g. python customiser.py.

now that I've run the script, can I delete the enhancer folder?

no! user style files resources/user.css and resources/theme.css are fetched from here each time you open notion. additionally, if you ever need to change or reset your notion build, the customiser.py and cleaner.py files will be useful.

unless you're sure you know what you're doing (if you have to ask, you probably don't) then do not delete anything.

something isn't working, and the suggestions here haven't fixed it...

this is probably a bug. please submit a bug report.

can the enhancer do ___?

experienced problems with the notion app, or just want to add something a bit more to it? please submit a feature request.

features

titlebar

default windows titlebar/frame has been replaced by one more fitting to the theme of the app.

this includes the addition of an extra button, "always on top" symbolised with an arrow. when toggled to point up, notion will remain the top visible window even if not focused.

nicer scrollbars

i mean, yeah. get rid of those ugly default scrollbars and use nice inconspicuous ones that actually look as if they're part of notion.

to add these to the web version, copy lines 74 - 105 from user.css into your css customiser.

image: before enhancement

image: after default enhancement

hotkeys

  • reload window: in addition to the built-in CmdOrCtrl+R reload, you can now reload a window with F5.
  • toggle all notion windows to/from the tray: CmdOrCtrl+Shift+A by default.

to set your own toggle hotkey, open customiser.py and change line 19 (hotkey = 'CmdOrCtrl+Shift+A') to your preference. you will need to run or re-run customiser.py afterwards.

tray

single-click to toggle app visibility. right click to open menu.

  • run on startup: run notion on boot/startup. (default: true)
  • hide on open: hide the launch of notion to the tray. (default: false)
  • open maximised: maximize the app on open. (default: false)
  • close to tray: close window to tray rather than closing outright on click of โจ‰. does not apply if multiple notion windows are open. (default: false)
  • load theme.css: loads the custom colour theme file. see colour theming for more information. (default: false)
  • use system emoji: reverts notion to using normal emojis, rather than the twitter emojiset. (default: false)

image: open application tray

styling

custom appearances can be applied to the app via the resources/user.css and resources/theme.css files. for more information, and a list of various optional styling changes, see the page on styling.

other details

credit where credit is due, this was originally made by Uzver (github: @TarasokUA, telegram: UserFromUkraine, discord: Uzver#8760). he has approved my go-ahead with this fork, as he himself no longer wishes to continue development on the project.

the notion logo belongs entirely to the notion team, and was sourced from their media kit.

if you have any questions, check my website for contact details.

notion-enhancer's People

Contributors

dragonwocky avatar imgbotapp avatar uzverua avatar blacksuan19 avatar etnperlong avatar torchatlas 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.