9

Pulsar 1.133.0: El Niño edition

Pulsar 1.133.0: El Niño edition blog.pulsar-edit.dev
preview

cross-posted from: lemmy.ca/post/73673850

FYI the abandoned text editor, markdown editor and overall tool Atom had an open source fork called Pulsar that is on Flathub which is what Steam OS uses for the Discover “app store”. Pulsar is also supported on Mac and Windows as well as the below package managers pulsar-edit.dev/download/#latest-version -AUR -GURU -Homebrew -FlatPak -Nixpkgs -AM/AppMan -Pacstall

flathub.org/en/apps/dev.pulsar_edit.Pulsar

docs.pulsar-edit.dev/using-pulsar/

docs.pulsar-edit.dev/using-pulsar/packages/

Check it out!

docs.pulsar-edit.dev/…/what-is-pulsar/#title

packages.pulsar-edit.dev/packages

Back in 2014, GitHub launched a cross-platform, free, and open-source text editor called Atom. To accomplish the tall task of supporting several operating systems from a single codebase, the Atom developers created an application framework that joined the Chromium browser engine onto Node.js. At the time, they called it Atom Shell.

Over time, the functionality of Atom Shell would expand, eventually becoming its own project called Electron. Electron would surpass Atom itself in popularity, becoming the platform of choice for software like GitHub Desktop, Visual Studio Code, Discord, and Slack.

Atom’s momentum slowed somewhat in 2018 when GitHub was purchased by Microsoft. Releases continued, but no new major features followed, and the editor entered a long twilight period before its official sunset at the end of 2022.

Atom’s official sunset day was the same day as the first beta release of Pulsar. The Pulsar core team largely consisted of former contributors to the atom-community organization. The team grew a new community and attracted new maintainers in order to turn Pulsar into the editor it is today: a successor to Atom that shares its philosophy of being a community-led, hyper-hackable text editor.

Atom was a really nice tool that was abandoned, and it is pretty damn cool to be able to get it on a Steam Device so easy!

cross-posted from: lemmy.ca/post/73673850

FYI the abandoned text editor, markdown editor and overall tool Atom had an open source fork called Pulsar that is on Flathub which is what Steam OS uses for the Discover “app store”. Pulsar is also supported on Mac and Windows as well as the below package managers pulsar-edit.dev/download/#latest-version -AUR -GURU -Homebrew -FlatPak -Nixpkgs -AM/AppMan -Pacstall

flathub.org/en/apps/dev.pulsar_edit.Pulsar

docs.pulsar-edit.dev/using-pulsar/

docs.pulsar-edit.dev/using-pulsar/packages/

Check it out!

docs.pulsar-edit.dev/…/what-is-pulsar/#title

packages.pulsar-edit.dev/packages

Back in 2014, GitHub launched a cross-platform, free, and open-source text editor called Atom. To accomplish the tall task of supporting several operating systems from a single codebase, the Atom developers created an application framework that joined the Chromium browser engine onto Node.js. At the time, they called it Atom Shell.

Over time, the functionality of Atom Shell would expand, eventually becoming its own project called Electron. Electron would surpass Atom itself in popularity, becoming the platform of choice for software like GitHub Desktop, Visual Studio Code, Discord, and Slack.

Atom’s momentum slowed somewhat in 2018 when GitHub was purchased by Microsoft. Releases continued, but no new major features followed, and the editor entered a long twilight period before its official sunset at the end of 2022.

Atom’s official sunset day was the same day as the first beta release of Pulsar. The Pulsar core team largely consisted of former contributors to the atom-community organization. The team grew a new community and attracted new maintainers in order to turn Pulsar into the editor it is today: a successor to Atom that shares its philosophy of being a community-led, hyper-hackable text editor.

Atom was a really nice tool that was abandoned, and it is pretty damn cool to be able to get it on a Steam Device so easy!

18

Anyone know of a FOSS type kids messenger?

preview

cross-posted from: lemmy.today/post/63107763

I’m looking for something like Snikket or Prosody, but kids-oriented. I DON’T want my <10 daughter using Meta Messenger Kids! I’ll tell my friends to setup for their kids, too. I’d have no access to anything, so it’s secure (mom and dad not snooping per se), but the downside is minimal parental controls. Though, no one to really add either.

I’ll host or pay for it, IDC. It doesn’t seem like there is much out there either.

