{"id":22120373,"url":"https://github.com/maxpleaner/add-blog-page","last_synced_at":"2025-06-15T22:33:21.090Z","repository":{"id":84577008,"uuid":"65425516","full_name":"MaxPleaner/add-blog-page","owner":"MaxPleaner","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-16T22:34:02.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T12:15:27.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaxPleaner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-11T00:29:52.000Z","updated_at":"2016-08-11T01:06:28.000Z","dependencies_parsed_at":"2023-03-12T23:42:44.299Z","dependency_job_id":null,"html_url":"https://github.com/MaxPleaner/add-blog-page","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/MaxPleaner%2Fadd-blog-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fadd-blog-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fadd-blog-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fadd-blog-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxPleaner","download_url":"https://codeload.github.com/MaxPleaner/add-blog-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220440,"owners_count":20579783,"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-12-01T14:23:07.079Z","updated_at":"2025-03-24T06:27:44.698Z","avatar_url":"https://github.com/MaxPleaner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### General idea\n\nThis is a web interface for adding pages to a project built with the [static](http://github.com/maxpleaner/static) framework\n\nIt displays a form for entering 'name', 'content' (markdown string), and 'tags'.\n\nIt then creates a markdown file with these specifications, compiles the source, and deploys the static result to github pages.\n\nIf cloning this repo, the [static](http://github.com/maxpleaner/static)\n\n#### Where to start with the source code\n\nThere are a few important pieces:\n\n1. [PagesController](./app/controllers/pages_controller.rb). Almost all custom code is in here.\n2. the [populate_site](./lib/tasks/populate_site.rake) rake task, which will launch a repl and show its instructions.\nIt assists with getting data off RSS feeds and creates pages dynamically.\n3. The git configuration of the repo. Make sure you change the git remote url to something you have access to, and that git\nis configured to use ssh keys instead of prompting for username and password.\n\n#### How to run it\n\n```sh\n#!/bin/bash\ngit clone http://github.com/maxpleaner/add-blog-page\ncd add-blog-page\nrm source/markdown/* # so you don't get all the content from my blog\nbundle install # make sure postgres is set up and running first\nrake db:create # there is no database storage in this app, but i haven't yet removed this step\ngit remote set-url origin git@github.com:\u003cyour_username\u003e/\u003cyour_repo_name\u003e # make sure you have git set up to use SSH keys\nrails s\n# then open localhost:3000 in the browser\n```\n\nOnce a deploy happens (which is every time you submit the form), your static site will be visible\nat `\u003cyour_username\u003e.github.io/\u003cyour_repo_name\u003e`\n\nSee the [static](http://github.com/maxpleaner/static) repo for more information on the underlying framework.\n`add-blog-page` is a rails app which wraps it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fadd-blog-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpleaner%2Fadd-blog-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fadd-blog-page/lists"}