Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

quicoto/RSS-Reader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Please notice
This repository is Archived. I could never make it work reliably, I would get random posts fetched. Thus I spent time cleaning out old items rather than reading new ones.

RSS Reader

Screenshot

Requirements

  • PHP
  • MySQL

Setup

  1. Set up a MySQL tables:
CREATE TABLE IF NOT EXISTS `items` (
	`id` bigint(20) NOT NULL AUTO_INCREMENT,
	`title` text,
	`url` text,
	`feed_id` bigint(20) NOT NULL,
	`is_read` tinyint(1) DEFAULT NULL,
	`is_starred` tinyint(1) DEFAULT NULL,
	`date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2686 ;
CREATE TABLE IF NOT EXISTS `feeds` (
	`id` bigint(20) NOT NULL AUTO_INCREMENT,
	`title` text,
	`url` text,
	PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2686 ;
  1. Create a config.php file to use your mysql username and password.
<?php

$host = 'localhost:3306';
$user = 'root';
$password = 'password';
$database = 'feedreader';
  1. Run php api/fetch-feeds.php to fetch new feed items. Ideally you should add a cronjob to automatically pull items.
  2. You can also set up a cronjob to delete items php api/delete-old-items.php items.

About

RSS Reader written in PHP and MySQL, using VUE as FE.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Vue 45.9%
  • PHP 37.8%
  • JavaScript 13.0%
  • HTML 3.3%