personal couple site just to record down the thing between us
With github actions, every night will run a script to get data from instagram, and pump into gist. You can see the script at index.js and action.yml for workflow setting. For frontend it's using react & vitejs to do development.
For github actions script have to build with @vercel/ncc before push, frontend also have to build before push. Since my github pages is set to master branch so it take from docs/ folder in master branch. In public/ folder having CNAME it's for custom domain setting ifn't the original setting will be overrided.
- Update setting in
assets/setting.json. - Run
yarn buildto build with new setting. - Rename title in
index.htmlwith your preferred title name. - Update images with yours in
assets/images/folder. - Update repository name in
.github/workflows/schedule.yml. - Add
GH_TOKENwith your github token for updatinggist. - Add
IG_USERNAMEandIG_PASSWORDwith your gallery ig username and password for login instagram account and retrieve posts. - Push to repository.
- Trigger the actions to fetch data from instagram.
- Here you go.
| Component | Source |
|---|---|
| Psyduck | https://codepen.io/tiffachoo/pen/abdLKaP |
| Lion | https://codepen.io/thepandalion/pen/gjske |
| Love Effect | https://codepen.io/vivinantony/pen/gbENBB |
| Instagram Images | https://reactjsexample.com/3d-cover-flow-in-react/ |
| Carousel | react-responsive-carousel |
| Slideshow | https://css-tricks.com/snippets/jquery/simple-auto-playing-slideshow/ |
| Heartbeat | https://codepen.io/fivera/pen/rzepn |
| Loader | https://loading.io/css/ |
| Font | GoogleFonts - Fredoka One |
| InstagramAPI | https://github.com/dilame/instagram-private-api |
| Platform | View |
|---|---|
| Desktop | ![]() |
| Mobile | ![]() |