JusTalk seemed nice when I found out but apparently China owned and so no more secure. I/we need better options!

cross-posted from: lemmy.today/post/63107763

I’m looking for something like Snikket or Prosody, but kids-oriented. I DON’T want my <10 daughter using Meta Messenger Kids! I’ll tell my friends to setup for their kids, too. I’d have no access to anything, so it’s secure (mom and dad not snooping per se), but the downside is minimal parental controls. Though, no one to really add either.

I’ll host or pay for it, IDC. It doesn’t seem like there is much out there either.

JusTalk seemed nice when I found out but apparently China owned and so no more secure. I/we need better options!

9

(Update) Onboard predictive text broken.

preview

Update: it works in Firefox and Librewolf but not Waterfox? But if it was just a browser issue then it would work in the Obsidian desktop app and it doesn’t.

Hello all! Sorry if this is the wrong community, please direct me to the right one if so.

I use Onboard on Linux Mint. Due to disability, typing is slow and tedious and predictive text is a crucial accessibility feature for online communication. For some reason, Onboard’s predictive text only seems to work in Text Editor and Libreoffice. It doesn’t work in Obsidian, or Signal, or anywhere on the web, really.

What should I do?

Update: it works in Firefox and Librewolf but not Waterfox? But if it was just a browser issue then it would work in the Obsidian desktop app and it doesn’t.

Hello all! Sorry if this is the wrong community, please direct me to the right one if so.

I use Onboard on Linux Mint. Due to disability, typing is slow and tedious and predictive text is a crucial accessibility feature for online communication. For some reason, Onboard’s predictive text only seems to work in Text Editor and Libreoffice. It doesn’t work in Obsidian, or Signal, or anywhere on the web, really.

What should I do?

16

Can I make a portable modem out of a linux phone?

preview

Hi all,

I would like to use a linux phone with Ubuntu Touch or PostmarketOS to make a sort of mobile modem which, when my laptop connects to the phone’s hotspot, would have Pihole for DNS and a VPN. Is this possible, and which general steps would you recommend to go about it? I have installed PostmarketOS on a Poco F1 and connected to my VPN using openvpn in the terminal, but then when I open a browser on the same phone and check my ip address it shows the address of the wifi I’m connected to, not the VPN. So it seems I have no idea about the architecture of this endeavor.

I hope to have this working by Christmas when I go to visit my parents. The intended internet connection would be

home wifi —> linux phone [some level of privacy]—> my laptop wifi

Thank you in advance!

Hi all,

I would like to use a linux phone with Ubuntu Touch or PostmarketOS to make a sort of mobile modem which, when my laptop connects to the phone’s hotspot, would have Pihole for DNS and a VPN. Is this possible, and which general steps would you recommend to go about it? I have installed PostmarketOS on a Poco F1 and connected to my VPN using openvpn in the terminal, but then when I open a browser on the same phone and check my ip address it shows the address of the wifi I’m connected to, not the VPN. So it seems I have no idea about the architecture of this endeavor.

I hope to have this working by Christmas when I go to visit my parents. The intended internet connection would be

home wifi —> linux phone [some level of privacy]—> my laptop wifi

Thank you in advance!

4

ScreenGuard v0.1.1 is finally out after 2+ months of beta testing. Control your Screen time natively on Linux with focus mode, pomodoro mode and per app daily limits and multiple other features

GitHub Release ScreenGuard v0.1.1 · adityakrishnan005-a11y/ScreenGuard github.com
preview

Read the wiki for details and full understanding of project here: github.com/adityakrishnan005-a11y/…/wiki

Link to latest release: github.com/adityakrishnan005-a11y/…/v0.1.1

Read the wiki for details and full understanding of project here: github.com/adityakrishnan005-a11y/…/wiki

Link to latest release: github.com/adityakrishnan005-a11y/…/v0.1.1

12

Questions about proprietary software in a "mostly FOSS" Linux-based project and app store

preview

There’s an app being presented in a small store with Linux apps, without any licensing information or link to its source code. The package archive contains mostly scripted code, one compiled executable, and this license:

Copyright (c) 2026 …. All rights reserved.

Proprietary software.

Third-party components and assets retain their respective licenses and notices.

There is no additional licenses at all in the whole package, not even in the SVGs that the dev most definitely did not create from scratch.

The app probably pulls in these third party components during runtime, or provides them inside the archive. Short of analyzing every single file in the package I have no idea.

