Skip to content

NewsBlur RSS service #137

Open
Open

Description

Activity

  1. added
    enhancement
    good first issue
    on Mar 20, 2026
  2. CrystalSplitter commented on Mar 20, 2026

    @CrystalSplitter
    Collaborator

    Realistically, as of right now, I don't have the bandwidth to add a new service. However, this seems easy enough to do for a new user. It's a feature, and we're looking for new contributors, so if you (or anyone reading this) wants to take a shot at integrating this, I'll do the review and guide you on writing tests for the service.

  3. added
    help wanted
    on Mar 20, 2026
  4. Simx72 commented on Mar 29, 2026

    @Simx72

    Hello,

    I would like to try 🖐️

    I'm new to contributing to open source, but I have programmed before in React

    *And I know how to use git

  5. CrystalSplitter commented on Mar 30, 2026

    @CrystalSplitter
    Collaborator

    Absolutely would love to have you! This should be relatively ~easy, I think.

    I am aware that both the greader API and the fever API work, so I would take these files as inspiration.

    I assume you're already familiar with building from source, but if not, check out BUILDING.md. Or if you use PNP or Nix, see the appropriate building instructions there.


    Of course, please do check out CONTRIBUTING.md and the CoC if you haven't already. They're pretty standard.

  6. Simx72 commented on Mar 30, 2026

    @Simx72

    Thank you. I will take a look at that

  7. Simx72 commented on Apr 1, 2026

    @Simx72

    Hi @CrystalSplitter, I'm using pnpm for developing. I have a doubt: should I track pnpm-lock.yaml in git, or remove it before committing, or add it to gitignore, or do I have to use npm (I'm programming on a laptop, so I would prefer another option)?

  8. CrystalSplitter commented on Apr 2, 2026

    @CrystalSplitter
    Collaborator

    Yeah, you can include the lockfile. I'll have to test your changes myself because you're using pnpm, but if it works for you, that's a good step.

  9. Simx72 commented on Apr 3, 2026

    @Simx72

    Ok, thank you.

  10. Simx72 commented on Apr 3, 2026

    @Simx72

    So NewsBlur works with an authentication cookie. Am I supposed to add that cookie to document.cookie, or to the ServiceConfigs? I found out. I have to use { credentials: 'include' } on the fetch(), and the browser will set it by automatically

    Also, most probably, the user would want to sign in only once, so how do you save this cookie, or the login credentials in a config/cache file?

    Also, to make a test file, I am using my personal credentials for the site (I created them to test). They are not very important to me but still I wouldn't like to share them publicly for someone to exploit. Is there a way to set a .env file for tests, or should I get test credentials from the NewsBlur dev?

    And also, do you have another communication system, like Discord or Matrix? I think that GitHub Issues is not the right place to ask these coding questions.

  11. CrystalSplitter commented on Apr 4, 2026

    @CrystalSplitter
    Collaborator

    Also, most probably, the user would want to sign in only once, so how do you save this cookie, or the login credentials in a config/cache file?

    Generally this is stored in the local user config file that's generated from the Redux state. At present, the password is stored in plaintext (very bad!), but this is true of the original Fluent Reader. Once written out, it looks something like:

    {
    	"version": "2.1.0",
    	"theme": "light",
    	"viewConfig": {
    		"currentView": 0,
    		"listViewConfigs": 1
    	},
    	"menuOn": false,
    	"sourceGroups": [
    		{
    			"isMultiple": true,
    			"name": "Test",
    			"expanded": true,
    			"sids": [
    				9
    			]
    		},
    		{
    			"isMultiple": true,
    			"name": "Uncategorized",
    			"expanded": false,
    			"sids": [
    				10
    			]
    		},
    		{
    			"isMultiple": false,
    			"sids": [
    				11
    			]
    		}
    	],
    	"pacOn": false,
    	"useNativeWindowFramePref": true,
    	"locale": "default",
    	"thumbnailTypePref": "opengraph",
    	"serviceConfigs": {
    		"type": 3,
    		"endpoint": "https://rss.woodpeckersnest.space/api/greader.php",
    		"username": "AUserName",
    		"password": "holy-shit-this-is-a-plaintext-password",
    		"fetchLimit": 250,
    		"useInt64": true,
    		"auth": "A Login Token Here???",
    		"lastId": "1774084084059756",
    		"lastFetched": 1774084084
    	},
    	"filterType": 19
    }

    Really this file needs to be not readable by the world... How on earth is this what Fluent Reader does???

    Whatever, we can fix this. I should probably find a way to both encrypt passwords at rest as well as prevent this file from being world-readable. But that's for a separate bug. That's not your job here.

    Also, to make a test file, I am using my personal credentials for the site (I created them to test). They are not very important to me but still I wouldn't like to share them publicly for someone to exploit. Is there a way to set a .env file for tests, or should I get test credentials from the NewsBlur dev?

    Tests are currently done by recording network responses and writing them back out as if the service actually existed. Automated tests should not actually conduct any network calls, but they should act identically to a network call. See the feeder test for an example.

  12. CrystalSplitter commented on Apr 4, 2026

    @CrystalSplitter
    Collaborator

    Finally:

    And also, do you have another communication system, like Discord or Matrix? I think that GitHub Issues is not the right place to ask these coding questions.

    I actually generally prefer technical discussions out in the open as they help others do development! It's a very important learning experience (and I myself grew up on doing development via email forums).

    That being said, I'm happy to speed up development for you if Discord/Matrix would help. Feel free to email me at the email address listed on my blog (https://crystalwobsite.gay/about) and I'll send you my discord. I don't post them publicly.

  13. Simx72 commented on Apr 5, 2026

    @Simx72

    Hello, thank you for the fast response.

    Actually, if it is ok with you, I will keep asking and noting everything about what I do in the app here. At least, until I have a pull request ready.

    Second, I will do that for the tests then...

    Third, I'd prefer not sharing my Discrod either, but because I don't like Discord being closed source and having a system for age verification. So, if you ever want to write, you can use my matrix @Simx72:matrix.org

    And finally, I like a lot your website xd, I'll probably add some of those stickers to mine

  14. CrystalSplitter commented on Apr 12, 2026

    @CrystalSplitter
    Collaborator

    hah, glad you like my website :).

    Checking in again if you need any help. Always delighted to have new contributors. That's just in general really important for a community-focused project like Fluentflame Reader.

    I'll reach out to you on matrix as well. Been a bit since I logged on, but I think my account still works on matrix.org.

  15. CrystalSplitter commented on Apr 17, 2026

    @CrystalSplitter
    Collaborator

    That looks good! I can review properly when you do a PR, but at a glance it's got everything I could possibly ask of you.

  16. Simx72 commented on Apr 17, 2026

    @Simx72

    I'll try to create each function of ServiceConfigs and then make a pull request. Thank you for your feedback

  17. CrystalSplitter commented on May 2, 2026

    @CrystalSplitter
    Collaborator

    Hiya Simx72! Checking in again just to ask if you needed any help at all. No rush, this is volunteer work. Had a recent ping for more newsblur support, so wanted to add that to the list.

  18. Simx72 commented on May 6, 2026

    @Simx72

    Hi. Well, I've been very busy. It's the end of the semester in my unversity so I'm full of projects and exams. I'll focus again on this in June.

    If you need the code, everything is in the fork I made, publicly in Github.

  19. CrystalSplitter commented on May 6, 2026

    @CrystalSplitter
    Collaborator

    Nope, you're fine. Just wanted to be sure it wasn't blocked on me. Hope you have a nice end of semester, and good luck!

  20. Simx72 commented on Jul 26, 2026

    @Simx72

    Hello, thank you so much for your wishes. It was very good.

    I have been implementing some functions recently, I try to do as much as possible without asking, so that I can compile all questions in one single message and ask them together. I am also learning Redux and how it is implemented in fluentflame, so some questions have probably an easy solution but I still don't have that knowledge.

    Right now, I am implementing markRead(), but I'm having a problem: to do it, I need to send a POST request to /reader/mark_story_hashes_as_read with a hash, but this hash is obtained when getting the stories from Newsblur (story = RSSItem) in fetchItems(). The problem is that when I get the story, I need to convert it to an RSSItem, but then I would lose the hash, there is no "extra info" field in the RSSItem; I could add a property to RSSItem, like newsblurHash: string | undefined, but I don't know if it would persist between both functions (like, I need a variable written in fetchItems() and read in markRead()).

    (Also, I could calculate this hash but then I would need another variable that is the id of the feed provided, again, by newsblur)

    Can I add this field to RSSItem class? What do you think is the best solution?

    Next question is about thumbnails. I would just like to know if I have to download an image and put it somewhere, like a cache folder, or just put the link to the image? I think I just have to put the external link in the RSSItem.thumb property, but I just want to make sure.

    @CrystalSplitter

  21. CrystalSplitter commented on Jul 26, 2026

    @CrystalSplitter
    Collaborator

    Right now, I am implementing markRead(), but I'm having a problem: to do it, I need to send a POST request to /reader/mark_story_hashes_as_read with a hash, but this hash is obtained when getting the stories from Newsblur (story = RSSItem) in fetchItems(). The problem is that when I get the story, I need to convert it to an RSSItem, but then I would lose the hash, there is no "extra info" field in the RSSItem; I could add a property to RSSItem, like newsblurHash: string | undefined, but I don't know if it would persist between both functions (like, I need a variable written in fetchItems() and read in markRead()).

    If we need to add a field, we need to add a field. That being said, this is what the existing serviceRef field is already for! What are you using it for currently?

    On specifically....

    but I don't know if it would persist between both functions (like, I need a variable written in fetchItems() and read in markRead()).

    Not quite sure what you mean here, sorry. But fetchItems is stateful, and updates the redux state, as does markRead. Both operate on shallow copies to prevent async confusion.
    It would be easier to tell what issue you're encountering if you have a draft PR (it's okay if it's bad! I promise! Reviewing slop PRs is like 90% of my job right now, so you're doing better already). I expect contributors to need a lot of help on first PR.

  22. CrystalSplitter commented on Jul 26, 2026

    @CrystalSplitter
    Collaborator

    Next question is about thumbnails. I would just like to know if I have to download an image and put it somewhere, like a cache folder, or just put the link to the image? I think I just have to put the external link in the RSSItem.thumb property, but I just want to make sure.

    This is already done by the electron fetch cache + thumbnail cache. You don't need to do anything special. Just use the existing generateThumbnailAttrList and try to pass as many relevant opt params as possible (many will not exist).

  23. Simx72 commented on Jul 31, 2026

    @Simx72

    Okk thank you. I'll do the pull request then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions