Skip to content

Instantly share code, notes, and snippets.

@madeleineostoja
madeleineostoja / syncAlgolia.js
Last active September 15, 2021 04:57
Sync Contentful documents to the Algolia index, with full control over query depth and what documents are indexed
const contentful = require('contentful');
const algoliasearch = require('algoliasearch/lite');
require('dotenv').config();
/**
* Contentful query helper
*/
async function query({ include = 5, ...query }) {
try {
const client = contentful.createClient({
@akella
akella / setup.md
Last active March 1, 2026 21:51
My Setup
@rsp
rsp / GitHub-Project-Guidelines.md
Last active January 11, 2026 13:17
Git Strict Flow and GitHub Project Guidelines - setup rules and git flow for commercial and open-source projects by @rsp

Git Strict Flow and GitHub Project Guidelines

Or how to turn this:

into this: