Introducing π₯ 11ty/import: a CLI tool to import content as static files
ππ» Easily export all of your WordPress posts
π Show recent π Mastodon posts on your web site without expensive embeds
β
Make a CMS out of anything on the web using PESOS
π Repeatable and resume-able using local caching for API requests, and a lot more!
Try it out: github.com/11ty/eleventy-imporβ¦
GitHub - 11ty/eleventy-import: Utility to import content from multiple services (and a CLI, too)
Utility to import content from multiple services (and a CLI, too) - 11ty/eleventy-importGitHub
Andy Blum
in reply to Eleventy π v3.0.0 • • •Ollie Boermans
in reply to Andy Blum • • •@andyblum just opened that tab myself indieweb.org/PESOS
βPESOS is an acronym for Publish Elsewhere, Syndicate (to your) Own Siteβ
PESOS
IndieWebEleventy π v3.0.0
in reply to Ollie Boermans • • •Ollie Boermans
in reply to Eleventy π v3.0.0 • • •thanks forβ¦
[broad sweeping arm gestures]
Eleventy π v3.0.0
in reply to Ollie Boermans • • •Chuck the Lab Technician
in reply to Eleventy π v3.0.0 • • •Alan
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Alan • • •Alan
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Alan • • •GitHub - 11ty/eleventy-import: Utility to import content from multiple services (and a CLI, too)
GitHubMark Brady
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Mark Brady • • •Ollie Boermans
in reply to Eleventy π v3.0.0 • • •I donβt suppose this could be somehow used to persist the fetch plugin cache? π₯Ί
In my particular case Iβm imagining a directory of json files fetched incrementally from an api that could then be gathered into a collection.
I hope to chart some game stat history for the kid. πΉοΈ π
Eleventy π v3.0.0
in reply to Ollie Boermans • • •@ollicle ahβdo you mean commit the fetch plugin cache to git? I donβt think thatβs quite the right use case for thisβitβs unlikely weβll ever tackle that one generally given the riskiness of accidentally exposing private information in API calls.
However, persisting entries from a data source (after a bit of cleaning) is what this plugin does, yeah!
Ollie Boermans
in reply to Eleventy π v3.0.0 • • •the latter for sure. Brilliant!
Writing data alongside fetch myself has proven to be literally loopy.
Jon
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Jon • • •Jon
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Jon • • •New import type: file system Β· Issue #1 Β· 11ty/eleventy-import
GitHubMura ππ
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Mura ππ • • •GitHub - 11ty/eleventy-import: Utility to import content from multiple services (and a CLI, too)
GitHub