Science and Educational purposes are valid 501(c)(3) purposes. A donation to a 501(c)(3) that funds open-source scientific software, public STEM education, basic research, science grants, or public-interest tech research can be deductible.
Up to 60% of Adjusted Gross Income can be tax-deductible as charitable contributions to a qualified 501(c)(3) with itemization, depending on the contribution type.
This would create a non-partisan defined/dedicated non-profit funding layer with serious governance that will benefit all sides. Might be possible to go global.
This would need serious structure: independent board, conflict-of-interest rules, grant review, public reporting, no private benefit, and probably fiscal sponsorship first.
Maybe this deserves a separate Ask HN to avoid derailing this thread: would people here actually support or help design a 501(c)(3)-style vehicle for public-benefit science and technology funding?