Most of these third party components seem to be pulled from the developers own website (murky), one or two are not, and those are most definitely open-source-licensed, probably GPL.

I raised an issue about transparency requirements in the app store. Not about this one developer - yet.

Most contributors do provide source code and a GPL or similar license, but the app store’s policy phrases this as a nice thing, not a must. But there’s always been a strong faction that does not care about such things at all. And there’s a rising tide of new, mostly LLM-assisted apps that have no concept of transparency, or qualms about stealing code - be it through the LLM or directly.

All in all this is one of those projects that mix FOSS-licensed Linux stuff with proprietary-licensed and closed source stuff in a very unfortunate way.

Is there any sort of legal situation here?


Apart from that - what else would you say about murky ethics here? What arguments can I use to make my point? There’s many similar packages up on that store.

Many people suspect that this developer is lying when they say they’re not using LLMs for development. Any way to disprove that claim based on the package archive?


While writing this I analyzed the software package in question a bit more and I’m pretty sure I know the answer already, but I’m still asking the question. Maybe I missed something, or maybe there is a legal issue I’m not aware of…


Disclaimer: if you think I posted this in the wrong community please refrain from commenting or downvoting, use the report button instead. Thank you. FWIW, I did read the sidebar and imo it is open-ended enough to allow for questions like this one.

There’s an app being presented in a small store with Linux apps, without any licensing information or link to its source code. The package archive contains mostly scripted code, one compiled executable, and this license:

Copyright (c) 2026 …. All rights reserved.

Proprietary software.

Third-party components and assets retain their respective licenses and notices.

There is no additional licenses at all in the whole package, not even in the SVGs that the dev most definitely did not create from scratch.

The app probably pulls in these third party components during runtime, or provides them inside the archive. Short of analyzing every single file in the package I have no idea.

Most of these third party components seem to be pulled from the developers own website (murky), one or two are not, and those are most definitely open-source-licensed, probably GPL.

I raised an issue about transparency requirements in the app store. Not about this one developer - yet.

Most contributors do provide source code and a GPL or similar license, but the app store’s policy phrases this as a nice thing, not a must. But there’s always been a strong faction that does not care about such things at all. And there’s a rising tide of new, mostly LLM-assisted apps that have no concept of transparency, or qualms about stealing code - be it through the LLM or directly.

All in all this is one of those projects that mix FOSS-licensed Linux stuff with proprietary-licensed and closed source stuff in a very unfortunate way.

Is there any sort of legal situation here?


Apart from that - what else would you say about murky ethics here? What arguments can I use to make my point? There’s many similar packages up on that store.

Many people suspect that this developer is lying when they say they’re not using LLMs for development. Any way to disprove that claim based on the package archive?


While writing this I analyzed the software package in question a bit more and I’m pretty sure I know the answer already, but I’m still asking the question. Maybe I missed something, or maybe there is a legal issue I’m not aware of…


Disclaimer: if you think I posted this in the wrong community please refrain from commenting or downvoting, use the report button instead. Thank you. FWIW, I did read the sidebar and imo it is open-ended enough to allow for questions like this one.

38

Is there a reason for all of the apps I've installed from F-Droid to update at the same time?

preview

Opened up F-Droid to check for updates and all of the apps I’ve installed have one. It’s the first time I’ve seen this happen. Is there a reason for it, maybe has to do with googles money grubbing hands?

Opened up F-Droid to check for updates and all of the apps I’ve installed have one. It’s the first time I’ve seen this happen. Is there a reason for it, maybe has to do with googles money grubbing hands?

32

Is it possible to reverse engineer apps made by phone OEMs to work without Google Play services?

preview

I’ve loaded LineageOS which has been great, so far. However, missing OEM apps from OnePlus like the camera to take full advantage is really lacking.

Through APK Pure you can obtain the OEM apps, but they don’t run bc I’m missing the services necessary to function. I don’t want to use AI to do this, but I’ve seen a lot of game ports or resurrected games come to light, thanks you people reverse engineer games removing DRM of other limitations, so I’ve considered it. I believe this requires a locally run AI tool cuz commercial versions obviously would stop that ASAP.

Any app tools anyone is aware of to just deactivate the need, or remove, etc? My old TCL phone had the best IR blaster app I’ve ever used, and I’m missing that dearly, too!

I’ve loaded LineageOS which has been great, so far. However, missing OEM apps from OnePlus like the camera to take full advantage is really lacking.

