-
Using Firebase Auth in a Chrome Extension with Offscreen Documents and Plasmo
Adding Firebase Auth to a Chrome extension built with Plasmo using offscreen documents and using web_accessible_resources to load a script from the extension.
September 19, 2024 -
Dockerfile with uv for Scrapy and Playwright
Dockerfile with uv for Scrapy and Playwright for web scraping and automation
September 15, 2024 -
Handling Google OAuth Refresh Tokens in a Chrome Extension
How to handle the token refresh for the Google OAuth flow in a Chrome extension using an external server API running in a Cloudflare Worker.
September 14, 2024 -
Handling Google OAuth Authorization Code and Access Token Exchange in a Chrome Extension
How to handle the token exchange and refresh for the Google OAuth flow in a Chrome extension using an external server API running in a Cloudflare Worker and Firebase Auth.
September 14, 2024 -
Adding Sign In with Google OAuth to a Chrome Extension: chrome.identity.launchWebAuthFlow
How to set up Google Sign In with Google OAuth in a Chrome Extension using chrome.identity.launchWebAuthFlow to handle the OAuth flow across all Chromium-based browsers. This is the first post in a series on implementing Google Sign In using Google OAuth in Chrome extensions.
September 14, 2024 -
Saving Scrapy Crawl Stats to PostgreSQL with a Custom Extension and SQLAlchemy
Save the Scrapy spider crawl stats to a Postgres database using a custom extension and SQLAlchemy. We'll also update the existing database item pipeline to collect custom stats specific to the spider.
August 14, 2024 -
Crawling Pages with Infinite Scroll using Scrapy and Playwright
Setting up a Scrapy spider to crawl pages with infinite scroll using Playwright and Chromium.
August 8, 2024 -
Verifying Lemon Squeezy Subscription Webhooks in Cloudflare Workers
Using Cloudflare Workers, D1, and Drizzle ORM to verify and save Lemon Squeezy subscription webhook data.
June 27, 2024 -
Detecting GitHub Issue Transfers in Chrome Extensions
Detecting issue transfers and redirects in browser extensions using the chrome.webNavigation API and the server_redirect transition qualifier.
June 25, 2024 -
Bring Your Own API Key: Supporting User-Provided OpenAI Keys and Prompts in Browser Extensions
Adding support for user-provided Gen AI LLM API keys in the dossi Chrome extension.
June 24, 2024 -
dossi is now open source
dossi, a browser extension and web app to keep track of your own private GitHub notes is now open source.
May 4, 2024 -
Changing a Next.js SSG App to SSR on Amplify Hosting
If you want to change to the application type from SSR to SSG, or SSG to SSR, then the platform and framework type will need changed in your application settings in Amplify Hosting. If not, you'll likely hit deploy errors or 503s when the site builds and deploys.
September 26, 2022 -
Serverless Authentication with Amplify Auth, Amplify UI, and Next.js
This post steps through setting up Amplify Auth with the Amplify UI React library in a Next.js SSR application. Once set up, we can restrict access to pages using the built-in hooks from the Amplify Authenticator and use withSSRContext and Auth to restrict access to the API routes and pages with SSR.
June 28, 2022 -
Adding Prisma to Next.js API Routes on Amplify Hosting
Add Prisma to Next.js API routes deployed to Amplify Hosting.
June 21, 2022 -
Deploying Next.js SSR and Prisma on Amplify Hosting
Set up and deploy a Next.js SSR app that uses the Prisma ORM with a PostgreSQL database. Once integrated, we'll be able to fetch data using SSR and getServerSideProps. We'll store the connection information for the database in AWS Systems Manager Parameter Store and deploy the app using Amplify Hosting.
June 7, 2022 -
NextAuth.js with Slack Provider Set Up
Set up NextAuth.js with the Slack provider and Prisma.
December 18, 2021 -
Building and deploying a Slack app with Python, Bolt, and AWS Amplify
Building and deploying a Slack app with AWS Amplify, Python, and Bolt.
May 24, 2021 -
Deploying a FastAPI backend using AWS Amplify Container-based REST APIs
Deploying a FastAPI backend using AWS Amplify Container-based REST APIs.
May 11, 2021 -
Displaying the active Amplify Environment alongside the current Git branch
Display the active Amplify Environment in your terminal alongside your Git branch status.
May 8, 2021 -
Launching RStudio from the command line
A quick Zsh or Bash function to open an RStudio project from the command line.
January 6, 2020 -
Publishing a Vue component plugin on npm
The last step in creating a Vue component library plugin is to publish it as a package. Most packages are published on npm if the intention is to distribute to an external audience. Other registry options include GitHub Package Registry and Artifactory. It is also possible to run your own private registry. To demonstrate, we'll publish to npm. Similar steps can be taken to use a different registry if it also utilizes the npm (or yarn) CLI API conventions.
January 4, 2020 -
Deploy VuePress on Netlify
Documentation is no fun if it isn't public. Now, having configured the component library to use VuePress for the documentation and marketing aspect, we need to deploy it. Netlify is a great choice for this!
May 23, 2019 -
Using VuePress for plugin documentation
Documentation time! In this post, we'll add a documentation element to the Vue component library plugin using VuePress. The end state of this post will be a static site that is structured to document a component library that exists in the same project. The component will generate its own documentation!
March 21, 2019 -
Consolidating components into a Vue.js plugin
At this point, we have a structured approach for creating new Vue.js components and consolidating them into a single module export. Awesome! Next, we'll bundle the components into a plugin to be registered on a Vue instance.
March 11, 2019 -
Structuring a Vue component library
In this post, we'll step through the initial project structure for your Vue components. Remember, you'll want to to try to lower the barriers to entry of understanding for other developers in order for them to grasp your design choices.
February 28, 2019 -
Creating a Vue.js component library: Introduction
In this series, we’ll focus on structuring a Vue component library as a plugin for use, and reuse. That also includes distribution and documentation. That's what is so great about Vue - the ability create your own building blocks for designing a user experience.
February 27, 2019 -
Visual Studio Code settings for Vue
The settings below are my defaults for Vue.js development in Visual Studio Code.
February 26, 2019 -
Adding Netlify redirect rules for Hugo
The initial jump into the netlify.toml file is a bit daunting at first, especially if you only want to make a small change. Once your Hugo site it deployed on Netlify, you’ll want to redirect traffic pointed to the provided subdomain to your primary domain.
February 22, 2019