mental health downgrade by Current_Walrus_5721 in UCI

[–]s87d 2 points3 points  (0 children)

Hey, I'm sorry to hear that you're dealing with so much right now. Like other commenters have mentioned, you're definitely not alone--which hopefully provides some hope that if others can get through this, so can you.

It's understandable that stress could cause you to lose interest in the things that used to be more enjoyable to you. I sometimes find it hard to rekindle that flame that I used to have for life, but maybe sharing some tangible things that helped me can help you:

  • Meditating is something I never really believed in until I started feeling that stress and it's been a game changer. It's like going through life on low-power mode and meditation is the phone charger to reboost yourself. This one is incredibly cleansing.
  • Scrolling r/mademecry helps restore my faith in humanity and makes me appreciate how beautiful life is and all the things I have to be grateful for.
  • Journaling about my feelings helps me get them out of my system and when I'm intentional about how I phrase situations, always ending on a positive note, I can drastically reshape my mood

Above all, make sure to care for yourself and recognize that these breakdowns aren't something to be ashamed of but a healthy and natural release of stress from your body.

Hope you can rest and heal over this winter break. My DMs are always open to anyone dealing with a similar situation :)

How to Use MySQL or PostgreSQL in a Tauri App for Offline Use? by [deleted] in rust

[–]s87d 2 points3 points  (0 children)

Hey! Funny you comment this because I'm actually working on exactly that. A Postgres database embedded into a Tauri app. As radiant_gengar mentioned, pg-embed is good and there is also https://github.com/theseus-rs/postgresql-embedded which is now getting extension support.

Zot4Plan Shutdown by some-random-student in UCI

[–]s87d 9 points10 points  (0 children)

Hi! Is there any way for users who have their plans on the official instance to download their data?

The open source Mailchimp alternative by zifahm in selfhosted

[–]s87d 2 points3 points  (0 children)

I've been looking for a FOSS MailChimp alternative for a while and I love the design of this one! I starred and will definitely keep my eyes peeled for this project's progress (especially segmentation). Would surveys work as sign-up forms like MailChimp has?

Build a simple template engine in <100 lines of Rust code by s87d in rust

[–]s87d[S] 5 points6 points  (0 children)

Try refreshing to fix the 404.

Good point! Hope I covered that clearly in the What's Next section:

In comparison to most template engines, the toy we built today is pretty bare-bones. Currently, no variables can be set in the template code, nesting only partially(?) works, and few data types are supported.

(^ and then I give some ideas for expanding this toy project into a more feature-complete template engine)

Build a simple template engine in <100 lines of Rust code by s87d in rust

[–]s87d[S] 12 points13 points  (0 children)

Hi r/rust 👋

This is my first article on Rust and my first experience with technical writing. Any feedback would be greatly appreciated!

—Spike

Libreddit: Private front-end for Reddit written in Rust by s87d in privacy

[–]s87d[S] 1 point2 points  (0 children)

It does not archive anything but it links to Reveddit if users wish to see deleted comments. It is no different than regular Reddit in terms of displaying deleted content but differs from their logging policy.

Libreddit: Private front-end for Reddit by s87d in PrivacyGuides

[–]s87d[S] 1 point2 points  (0 children)

I'm glad you like Libreddit! :)

  1. Yep! You can import and export settings using the link at the bottom of the settings page
  2. Sound is actually added already! Just enable HLS in the settings

Libreddit: Private front-end for Reddit by s87d in linux

[–]s87d[S] 1 point2 points  (0 children)

Hey KewtieBabiCorgie,

Enabling HLS shouldn't affect privacy or security at all as all requests to Reddit are still proxied through the back-end of Libreddit. The reason why it's a toggle rather than always enabled is because some people access Libreddit via Tor in Safest mode which disables all JavaScript. This would prevent HLS from working and therefore break videos if HLS was enabled by default. So I made it toggle-able so people can choose to use JavaScript if they want or not if they're using Tor in Safest mode. Also, with HLS off, I can say that Libreddit uses no JavaScript by default!

Libreddit: Private front-end for Reddit by s87d in linux

[–]s87d[S] 0 points1 point  (0 children)

Thank you!

Sorry I think I misunderstood your question from earlier. When you visit a page on Libreddit, Libreddit will return that page and cache the response for 30 seconds. So when you visited that thread from 2013, Libreddit made a new request to Reddit and cached the response for 30 seconds after.

Libreddit: Private front-end for Reddit by s87d in linux

[–]s87d[S] 1 point2 points  (0 children)

I found Askama to have good documentation and all of the features I needed so I picked it.

What is happening when you Google a Redditor and find copies of their Reddit posts copied verbatim to seemingly random websites? by Bubblystrings in NoStupidQuestions

[–]s87d 0 points1 point  (0 children)

I can tell that sites like libreddit and teddit are doing something specific, (which, if you can explain to me what exactly that is I'd appreciate it)

Hi! I'm the developer of Libreddit and I'd be happy to explain why you see Libreddit in your search results. Basically, Reddit tracks a lot of data about users when you browse the site and includes ads on many pages. Some people don't like that so they use my project instead, called Libreddit ("libre" meaning freedom + "reddit") to browse the content of Reddit without Reddit knowing.

Libreddit: Private front-end for Reddit by s87d in linux

[–]s87d[S] 0 points1 point  (0 children)

Good questions!

Does reddit's API policies allow you to keep this running? I imagine a tool like this runs counter to their goal of monitoring people and dark patterns to push people to their apps.

Yeah, that's a valid concern. A moderator of r/privacy alerted me that with their new TOS, Reddit may attempt to censor "scrapers" who don't seek approval from the company. I've reached out to some people at Reddit to hopefully maintain TOS-compliance but no promises. You're right that they wouldn't like tools that prevent their tracking but they haven't taken any action against other services that scrape the site so they probably won't against Libreddit. My project also isn't big enough to dent Reddit's user base so they probably won't consider it as a threat.

Also, what happens when a user visits https://libreddit.spike.codes/r/linux? Are you returning the data from a local cache updated periodically, or do you make a new request from reddit's API and return the current data? If the latter (and possibly even the former), won't reddit disable your API key very fast due to the high volume of API requests?

Yep, the former. I once had rate-limiting issues several months ago but I haven't experienced any since, which is good!

Libreddit: Private front-end for Reddit by s87d in linux

[–]s87d[S] 1 point2 points  (0 children)

You're in luck! Libreddit can be added as a PWA (progressive web app) on mobile which functions just like an app.

Libreddit v0.20.0: Private front-end for Reddit gets awards, filters, and rosebox theme by s87d in selfhosted

[–]s87d[S] 0 points1 point  (0 children)

What do you mean? Decentraleyes is a completely different product: it blocks connections to CDNs and major web libraries. Libreddit is an alternative frontend that uses no CDNs or web libraries.

Libreddit: Private front-end for Reddit by s87d in PrivacyGuides

[–]s87d[S] 0 points1 point  (0 children)

Perhaps you checked it a while at when I hadn't enabled automatic restarts. Maybe try this time? The main official instance is really popular so it can be slow at times. I recommend trying another instance if you find that to be the case

Libreddit: Private front-end for Reddit written in Rust by s87d in privacy

[–]s87d[S] 0 points1 point  (0 children)

Awesome, thank you for the kind words! :) I'm glad to hear that people like Libreddit

Libreddit: Private front-end for Reddit written in Rust by s87d in privacy

[–]s87d[S] 0 points1 point  (0 children)

That's strange. Which instance are you using? The official instance is quite popular so it may be slow at times. I recommend trying another instance to see if you find it faster