petitviolet blog

    gatsby (4 posts)

    Written by petitviolet

    Build oEmbed API for Gatsby blog

    Build an API for oEmbed expansion of blog posts powered by Gatsby
    Previously, I wrote a post about that this blog has a capability to expand oEmbed articles using [raae/gatsby-remark-oembed]( As it is embed here, this blog is also able to expand self post

    Configure custom 404 in GAE with Gatsby

    How to write app.yaml to specify 404 in static file hosting
    tl;dr Use require_matching_file: true for not 404, and wildcard routing for 404 to handle the other paths. yaml:title=app.yaml - url: /(.*) static_files: public/\1 upload: public/(.*) secure: always require_matching_file: true - url: /(.*) static_files: public/404.html upload

    oEmbed expansion in Gatsby

    oEmbed expansion in Gatsby
    [oEmbed]( > oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

    Hello World

    New Blog using Gatsby
    Created a new blog with using [GatsbyJS]( and [gatsby-starter-blog]( The end of the fiscal year is a good time to build something new. 1 year ago, I renewed my portfolio as well using Gatsby. https://petitviolet.hatenabl