Nov 26, 2020

Redesign Notion the way you want

I'm a big fan of Notion (who's not!) but as soon as I used it, I wanted to change the look and feel of it. Some aspects are customizable but not enough to my test.

So I came up with my own solution: tailored-notion.com

Tailored Notion is a browser extension to improve the look of your favorite app when you use it directly from Chrome, Firefox, Brave, Edge ... 


Right now you can:

  • Pick between different color themes
  • Get a thinner padding when width is 100%
  • Hide Emojis in the sidebar - get a slick look
  • Replace Emojis in sidebar by Notion's logo with the first letter of the page

Much more features are coming so >> follow this guys << to stay up to speed.

Oct 28, 2020

TinyAnalytics - Made with PHP and Javascript

Recently,  I forked and updated TinyAnalytics to make it full PHP on the back side and Javascript on the front.

For a small/medium size project, Google Analytics is definitely an overkill and it's also been blocked by more and more ad blockers.

Install

There are three easy steps:

  • Unzip this package to a host accessible with https.
  • Add the following tracking code to your websites at the end of files and modify myhost and my-web-site:

<script>
    const xhr = new XMLHttpRequest();
    xhr.open('POST', 'https:// myhost /req.php');
    xhr.setRequestHeader('Content-Type', 'application/json');
    xhr.send(JSON.stringify({ "sn": "my-website-name", "ref": document.referrer }));
</script>

  • Modify your password in config.php and set the allowed domains there.

It's done! Visit at least one of your tracked websites, and open https:// myhost /index.php in your browser!

It's here: https://github.com/Wanchai/PHP-JS-TinyAnalytics

Tell me what you think!