{"id":13395129,"url":"https://github.com/hallison/postview","last_synced_at":"2025-03-13T20:31:55.086Z","repository":{"id":580761,"uuid":"213818","full_name":"hallison/postview","owner":"hallison","description":"Postview is a simple blog engine (aka. blogware) written in Ruby using the Sinatra DSL for render files written in Markdown.","archived":false,"fork":false,"pushed_at":"2010-11-23T21:07:28.000Z","size":532,"stargazers_count":50,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-14T01:41:51.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://postview.rubyforge.org/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"docker/docker","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hallison.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2009-05-29T21:53:04.000Z","updated_at":"2021-03-04T13:44:34.000Z","dependencies_parsed_at":"2022-07-05T01:30:46.134Z","dependency_job_id":null,"html_url":"https://github.com/hallison/postview","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallison%2Fpostview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallison%2Fpostview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallison%2Fpostview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallison%2Fpostview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hallison","download_url":"https://codeload.github.com/hallison/postview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243478299,"owners_count":20297231,"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-07-30T17:01:43.039Z","updated_at":"2025-03-13T20:31:54.394Z","avatar_url":"https://github.com/hallison.png","language":"Ruby","readme":"Postview - A lightweight blog engine\n====================================\n\nPostview is a simple blog engine (a.k.a. blogware) written in [Ruby][] using\nthe [Sinatra][] framework and [Kramdown][] parser to renders files written in\n[Markdown][].\n\nFeatures\n--------\n\n* Easy configuration.\n* Easy synchronization.\n* No database, it's use only text files written in [Markdown][].\n* Has suport to themes.\n\nGetting started\n---------------\n\nInstall [Ruby][] [Gem package][postview gem] and try.\n\nThe Postview depended of the following libraries (Gems):\n\n* [Sinatra][]\n* [Sinatra-Mapping][]\n* [Postage][]\n\nInstall stable gem from [RubyForge][] or [GemCutter.org][].\n\n    $ sudo gem install postview\n\nThen, run command for create and setup a new Postview directory structure.\n\n    $ postview create path/to/blog\n\nOr run using \"--prompt-values\":\n\n    $ postview create path/to/blog --prompt-values\n\nAfter setup, run server with command:\n\n    $ postview server\n\nIn your browser, access http://127.0.0.1:9000/.\n\n### How it works\n\nThe Postview creates a directory structure like this:\n\n    .\n    |-- config\n    |-- posts\n    |   |-- archive\n    |   `-- drafts\n    |-- public\n    |-- themes\n    |   `-- default\n    |       |-- images\n    |       |-- stylesheets\n    |       `-- templates\n    |           |-- archive\n    |           |-- drafts\n    |           |-- posts\n    |           `-- tags\n    `-- tmp\n\n### Create new post\n\nNew post can be created by using the task `post`:\n\n    $ cd path/to/postview\n    $ rake post\n\nFollowing all instructions. Please, set environment variable +EDITOR+\nor +VISUAL+ for editing your posts. Other else, run:\n\n    $ cd path/to/postview\n    $ EDITOR=\u003cyour-favorite-editor\u003e rake post\n\nThe new post will be written in drafts directory. You can pass other\ndirectory.\n\n    $ cd path/to/postview\n    $ rake post[path/to/other/post/directory]\n\nNOTE: New feature for creates new post from blog manager will be added.\n\nSynchronize your posts\n----------------------\n\nPostview use by default FTP method for synchronization. But, is possible make\ndeploy using [Heroku][] and [Git][].\n\n\n### FTP\n\nYou can synchronize your files using the . For more information about\nthis task, run \u003ccode\u003erake -D sync\u003c/code\u003e.\n\nIt's need creates and edit file placed in `/your/home/directory/.netrc`.\nThe `directory` attribute most be setted in `settings.yml` file.\n\nExample:\n\n    # remote host\n    /remote/path/to/postview\n    `-- posts\n        |-- archive\n        `-- drafts\n    # local host\n    posts\n    |-- 20090702-foo_post_article.ruby.sinatra.git.mkd\n    |-- archive\n    |   `-- 20080702-foo_post_article.ruby.sinatra.git.mkd\n    `-- drafts\n        `-- 20090703-foo_draft_article.ruby.sinatra.git.mkd\n\n    # To synchronize posts\n    $ rake sync:posts\n    $ rake sync:posts[remote/path/to/postview/posts]\n\n    # To synchronize archive\n    $ rake sync:archive\n    $ rake sync:archive[remote/path/to/postview/posts/archive]\n\n    # To synchronize drafts\n    $ rake sync:drafts\n    $ rake sync:drafts[remote/path/to/postview/posts/drafts]\n\n    # To synchronize all\n    $ rake sync:all\n\nNOTE: Will added new enhancements for this feature.\n\n[ruby]: http://www.ruby-lang.org \n  \"Ruby Programming Language\"\n\n[sinatra]: http://www.sinatrarb.com/\n  \"Sinatra - Classy web framework\"\n\n[kramdown]: http://kramdown.rubyforge.org/\n  \"Kramdown - Markdown superset converter\"\n\n[markdown]: http://daringfireball.net/projects/markdown\n  \"Markdown - The lightweight markup language\"\n\n[sinatra-mapping]: http://sinatra-mapping.rubyforge.org\n  \"Sinatra::Mapping - Extension to map URL paths in Sinatra\"\n\n[postage]: http://postage.rubyforge.org/\n  \"Postage - Postview base for parse text files\"\n\n[rubyforge]: http://rubyforge.org/\n  \"RubyForge.org\"\n\n[gemcutter]: http://gemcutter.org/\n  \"GemCutter.org\"\n\n[heroku]: http://heroku.com\n  \"Heroku\"\n\n[git]: http://git-scm.com\n  \"Git\"\n","funding_links":[],"categories":["Ruby","Blogging"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallison%2Fpostview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhallison%2Fpostview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallison%2Fpostview/lists"}