Through APK Pure you can obtain the OEM apps, but they don’t run bc I’m missing the services necessary to function. I don’t want to use AI to do this, but I’ve seen a lot of game ports or resurrected games come to light, thanks you people reverse engineer games removing DRM of other limitations, so I’ve considered it. I believe this requires a locally run AI tool cuz commercial versions obviously would stop that ASAP.

Any app tools anyone is aware of to just deactivate the need, or remove, etc? My old TCL phone had the best IR blaster app I’ve ever used, and I’m missing that dearly, too!

5

HAVEN - A private Discord alternative that runs on your own machine. No cloud, no company account, no telemetry, no paid tier. Free forever.

GitHub GitHub - ancsemi/Haven: Self-hosted private chat: no cloud, no telemetry, no Big Tech. Discord alternative that runs on your own machine. github.com
preview

Seems too good to be true by the feature list.

Seems too good to be true by the feature list.

29

Aftergleam - academic papers

preview

If you read scientific papers, you know how hard it is to keep up with the hundreds of new ones published every day on arXiv and other preprint servers. So Aftergleam is a private app that learns your interests locally on your phone. Your data never leaves your device, and the app shows you the relevant new papers in your field: computer science, engineering, biology, medicine, chemistry, law and more. You can read offline papers in PDF or Reader mode.

Here’s the website and the code. Feedback is welcome, and I hope you enjoy the app as much as I do!

aftergleam.app

github.com/jakobkreft/Aftergleam

If you read scientific papers, you know how hard it is to keep up with the hundreds of new ones published every day on arXiv and other preprint servers. So Aftergleam is a private app that learns your interests locally on your phone. Your data never leaves your device, and the app shows you the relevant new papers in your field: computer science, engineering, biology, medicine, chemistry, law and more. You can read offline papers in PDF or Reader mode.

Here’s the website and the code. Feedback is welcome, and I hope you enjoy the app as much as I do!

aftergleam.app

github.com/jakobkreft/Aftergleam

6

Notesnook Desktop v3.4.9

Notesnook by Streetwriters LLC Notesnook Desktop v3.4.9 notesnook.com
preview

cross-posted from: https://piefed.social/c/notesnook@lemmy.world/p/2460484/notesnook-desktop-v3-4-9

Notesnook Desktop v3.4.9 adds localization support, making the app easier to use in different languages. More translations will be added over time.

You can switch the desktop app’s language from Settings -> Behavior Settings -> General.

Contributors are welcome to review the current language translations and add more in the Notesnook repository.

Full changelog: https://github.com/streetwriters/notesnook/compare/v3.4.8…v3.4.9

cross-posted from: https://piefed.social/c/notesnook@lemmy.world/p/2460484/notesnook-desktop-v3-4-9

Notesnook Desktop v3.4.9 adds localization support, making the app easier to use in different languages. More translations will be added over time.

You can switch the desktop app’s language from Settings -> Behavior Settings -> General.

Contributors are welcome to review the current language translations and add more in the Notesnook repository.

Full changelog: https://github.com/streetwriters/notesnook/compare/v3.4.8…v3.4.9

10

A FOSS app for electric scooters?

preview

I’m hoping someone can point me in the right direction for an app similar to GadgetBridge but for electric scooters.

I didn’t seem to find anything on F-Droid, but might be a name that didn’t come up in search.

TIA!

I’m hoping someone can point me in the right direction for an app similar to GadgetBridge but for electric scooters.

I didn’t seem to find anything on F-Droid, but might be a name that didn’t come up in search.

TIA!

13

Squid (Simplifying Quantitive Imaging Development and Deployment) microscopes

Prakash Lab Squid &mdash; Prakash Lab prakashlab.stanford.edu
preview

cross-posted from: slrpnk.net/post/43551913

After reading the article about 31 New species discovered in 2 weeks of exploration, it was mentioned that they used a microscope, known as Squid,which is an open-source, confocal microscope

From their site:

What is Squid?

Squid is a quantitative imaging platform with a full suite of hardware and software components and configurations for deploying facility-grade widefield microscopes at a fraction of the cost of commercial solutions. Developed with the goal of helping translate the rapid advances in the field of microscopy and microscopy-enabled methods, including those powered by deep learning, we envision Squid will simplify roll-out of microscopy-based applications - including at point of care and in low resource settings, make adoption of new or otherwise advanced techniques easier, and significantly increase the available microscope-hours to labs.

