You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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)?
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.
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:
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.
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).
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
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.
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.
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.
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.
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).
Activity
CrystalSplitter commentedon Mar 20, 2026
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.
Simx72 commentedon Mar 29, 2026
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
CrystalSplitter commentedon Mar 30, 2026
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.
Simx72 commentedon Mar 30, 2026
Thank you. I will take a look at that
Simx72 commentedon Apr 1, 2026
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)?
CrystalSplitter commentedon Apr 2, 2026
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.
Simx72 commentedon Apr 3, 2026
Ok, thank you.
Simx72 commentedon Apr 3, 2026
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 automaticallyAlso, 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.
CrystalSplitter commentedon Apr 4, 2026
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.
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.
CrystalSplitter commentedon Apr 4, 2026
Finally:
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.
Simx72 commentedon Apr 5, 2026
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
CrystalSplitter commentedon Apr 12, 2026
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.
Simx72 commentedon Apr 16, 2026
I did the test like this
https://github.com/Simx72/fluentflame-reader/blob/0413ba8cceb0f22339103d225c0abda17a543ca4/tests/scripts/models/services/test_newsblur.ts
Is that ok?
CrystalSplitter commentedon Apr 17, 2026
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.
Simx72 commentedon Apr 17, 2026
I'll try to create each function of ServiceConfigs and then make a pull request. Thank you for your feedback
CrystalSplitter commentedon May 2, 2026
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.
Simx72 commentedon May 6, 2026
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.
CrystalSplitter commentedon May 6, 2026
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!
Simx72 commentedon Jul 26, 2026
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_readwith a hash, but this hash is obtained when getting the stories from Newsblur (story = RSSItem) infetchItems(). 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, likenewsblurHash: string | undefined, but I don't know if it would persist between both functions (like, I need a variable written infetchItems()and read inmarkRead()).(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.thumbproperty, but I just want to make sure.@CrystalSplitter
CrystalSplitter commentedon Jul 26, 2026
If we need to add a field, we need to add a field. That being said, this is what the existing
serviceReffield is already for! What are you using it for currently?On specifically....
Not quite sure what you mean here, sorry. But
fetchItemsis stateful, and updates the redux state, as doesmarkRead. 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.
CrystalSplitter commentedon Jul 26, 2026
This is already done by the electron fetch cache + thumbnail cache. You don't need to do anything special. Just use the existing
generateThumbnailAttrListand try to pass as many relevantoptparams as possible (many will not exist).Simx72 commentedon Jul 31, 2026
Okk thank you. I'll do the pull request then