Git Product home page Git Product logo

vscode-rss's Introduction

VSCode-RSS

An RSS reader embedded in Visual Studio Code

version rating rating test

demonstrate1

简体中文

Introduction

VSCode-RSS is a Visual Studio Code extension that provides an embedded RSS reader. With it, you can read news and blog freely in VSCode after a long time of coding. Tiny Tiny RSS and Inoreader are supported, which allows you to sync RSS between devices. VSCode-RSS is easy to use and requires little to manually modify the configuration.

  • Multiple accounts;
  • Support Tiny Tiny RSS;
  • Support Inoreader;
  • Support multiple RSS formats;
  • Automatic update;
  • Support favorites;
  • Scrolling notification;
  • Read / unread marks;

Usage

Accounts

VSCode-RSS has three types of accounts, local account, TTRSS(Tiny Tiny RSS) account, and Inoreader account. VSCode-RSS will create a local account by default.

Local Account

For local account, it will store the data locally. Click the "+" button on the "ACCOUNTS" view and select "local" option, then enter the account name to create a local account. Account name is arbitrary, just for display.

TTRSS Account

For TTRSS account, it will fetch data from Tiny Tiny RSS server and synchronize reading records with the server, so it has the same data as other clients(such as Reeder on your Mac or FeedMe on your phone). If you don't know TTRSS, see https://tt-rss.org/ for more information. To create a TTRSS account, click the "+" button on the "ACCOUNTS" view and select "ttrss" option, and then enter the account name, server address, username and password. Account name is just for display, while server address, username and password depends on your TTRSS server.

demonstrate2

Inoreader Account

For Inoreader account, similar with TTRSS account, it'll fetch and synchronize data with the Inoreader server. If you don't know Inoreader, see https://inoreader.com for more information. The simplest way to create an Inoreader account is to click the add account button and select "inoreader" option, enter the account name and select "no" (using default app ID and app key). Then, you'll be prompted to open the authorization page and you should follow the tips to authenticate your Inoreader account. If it goes well, the account will be created.

Because Inoreader has a limit on the number of requests for a single app, maybe you need to create and use your own app ID and app key. Open your Inoreader preferences page, click the "Developer" in "Other", and then click the "New application". Enter an arbitrary name and set the scope to "Read and write", then click "Save".

create_app

Then, you'll get your app ID and app key.

id_and_key

Create an account, select "yes" after entering the account name to use custom app ID and app key, and enter the app ID and app key. If you already have an account, right-click on the account list item and select "Modify" to alter the app ID and app key, or edit setting.json.

Add Feeds

Just as demonstrated at the beginning of this README, click the "+" button on the "FEEDS" view and enter the feed URL to add a feed. For TTRSS and Inoreader account, it'll sync to the server.

Configuration

You can modify the configuration as needed.

Name Type Description
rss.accounts object Feed accounts, you can modify name field or adjust the order of the lists if you want, but NEVER modify the key and type field.
rss.interval integer Automatic refresh interval (s)
rss.timeout integer Request timeout (s)
rss.retry integer Request retries
rss.fetch-unread-only boolean Whether to fetch unread articles only, for TTRSS and Inoreader
rss.status-bar-notify boolean Whether to show scrolling notification in status bar
rss.status-bar-update integer Scrolling notification update interval(s)
rss.status-bar-length integer Max length of notification displayed in status bar
rss.storage-path string Data storage path, must be an absolute path
rss.inoreader-domain string Domain of Inoreader
rss.inoreader-limit string Limit of the number of articles fetched by Inoreader at a time

Enjoy it!

vscode-rss's People

Contributors

dependabot[bot] avatar luyuhuang avatar matchachoco010 avatar yujianghao 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  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  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  avatar  avatar  avatar  avatar

vscode-rss's Issues

I am not able to paste feed URL

when I click on the plus to add feed I am not able to Ctr+v here, Nothing happen, and using the right click hide the box

Note :

This problem happens only if the the marketplace tap is in focus (currently active) ! strange right :D ?

image

Version: 1.48.1
Commit: 3dd905126b34dcd4de81fa624eb3a8cbe7485f13
Date: 2020-08-19T17:12:13.244Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17763

Certificate has expired

更新订阅时失败,提示证书过期(RequestError: certificate has expired)。

经检查,出问题的均是 Let's Encrypt 签发的证书,怀疑是之前 Let's Encrypt 根证书于 2021/9/30 过期的问题,但浏览器访问正常。

Activating extension 'luyuhuang.rss' failed: ENOENT: no such file or directory, luyuhuang.rss\version

