Skip to content
/ devto.ndsn.io Public template

Static site built with 11ty that pulls the latest posts for a user from dev.to at build-time using a JavaScript data file.

License

Notifications You must be signed in to change notification settings

Driminary/devto.ndsn.io

Repository files navigation

devto.ndsn.io

Built with eleventy Vercel hosting

This repo contains the end-to-end source code for devto.ndsn.io and is published entirely free and under the MIT License - Hopefully the code and below description explains the architecture well!

If you do end up using this for any commercial purpose, or found the code useful please consider buying me a coffee: Buy me a coffee

A website built with 11ty that pulls posts from a Dev.to RSS feed and generates a static site with links to the posts. Live Demo

Check out the associated blog post on Dev.to here!

Architecture

Architecture (Click image to view full size. Made with Excalidraw - raw file: architecture.excalidraw)

Source folder : _source Output folder : _build

To build:

npm install
npx @11ty/eleventy

Dev.to Feed URL

To modify the feed that the script calls, either set the environment variable DEVTO_APIURL or change the fallback URL in the _data/devtoapi.js file in the _source folder.

Deployment

First, build the files, then upload the _build directory your favourite static site host!

About

Static site built with 11ty that pulls the latest posts for a user from dev.to at build-time using a JavaScript data file.

Topics

Resources

License

Stars

Watchers

Forks