Significance

Manual microscopy has served as a bedrock for the diagnostics of various infectious diseases, although at a cost of tedious labor and human errors. Imagine looking for 1 to 5 parasites amongst 5 million red blood cells. Currently, microscopists can take up to 10-15 minutes to review a single slide. Automated robotic microscopes are poised to enable a new era of smart field microscopy but current platforms remain cost prohibitive and largely inflexible, especially for resource-poor and field settings.

github repos
CAD models linked available here (a lot of google links there (docs, drive, etc))

tags frugal science microscopy tracking fluorescence excitation patterned illumination instrumentation frugal science malaria

cross-posted from: slrpnk.net/post/43551913

After reading the article about 31 New species discovered in 2 weeks of exploration, it was mentioned that they used a microscope, known as Squid,which is an open-source, confocal microscope

From their site:

What is Squid?

Squid is a quantitative imaging platform with a full suite of hardware and software components and configurations for deploying facility-grade widefield microscopes at a fraction of the cost of commercial solutions. Developed with the goal of helping translate the rapid advances in the field of microscopy and microscopy-enabled methods, including those powered by deep learning, we envision Squid will simplify roll-out of microscopy-based applications - including at point of care and in low resource settings, make adoption of new or otherwise advanced techniques easier, and significantly increase the available microscope-hours to labs.

Significance

Manual microscopy has served as a bedrock for the diagnostics of various infectious diseases, although at a cost of tedious labor and human errors. Imagine looking for 1 to 5 parasites amongst 5 million red blood cells. Currently, microscopists can take up to 10-15 minutes to review a single slide. Automated robotic microscopes are poised to enable a new era of smart field microscopy but current platforms remain cost prohibitive and largely inflexible, especially for resource-poor and field settings.

github repos
CAD models linked available here (a lot of google links there (docs, drive, etc))

tags frugal science microscopy tracking fluorescence excitation patterned illumination instrumentation frugal science malaria

28

What do LineageOS and F-Droid (and possibly other mobile FLOSS) have to say about AI/LLM usage?

preview

For context, I have been using a pretty niche OS on my phone for a long time but recently the community and the 3rd party appstores are flooded with LLM content - and fans. Its ethical, geopolitical and societal dangers are handwaved away at best, or ridiculed or countered with stupid non-arguments ("you wouldn’t tell a farmer not to use a tractor").

Everybody is in a hurry to churn out the next pretty port of an Android app.

The actual OS devs have not taken any sort of public stance, not even in comments.

And it got me thinking. If this continues maybe LineageOS & F-Droid (no Gapps of course) might turn out to be a better alternative again, despite it being essentially Android and Not True Linux.

But how do they position themselves with AI?

If you want to suggest a 3rd option, please do so - but only if it works reliably as a daily driver - incl. telephony and messaging - on at least a small number of consumer devices that are no older than 8 years.
And only if they clearly position themselves against AI in code and generally.

For context, I have been using a pretty niche OS on my phone for a long time but recently the community and the 3rd party appstores are flooded with LLM content - and fans. Its ethical, geopolitical and societal dangers are handwaved away at best, or ridiculed or countered with stupid non-arguments ("you wouldn’t tell a farmer not to use a tractor").

Everybody is in a hurry to churn out the next pretty port of an Android app.

The actual OS devs have not taken any sort of public stance, not even in comments.

And it got me thinking. If this continues maybe LineageOS & F-Droid (no Gapps of course) might turn out to be a better alternative again, despite it being essentially Android and Not True Linux.

But how do they position themselves with AI?

If you want to suggest a 3rd option, please do so - but only if it works reliably as a daily driver - incl. telephony and messaging - on at least a small number of consumer devices that are no older than 8 years.
And only if they clearly position themselves against AI in code and generally.

10

SRsync: Trying to make command line rsync easier to use

Codeberg.org srsync codeberg.org
preview

For a while now I’ve been using rsync to manage my file transfers and backups. I find it to be quite a powerful and flexible tool but sometimes it’s just a bit too awkward to use in a terminal.

I created this script to simplify the use of rsync to be a similar experience to using interactive cp (cp -i) but with a preview generated by rsync --archive --partial --progress --verbose --human-readable --dry-run. This gives me a chance to properly review any file changes before I decide to commit any changes.

