Skip to content

Driminary/devto.ndsn.io

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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