@ctx-core/instagram_cache
TypeScript icon, indicating that this package has built-in type declarations

15.1.335 • Public • Published

@ctx-core/instagram_cache

Caches the paths to the media in an instagram account to S3.

Also contains a InstagramGallery svelte component to navigate through the media.

Usage

cache-instagram.js

npm install @ctx-core/instagram_cache
cache-instagram.js

InstagramGallery

<script>
	import InstagramGallery from '@ctx-core/instagram_cache/InstagramGallery.svelte'
</script>

<InstagramGallery></InstagramGallery>

<style lang="scss">
	@import "~@ctx-core/instagram_cache/InstagramGallery";
	@import "your-css/variables";
	@include InstagramGallery(
		$fill__Icon: mix(white, $color-primary-lighter, 75%),
		$fill__hover__Icon: white
	)
</style>

Environment Variables

INSTAGRAM_NAME - Name of the instagram account

MEDIUM_PATHNAME_A_KEY - S3 Key for the file containing the Array of Paths of Media

/@ctx-core/instagram_cache/

    Package Sidebar

    Install

    npm i @ctx-core/instagram_cache

    Weekly Downloads

    11

    Version

    15.1.335

    License

    Apache-2.0

    Unpacked Size

    9.84 kB

    Total Files

    18

    Last publish

    Collaborators

    • btakita