Skip to content
Custom New Tab Page
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
precache + Mar 3, 2019
webroot automatically add url scheme if missing Mar 5, 2019
COPYING first commit Mar 2, 2019
LICENSE first commit Mar 2, 2019
README.md Create README.md Mar 2, 2019
cntp_db_dump.sql first commit Mar 2, 2019
config.php first commit Mar 2, 2019
db.php allow weather cache update for demo user Mar 3, 2019
db_credentials.php first commit Mar 2, 2019

README.md

CNTP - Custom New Tab Page

About

New standalone version of the Chrome Extension Chrome-CNTP.

Features

  • Feed Reader :: supports Atom 1.0, RSS 1.0, RSS 2.0 and Media RSS
  • Weather Forecast :: provided by yr.no
  • Bookmarks :: add URLs for quick access
  • Notes :: quickly write down notes (text URLs will be linkified)
  • Page Layout Generator :: create your own custom grid-based layout
  • CSS Themes :: choose one of the packaged themes or create your own custom look with pure CSS
  • Cross-Platform :: desktop and mobile layout
  • User Management :: comes with a complete login system
  • Database :: uses a mysql database for caching and the configuration

Live

https://cntp.nya.pub

Screenshots

Installation

Requirements:

  • Web Server (Apache)
  • MySQL DB (MariaDB)
  • PHP

Web Server:
Follow a guide and check out other helpful resources.
If you just want to run the page locally, configuring Listen 127.0.0.1:80 and pointing the DocumentRoot to the CNTP/webroot folder should be sufficient.
Make sure that the web server can access the files. Example for user/group http:

chgrp -R http CNTP/
chmod -R 750 CNTP/

PHP:
Follow a guide. The login system requires a sendmail client (I use msmtp).
Here are some required (or recommended) settings in the php.ini:

extension=curl
extension=mysqli
sendmail_path = "/usr/bin/msmtp -t"
session.use_cookies = 1
session.cookie_lifetime = 2592000

Database:

  • create a user and a new database (help)
  • initialize the db with the provided sql dump --> cntp_db_dump.sql
  • fill out db_credentials.php

General Page Setting:
See config.php. In the precache folder is an optional systemd service+timer that automatically precaches feeds for active users every 15 minutes.

Disclaimer

This is just a hobby project. If you find bugs or have suggestions please let me know! :)

You can’t perform that action at this time.