Giter Club home page Giter Club logo

mior's Introduction

mior

Merge into one RSS

CI status MIT License

mior is a lightweight web service to filter and merge multiple RSS feeds into one. It provides a pure web-based, responsive user interface to manage the upstream feed sources. A merged RSS is provided to user to fetch the merged results, which gathers all filtered items in upstream feeds.

screenshot

Development Guide

Frontend

The frontend is built with Next.js and MUI, and uses Yarn as its package manager. We recommend installing Node.js with fnm (Fast Node Manager).

curl -fsSL https://fnm.vercel.app/install | bash

Install Node.js and Yarn package manager.

cd frontend/
fnm install
npm install -g yarn

Install dependencies and start dev server.

yarn install
yarn dev

To build into static HTMLs:

yarn build

Backend

The backend server is developed with Rust language and Rocket web framework. If this is your first time to build Rust projects, please install rustup and it will set up all the environment automatically.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Additionally, openssl library is required by Rocket.

# On macOS
brew install openssl

# On Debian/Ubuntu
sudo apt-get -y install pkg-config libssl-dev

Compile and start up the server:

cargo run

To build into binary in release mode:

cargo build --release

Notes on Local Debug

By default, the backend server listens on http://localhost:8000 and the frontend (Next.js dev server) listens on http://localhost:3000, but the Next.js dev server has been configured to redirect API requests to the backend (see next.config.js).

In practice, we recommend you to debug from the http://localhost:3000 in order to take advantage of the Fast Refresh feature of Next.js.

mior's People

Contributors

fuyufjh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mior's Issues

malformed feed: parse error

malformed feed: parse error: Malformed XML. 1:556 Unexpected closing tag: p, expected img

请问这个是什么问题呀?

bug: 503: Failed to connect to DB due to PoolTimedOut

Log:

GET /rss?token=xxxx:
   >> Matched: (rss) GET /rss?<token>
   >> Request guard `Connection < Db >` failed: Some(Get(PoolTimedOut)).
   >> Outcome: Failure
   >> No 503 catcher registered. Using Rocket default.
   >> Response succeeded.

The cause seems to be launchbadge/sqlx#622. But Rocket 0.5.0-rc.2 still use sqlx 0.5 now, so we may wait for it to update.

能否让合并后的根据时间进行排序?

现在的是相当于一个个装入队列里面,作者能提供一个思路或者简单的说一下如何实现排序吗?然后我自己可以去尝试一下。
没写过Rust,不是很理解到底该怎么修改源码才行。

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.