{"id":18338760,"url":"https://github.com/tableflip/tableflip-blog","last_synced_at":"2025-04-09T20:35:53.230Z","repository":{"id":10362407,"uuid":"12502924","full_name":"tableflip/tableflip-blog","owner":"tableflip","description":":scroll: The TABLEFLIP blog","archived":false,"fork":false,"pushed_at":"2017-10-11T09:34:00.000Z","size":11054,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T12:46:46.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.tableflip.io","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tableflip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-31T08:41:42.000Z","updated_at":"2017-10-05T13:57:44.000Z","dependencies_parsed_at":"2022-08-28T08:51:39.328Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/tableflip-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftableflip-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftableflip-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftableflip-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftableflip-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/tableflip-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248108382,"owners_count":21049126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T20:15:06.076Z","updated_at":"2025-04-09T20:35:53.205Z","avatar_url":"https://github.com/tableflip.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tableflip Blog\n\n## Usage\n\n- Install jekyll\n\n```sh\ngem install bundler\nbundle install\n```\n\nhttps://jekyllrb.com/docs/quickstart/\n\n\n- Run the dev server to watch for changes\n\n```sh\nbundle exec jekyll serve --watch\n# Server now running on http://localhost:4000\n```\n\n## Create a new blog post\n\nMake a new `markdown` file in the `_posts` folder and add the following 'frontmatter' at the head of the file.\n\n```md\n---\ntitle: \"Node streams are hard\"\npermalink: \"node-streams-are-hard\"\ndate: 2014-01-22 16:16:16 +0000\nauthor: \"alanshaw\"\n---\nYou post maddness goes in here as *markdown*\n```\n\n|property|description|\n|:---|:---|\n`title`|the title of your post this is included in the open graph tagging\n`permalink`|a slug version of your post title, or any url friendly string\n`date`|please stick to this format to benefit from Jekyll's built-in ordering of posts and template date formatter helpers\n`author`|must be your github username to benefit from auto avatar fetching and links to your github account\n\nThe first paragraph of a post is extracted as your 'summary'. This will appear in the index of the posts on the home page and your author page.\n\nEach post has a set of basic meta data populating the `\u003chead\u003e` drawn from your post's frontmatter:\n\n```html\n\u003cmeta property=\"og:title\" content=\"TUNE-ing super fast static websites\" /\u003e\n\u003cmeta property=\"og:site_name\" content=\"TABLEFLIP Blog\" /\u003e\n\u003cmeta property=\"og:url\" content=\"https://blog.tableflip.io/tableflip-blog/tune-ing-super-fast-static-websites\" /\u003e\n\u003cmeta property=\"og:image\" content=\"https://github.com/tableflip.png\" /\u003e\n\u003cmeta property=\"og:type\" content=\"article\" /\u003e\n\u003cmeta property=\"og:description\" content=\"Yep, we did what is generally accepted to be a “bad idea” by many developers and built a static site generator slash CMS for our clients. I don’t blame them. Getting it right is really difficult, it’s such a mammoth task, and building a concise set of features is dependent on your particular use cases.\n\n\" /\u003e\n\u003cmeta property=\"article:published_time\" content=\"2017-09-26T12:21:28+00:00\" /\u003e\n\u003cmeta property=\"article:author\" content=\"https://github.com/alanshaw\" /\u003e\n\u003cmeta property=\"article:section\" content=\"Javascript\" /\u003e\n\u003cmeta name=\"description\" content=\"Yep, we did what is generally accepted to be a “bad idea” by many developers and built a static site generator slash CMS for our clients. I don’t blame them. Getting it right is really difficult, it’s such a mammoth task, and building a concise set of features is dependent on your particular use cases.\n\n\" /\u003e\n\u003cmeta name=\"author\" content=\"https://github.com/alanshaw\" /\u003e\n\u003cmeta name=\"copyright\" content=\"2017-09-26T12:21:28+00:00\" /\u003e\n\u003cmeta name=\"application-name\" content=\"TABLEFLIP Blog\" /\u003e\n\u003cmeta name=\"twitter:card\" content=\"summary\" /\u003e\n\u003cmeta name=\"twitter:title\" content=\"TUNE-ing super fast static websites\" /\u003e\n\u003cmeta name=\"twitter:description\" content=\"Yep, we did what is generally accepted to be a “bad idea” by many developers and built a static site generator slash CMS for our clients. I don’t blame them. Getting it right is really difficult, it’s such a mammoth task, and building a concise set of features is dependent on your particular use cases.\n\n\" /\u003e\n\u003cmeta name=\"twitter:image\" content=\"https://github.com/tableflip.png\" /\u003e\n```\n\nYour post will be built out by 'jekyll' into the `_site` folder as static html. The current `master` branch of the repo is set to server the site at `tableflip.github.io/tableflip-blog` pushing to master will publish changes.\n\nBe mindful to use the `relative_url` template helper to make sure links work on `localhost:4000`, on `tableflip.github.io/tableflip-blog` and for `blog.tableflip.io`:\n\n```html\n\u003ca href=\"{{\"/images/cats.jpg\" | relative_url}}\"\u003eCats\u003c/a\u003e\n```\n\n## Deploy https\n\nA 2 step process. Push to now.sh, then update the alias.\n\n```sh\nnpm run deploy\n\n\u003e Deploying ~/Code/tableflip/tableflip-blog/_site under tableflip\n\u003e Ready! https://tableflip-blog-xufavphepp.now.sh (copied to clipboard) [2s]\n```\n\nTake a look at the new deployment and check it looks like you thought it would, Then update the alias to make it live.\n\n```sh\nnow alias https://tableflip-blog-xufavphepp.now.sh blog.tablelip.io\n```\n\nThis works because we've already updated the dns records to cname blog to `alias.now.sh`.\n\n## Deploy dat\n\nUpdate either update the existing dat repo, or create a new one and update the hash in `.well-known/dat`\n\nSee: https://handbook.protozoa.nz/experiments/p2p_github_pages.html\n\nThis works because dat is magic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftableflip-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Ftableflip-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftableflip-blog/lists"}