{"id":13777177,"url":"https://github.com/adamwiggins/scanty-redis","last_synced_at":"2026-01-23T07:49:35.573Z","repository":{"id":66366399,"uuid":"245043","full_name":"adamwiggins/scanty-redis","owner":"adamwiggins","description":"The blog that's almost nothing - now on Redis","archived":false,"fork":false,"pushed_at":"2010-06-11T00:29:22.000Z","size":347,"stargazers_count":31,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T12:19:10.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://adam.blog.heroku.com/past/2009/7/13/scanty_on_redis/","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/adamwiggins.png","metadata":{"files":{"readme":"README.rdoc","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}},"created_at":"2009-07-07T08:34:26.000Z","updated_at":"2021-12-23T09:05:49.000Z","dependencies_parsed_at":"2023-02-20T03:00:19.856Z","dependency_job_id":null,"html_url":"https://github.com/adamwiggins/scanty-redis","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/adamwiggins%2Fscanty-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwiggins%2Fscanty-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwiggins%2Fscanty-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwiggins%2Fscanty-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamwiggins","download_url":"https://codeload.github.com/adamwiggins/scanty-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225043063,"owners_count":17411924,"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-08-03T18:00:38.946Z","updated_at":"2026-01-23T07:49:35.564Z","avatar_url":"https://github.com/adamwiggins.png","language":"Ruby","funding_links":[],"categories":["Blogging"],"sub_categories":[],"readme":"= Scanty, a really small blog, using the Redis database\n\n== Overview\n\nScanty is blogging software.  Software for my blog, to be exact:\nhttp://adam.blog.heroku.com\n\nIt is not a blogging engine, but it's small and easy to modify, so it could be\nthe starting point for your blog, too.\n\nThis fork modifies lib/post.rb to use Redis, a featureful key-value database,\ninstead of SQL.\n\n== Dependencies\n\n  $ gem install sinatra\n\nRedis-rb, Maruku, and Syntax are all vendored.\n\nGet Redis from: http://code.google.com/p/redis/downloads/list\n\nUnarchive the tarball and run make inside the directory.  When finished you can\ntype ./redis-server to run it on the default port on localhost.\n\n== Setup\n\nEdit main.rb and change the Blog config struct at the top to your liking, or\nset the appropriate environmant variables.  To run the server:\n\n  $ ruby main.rb\n\nThen: http://localhost:4567\n\n== Database\n\nScanty Redis will connect to Redis on localhost on the default port if you\ndon't specify another location.  To use something else, set REDIS_URL in your\nenvironment when running the app, i.e.:\n\n  $ REDIS_URL='redis://:secret@1.2.3.4:9000/3' ruby main.rb\n\nThis would connect to host 1.2.3.4 on port 9000, uses database number 3 (Redis\ndatabases are numbered, not named), using password \"secret\" (which is defined\nin the config file optionally passed to Redis when you start the server).\nRedis has no usernames so there in othing before the colon.\n\nRedis creates databases automatically as needed, but if you want to introspect\nor clear the database, you can use the console and the DB constant:\n\n  $ irb -r main.rb \n  irb(main):001:0\u003e DB.keys('*')\n  =\u003e [\"Post:chrono\", \"Post:slug:first_post\"]\n  irb(main):002:0\u003e DB.flush_db\n  =\u003e \"OK\"\n  irb(main):003:0\u003e DB.keys('*')\n  =\u003e []\n\n== See also\n\n* Scanty on SQL: http://github.com/adamwiggins/scanty\n* Scanty on CouchDB: http://github.com/jtulloch/scanty\n\n== Meta\n\nCreated by Adam Wiggins\n\nReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php\n\nhttp://github.com/adamwiggins/scanty\n\nhttp://adam.blog.heroku.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwiggins%2Fscanty-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamwiggins%2Fscanty-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwiggins%2Fscanty-redis/lists"}