For example, if I want sync the contents of ~/directory_a to ~/directory_b, I can do the following:

$ srsync ./directory_a/ ./directory_b/
Rsync File Transfer: DRY RUN
Source:		./directory_a/
Destination:	./directory_b/

sending incremental file list
./
file_1

sent 86 bytes  received 22 bytes  216.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)

Continue? [Yes/No]: y
Continuing...

Rsync File Transfer: TRANSFER
Source:		./directory_a/
Destination:	./directory_b/

sending incremental file list
./
file_1
              0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/2)

sent 122 bytes  received 38 bytes  320.00 bytes/sec
total size is 0  speedup is 0.00

I added a couple of other options to make syncing a bit easier. ./srsync --delete adds the option to delete files at the destination path and ./srsync --reverse reverses the paths without manually changing the paths in the command line. Continuing from the previous snippet:

$ rm ./directory_b/file_1
$ touch ./directory_b/file_0
$ srsync --delete --reverse ./directory_a/ ./directory_b/
Rsync File Transfer: DRY RUN, REVERSE, DELETE
Source:		./directory_b/
Destination:	./directory_a/

sending incremental file list
deleting file_1
./
file_0

sent 85 bytes  received 35 bytes  240.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)

Continue? [Yes/No]: y
Continuing...

Rsync File Transfer: TRANSFER, REVERSE, DELETE
Source:		./directory_b/
Destination:	./directory_a/

sending incremental file list
deleting file_1
./
file_0
              0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/2)

sent 125 bytes  received 55 bytes  360.00 bytes/sec
total size is 0  speedup is 0.00

For ease of use in scripts, I’ve also added options to replace the default rsync options, add to the current default options or include an SSH command for network transfers.

Here is an example script that I used for testing but also for making quick backups of a directory I’m currently working in:

#!/bin/sh

srsync \
 ${@} \
 --addon='
  --exclude=.backup/
  ' \
 './' \
 './.backup/'

And one more example script which I use to sync a remote directory to my Android phone that uses Termux:

#!/bin/sh

srsync \
 ${@} \
 --rsh='ssh -p 8022 -i ${HOME}/.ssh/id_ed25519' \
 --options='
  --partial --progress --verbose --human-readable
  --archive --chown=1000:1000
  --mkpath
  --compress
  ' \
 'u0_a205@192.168.40.204:/storage/emulated/0/sync/' \
 '/media/archive/phone/sync/'

I can easily pass the --reverse or --delete option flags to these scripts and sync in either direction with ease.

I also wrote this script to be as POSIX portable as possible. It’s only dependency is rsync and whatever dependencies rsync requires. Hopefully this means it works on any POSIX compliant shell but I’ve only tested it with busybux-ash, dash and bash so I can’t make any guarantees about other shells.

This current script has been an ongoing evolution of previous scripts I’ve made around the use of rsync, but I think this current version is everything I wanted back nearly 2 years ago when I first started working with linux and rsync.

I use it quite a lot and maybe it can be of use to someone else. If anyone has the time to review the code and offer any feedback, that would be appreciated. I am always interested in learning new POSIX scripting tricks and am open to any feedback.

For a while now I’ve been using rsync to manage my file transfers and backups. I find it to be quite a powerful and flexible tool but sometimes it’s just a bit too awkward to use in a terminal.

I created this script to simplify the use of rsync to be a similar experience to using interactive cp (cp -i) but with a preview generated by rsync --archive --partial --progress --verbose --human-readable --dry-run. This gives me a chance to properly review any file changes before I decide to commit any changes.

For example, if I want sync the contents of ~/directory_a to ~/directory_b, I can do the following:

$ srsync ./directory_a/ ./directory_b/
Rsync File Transfer: DRY RUN
Source:		./directory_a/
Destination:	./directory_b/

sending incremental file list
./
file_1

sent 86 bytes  received 22 bytes  216.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)

Continue? [Yes/No]: y
Continuing...

Rsync File Transfer: TRANSFER
Source:		./directory_a/
Destination:	./directory_b/

sending incremental file list
./
file_1
              0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/2)

sent 122 bytes  received 38 bytes  320.00 bytes/sec
total size is 0  speedup is 0.00

I added a couple of other options to make syncing a bit easier. ./srsync --delete adds the option to delete files at the destination path and ./srsync --reverse reverses the paths without manually changing the paths in the command line. Continuing from the previous snippet:

