Skip to content
πŸ”¬ Nano blogging for Gatsby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
yarn.lock πŸ”¬ is a Gatsby plugin and iOS application to post nano posts to your Gatsby website.

If you are user of Twitter, a nano post is pretty much like a tweet, but owned & hosted by you.


Posts format πŸ¦†

  • All posts are stored in the directory /nano-posts in your blog's directory.
  • Each post is represented by a JSON file that contains the body and extra metadata.
  • Posts are named with the date when they were created.
  • It offers a React hook that developers can use to query the posts and define the UI for them.


Adding the Gatsby plugin

  1. Add the NPM dependency yarn add gatsy-nano-blog.
  2. Add the plugin to your gatsby-config.js section:
plugins: ["gatsby-nano-blog"];
  1. Use the hook to get the list of posts:
import { useNanoPosts } from "gatsby-nano-blog";

const MyPostsPage = () => {
  const posts = useNanoPosts();

  posts.forEach((post, index) => {
    return <div key={index}>{post.body}</div>;

Running the iOS app

Not written yet.


Set up the Gastby plugin πŸ‘©β€πŸ’»

  1. Clone the repository
  2. Choose the plugin directory cd gatsby-plugin.
  3. Install the dependencies with yarn install.
  4. To run it locally: yarn start.
  5. To run the tests: yarn test.

Set up the iOS application πŸ“±

  1. Clone the repository
  2. Choose the app directory cd ios.
  3. Install the dependencies with bundle install
  4. Install Tuist
  5. Run tuist up.
  6. Run tuist focus
You can’t perform that action at this time.