Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctx-core/instagram_cache
https://github.com/ctx-core/instagram_cache
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctx-core/instagram_cache
- Owner: ctx-core
- License: other
- Created: 2019-12-02T17:16:30.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T20:14:57.000Z (7 months ago)
- Last Synced: 2024-05-23T01:29:26.329Z (7 months ago)
- Language: JavaScript
- Size: 1.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: CHANGELOG.md
- License: License.md
Awesome Lists containing this project
README
# @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`
```shell
npm install @ctx-core/instagram_cache
cache-instagram.js
```### InstagramGallery
```html
import InstagramGallery from '@ctx-core/instagram_cache/InstagramGallery.svelte'
@import "~@ctx-core/instagram_cache/InstagramGallery";
@import "your-css/variables";
@include InstagramGallery(
$fill__Icon: mix(white, $color-primary-lighter, 75%),
$fill__hover__Icon: white
)```
## 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