https://github.com/sztheory/programmingnewsletters.com
Weekly programming newsletters without an email subscription
https://github.com/sztheory/programmingnewsletters.com
newsletter newsletters programing
Last synced: 3 months ago
JSON representation
Weekly programming newsletters without an email subscription
- Host: GitHub
- URL: https://github.com/sztheory/programmingnewsletters.com
- Owner: szTheory
- License: mit
- Created: 2020-08-17T22:39:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-18T01:40:07.000Z (6 months ago)
- Last Synced: 2025-04-10T23:36:11.713Z (3 months ago)
- Topics: newsletter, newsletters, programing
- Language: Perl
- Homepage: https://programmingnewsletters.com
- Size: 10.8 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
ProgrammingNewsletters.com
> The best weekly programming newsletters on one website
## Features
- Ordered by last update
- Filter by category
- No email needed
- No CloudFlare
- No analytics
- Free## Development
[](https://github.com/szTheory/programmingnewsletters.com/actions/workflows/main.yml)
### Installing Perl and Carton deps
Perl
```bash
asdf plugin add perl https://github.com/ouest/asdf-perl.git #Install Perl plugin for asdf
asdf install perl 5.22.1 #Install latest Perl version at time of writing
asdf global perl 5.22.1 #Use as default Perl
perl --version #Confirm latest version is installed properly
```cpanminus module installer (needed for Carton)
```bash
curl -L https://cpanmin.us > cpanm_setup.pl #Download cpanm setup script
perl cpanm_setup.pl App::cpanminus #Run cpanm setup
```Perl deps needed before Carton
```bash
cpanm XML::Parser
cpanm DateTime
```Carton (Perl lib dependencies)
```bash
cpanm Carton #Install Carton
asdf reshim perl #Set up binary "shim" (command line shortcut)
carton install #Install module deps for project from the cpanfile
```### Building the site
To build the site:
```bash
carton exec perl Run.pm
```To force a rebuild, overriding newsletters cache:
```bash
carton exec perl Run.pm --rebuild
```To build just the first item from `newsletter.json` (when adding new newsletters):
```bash
carton exec perl Run.pm --rebuild --first-only
```### Viewing the site locally
Download the code and start a webserver.
```bash
git clone [email protected]:szTheory/programmingnewsletters.com.git
cd programmingnewsletters.com
python3 -m http.server --directory public
```Now visit `localhost:8000` to view the website.
### Netlify deploy command
```bash
export PERL5LIB=/opt/buildhome/perl5/lib/perl5 && curl -L https://cpanmin.us | perl - App::cpanminus && /opt/buildhome/perl5/bin/cpanm Carton && /opt/buildhome/perl5/bin/carton install && /opt/buildhome/perl5/bin/carton exec perl Run.pm
```## Credits
Logo icon made by [Freepik](https://www.flaticon.com/authors/freepik)