$ rm ./directory_b/file_1
$ touch ./directory_b/file_0
$ srsync --delete --reverse ./directory_a/ ./directory_b/
Rsync File Transfer: DRY RUN, REVERSE, DELETE
Source:		./directory_b/
Destination:	./directory_a/

sending incremental file list
deleting file_1
./
file_0

sent 85 bytes  received 35 bytes  240.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)

Continue? [Yes/No]: y
Continuing...

Rsync File Transfer: TRANSFER, REVERSE, DELETE
Source:		./directory_b/
Destination:	./directory_a/

sending incremental file list
deleting file_1
./
file_0
              0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/2)

sent 125 bytes  received 55 bytes  360.00 bytes/sec
total size is 0  speedup is 0.00

For ease of use in scripts, I’ve also added options to replace the default rsync options, add to the current default options or include an SSH command for network transfers.

Here is an example script that I used for testing but also for making quick backups of a directory I’m currently working in:

#!/bin/sh

srsync \
 ${@} \
 --addon='
  --exclude=.backup/
  ' \
 './' \
 './.backup/'

And one more example script which I use to sync a remote directory to my Android phone that uses Termux:

#!/bin/sh

srsync \
 ${@} \
 --rsh='ssh -p 8022 -i ${HOME}/.ssh/id_ed25519' \
 --options='
  --partial --progress --verbose --human-readable
  --archive --chown=1000:1000
  --mkpath
  --compress
  ' \
 'u0_a205@192.168.40.204:/storage/emulated/0/sync/' \
 '/media/archive/phone/sync/'

I can easily pass the --reverse or --delete option flags to these scripts and sync in either direction with ease.

I also wrote this script to be as POSIX portable as possible. It’s only dependency is rsync and whatever dependencies rsync requires. Hopefully this means it works on any POSIX compliant shell but I’ve only tested it with busybux-ash, dash and bash so I can’t make any guarantees about other shells.

This current script has been an ongoing evolution of previous scripts I’ve made around the use of rsync, but I think this current version is everything I wanted back nearly 2 years ago when I first started working with linux and rsync.

I use it quite a lot and maybe it can be of use to someone else. If anyone has the time to review the code and offer any feedback, that would be appreciated. I am always interested in learning new POSIX scripting tricks and am open to any feedback.

52

How to effectively direct corporate money to FOSS?

preview

I am regularly in a position to control how funds for tech projects are spent. For example, choosing cloud infrastructure and such. I want to direct as much funding as possible to FOSS or FOSS friendly projects. The amount of money that I have control over in the company is way more than I could ever donate.

For example, I want to fund Linux kernel development, Postgres, language maintainers, etc.

I can’t convince companies to donate outright, but I could get them to buy a license or choose a different cloud provider or database provider.

I’m looking for ways to get money to people making a difference through legitimate channels that I can use to push internally.

EDIT:

Summary of my favorite options so far,

I am regularly in a position to control how funds for tech projects are spent. For example, choosing cloud infrastructure and such. I want to direct as much funding as possible to FOSS or FOSS friendly projects. The amount of money that I have control over in the company is way more than I could ever donate.

For example, I want to fund Linux kernel development, Postgres, language maintainers, etc.

I can’t convince companies to donate outright, but I could get them to buy a license or choose a different cloud provider or database provider.

I’m looking for ways to get money to people making a difference through legitimate channels that I can use to push internally.

EDIT:

Summary of my favorite options so far,

38

DryErase. An open-source, self-hosted collaborative whiteboard for diagrams, workshops, and visual thinking.

GitHub GitHub - kevcool/DryErase: An open-source, self-hosted collaborative whiteboard for diagrams, workshops, and visual thinking. github.com
preview

For those interested. Newly released, self-hosted, team white boarding and collaboration tool on GitHub. There’s a lot of commercial collaboration tools out there but this is free to download, modify, host etc. (released as AGPLv3). This is initial release and can benefit from future enhancements like RBAC, etc. Some of that intent is in the roadmap. Collaborators are welcome. Cheers!

For those interested. Newly released, self-hosted, team white boarding and collaboration tool on GitHub. There’s a lot of commercial collaboration tools out there but this is free to download, modify, host etc. (released as AGPLv3). This is initial release and can benefit from future enhancements like RBAC, etc. Some of that intent is in the roadmap. Collaborators are welcome. Cheers!