运行环境:
Version: 1.51.1 (user setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:34:32.027Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.16299

运行该插件报错哦,

abstractExtensionService.ts:717

Activating extension 'luyuhuang.rss' **failed: ENOENT: no such file or directory**, open c:\Users\myName\AppData\Roaming\Code\User\globalStorage\luyuhuang.rss\version.
_logMessageInConsole @ abstractExtensionService.ts:663
_logOrShowMessage @ abstractExtensionService.ts:663
$onExtensionActivationError @ host.ts:10
_doInvokeHandler @ rpcProtocol.ts:365
_invokeHandler @ rpcProtocol.ts:365
_receiveRequest @ rpcProtocol.ts:306
_receiveOneMessage @ rpcProtocol.ts:174
(anonymous) @ rpcProtocol.ts:105
fire @ event.ts:584
fire @ ipc.net.ts:431
_receiveMessage @ ipc.net.ts:764
(anonymous) @ ipc.net.ts:624
fire @ event.ts:584
acceptChunk @ ipc.net.ts:174
(anonymous) @ ipc.net.ts:174
t @ ipc.net.ts:900
emit @ events.js:223
addChunk @ _stream_readable.js:309
readableAddChunk @ _stream_readable.js:290
Readable.push @ _stream_readable.js:224
onStreamRead @ internal/stream_base_commons.js:181

VSCode_RSS_截图20201119125425

Certificate expiration error thrown when adding rss source

I tried to add https://www.solidot.org/index.rss as a feed, but an expired certificate error was thrown. I'm currently only having this problem when I add this feed.

RequestError: certificate has expired

But it doesn't actually expire. It will expire on Fri, 15 Oct 2021 23:59:59 GMT.

Other information that may be useful

  • VSCode: 1.59.1 x64 (3866c3553be8b268c8a7f8c0482c0c0177aa8bfa)
  • RSS: 0.10.1

error import OPML

latest stable vscode

  1. exported OPML from inoreader
  2. tried to import into the extension
  3. got "bad OPML format" (other RSS readers could import this without issues)

支持指定数据存储路径

包括:

  • 文章
  • 收藏
  • 阅读状态
  • 订阅

这样直接通过其他方式 (git/dropbox等) 就能跨设备同步数据了, 这种方式应该也能满足 #20 的诉求

vscode 1.38.1版本不兼容

想尝试一下,但在安装时提示下面的信息,无法安装。

Unable to install 'luyuhuang.rss' extension because it is not compatible with the current version of VS Code (version 1.38.1).

Limit of 20 unread articles?

I'm using this synced to my inoreader account and it seems that it only shows a maximum of 20 unread articles for any feeds. Any other unread articles don't appear.

Is this something that can be changed?

Full formatted article

this is feature request.

full article loading even if it is not included into RSS record.
(if you look at inoreader, there is a "cup" icon, this functionality
suppose you have an account there, just more clear to try this than for me try to explain )
if you don't have such sample feed , try this one:

default view:
image

full view (with "cup" - full article with pics , formatting and other objects):
image

VSCode blog feed 不提供内容

可恶的 VSCode blog 的 feed 都是没有内容的......

可以再抓取一次里面的链接的内容么?

不过,这不单单是 rss reader 该做的事情了,还要做个爬虫、解析 html、挖出文章内容。

https://code.visualstudio.com/feed.xml

<entry>
<title>Visual Studio Code July 2020</title>
<link href="https://code.visualstudio.com/updates/v1_48"/>
<updated>Thu Aug 13 2020 17:00:00 GMT+0000 (UTC)</updated>
<id>https://code.visualstudio.com/updates/v1_48</id>
<content type="html">
  <p>Visual Studio Code July 2020</p>
  <p>
    <a href="https://code.visualstudio.com/updates/v1_48">Read the full article</a>
  </p>
</content>
<author>
<name>Visual Studio Code Team</name>
</author>
</entry>

Existing articles in non-account based feed do not get updated if they change

I'm investigating your extension for use as an RSS feed extension for a VS Code environment which should report items on an RSS feed that might change. More specifically: the RSS feed shows the 10 most recent build server actions, showing a few specific details and their status. This status can change, and we'd like our developers to get updated when this status changes. However, with your reader, any existing RSS items do not get updated in the local view when they're updated in the feed. We're looking for a fully local solution because the RSS feed is usually not available from outside the network, so we're unable to use an external account or service like InoReader or TTRSS.

Is this feature something you'd consider adding?

常见操作的快捷访问

image

这些都是很常见的操作,每次点右键很繁琐。如果可以在鼠标悬停时直接出现在文章标题旁会更便捷。例如 git 操作右侧的按钮。

image

Add proxy support?

rsshub服务被墙了,请问能否允许走代理呢?这样就不用开全局模式了

Synchronization settings between devices may cause activation extension error

to avoid a lot of requests, just one issue with the extension for me:
two machines: comp1 and comp2

  1. added 10+ feeds locally on comp1
  2. the feeds were sycned on comp2 via settings and github account
  3. comp2 shows me news well, but comp1 does no, something happened with extension
  4. comp1: feeds in settings sync and equal to comp2 (where it works)
  5. extension doesn't work on comp1 even to add one more feed: I'm clicking on "+" - add an account and nothing happens , other extension buttons don't work too

any idea how to reset extension?

Originally posted by @amigo421 in #28 (comment)

refresh-account error running and can't refresh after that.

I want to refresh the feeds, so I pressed the refresh button in below location.
image

And then it reported the error and nothing will occur if I press the refresh button again and again
image

I remember the operation is OK after I opened Vscode, but it reports the above error when I pressed again after a long time.

import from OPML报错

错误信息:Error running command rss.import-from-opml: e.outline is not iterable. This is likely caused by the extension that contributes rss.import-from-opml.

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Feed Subscriptions</title>
</head>
<body>
  <outline title="资讯" text="资讯">
      <outline text="36氪 | 关注互联网创业" title="36氪 | 关注互联网创业" type="rss" 
            xmlUrl="http://36kr.com/feed" htmlUrl="http://36kr.com"/>
  </outline>
</body>
</opml>

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.