{"id":19388933,"url":"https://github.com/james2doyle/lico","last_synced_at":"2026-03-10T04:33:36.483Z","repository":{"id":19372725,"uuid":"22613074","full_name":"james2doyle/Lico","owner":"james2doyle","description":"Lico is Pico re-written using Luvit for Lua","archived":false,"fork":false,"pushed_at":"2014-08-09T22:06:13.000Z","size":200,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-01T09:52:51.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/james2doyle.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}},"created_at":"2014-08-04T17:21:42.000Z","updated_at":"2023-06-16T10:58:29.000Z","dependencies_parsed_at":"2022-08-21T12:41:00.037Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/Lico","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/james2doyle/Lico","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2FLico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2FLico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2FLico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2FLico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/Lico/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2FLico/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30324443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T10:14:06.910Z","updated_at":"2026-03-10T04:33:36.461Z","avatar_url":"https://github.com/james2doyle.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lico\n====\n\nPico ([github](https://github.com/picocms/Pico) or [homepage](http://picocms.org/)) re-created using [Luvit](https://github.com/luvit/luvit).\n\n### What is Lico?\n\nPico says, *\"Pico is a stupidly simple, blazing fast, flat file CMS\"*. Lico aims for the same thing. There is a very close parity with Pico even though this is very early.\n\nI used the static server from the Luvit examples as a base and went from there.\n\n### How to run?\n\nJust do a `luvit server.lua` and you should be up and running. Take a look at the `config.json` to make sure that all the settings are correct for your system.\n\n### How to create content?\n\nYou can understand the basics by looking at the included content directory and just running the `server.lua` file and hitting the index page.\n\nIf you need more information you can see the [Pico docs](http://picocms.org/docs.html) and understand what is happening and how it works.\n\n### What features are implemented?\n\n* Markdown Parsing using [luvit-markdown](https://github.com/mneudert/luvit-markdown) -- *looking to switch to [Hoedown](https://github.com/torch/sundown-ffi/tree/hoedown)*\n* HTML Templating (using my own modified version of [SLT2](https://github.com/james2doyle/sltluv)\n* Flexible Meta schema (Uses HTML comments instead of PHP style)\n\n### Whats missing?\n\nPlugins. Although with the native of the [Event Emitter](https://github.com/luvit/luvit/blob/master/examples/event-emitters.lua) inside Luvit, this should be rather easy to re-create.\n\nYou can use SLTLuv to add new functions and features to your templates. You can see the `modules/slt-extensions.lua` on how to add extensions to the templates. I also added in some examples in the `default/themes/index.html`, if you want to see how they work.\n\nCheck out the [slt2 examples](https://github.com/henix/slt2#example) to see how to write proper templates.\n\nThe markdown engine is rather simple. There is no fenced code blocks, and sometimes it will wrap uncommon HTML tags with `\u003cp\u003e` tags (I tried using a `figure` element and it was wrapped in p tags). I want switch to [Hoedown](https://github.com/torch/sundown-ffi/tree/hoedown) soon.\n\n### Performance\n\nWell, this is very interesting. Running the default setup for Pico and Lico, reveals Lico is twice as fast in at the browser level.\n\nUsing the Chrome Devtools Network Panel, I measured the index page of each system. I consistently got around 120ms for each request. For Pico, the results were varied quite a bit. They ranged from 200ms to as high as 500ms, but never going under 200ms.\n\nThere are a lot of factors here, but the default Pico has 3 pages and my Lico testing suite (same one as this repo) had 6 pages.\n\nI did some other testing against my other project, [PhileCMS](https://github.com/PhileCMS/Phile#performance-with-20-pages). You can see that Pico doesn't handle large amounts of pages very well.\n\n### There are issues!\n\nYeah I bet. I am not a Lua developer. I made this over a week-long period trying to learn Lua. If you notice some funky stuff or clean n00b issues, please create issues or pull requests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Flico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Flico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Flico/lists"}