{"id":15063597,"url":"https://github.com/rrcook/naplps_writer","last_synced_at":"2026-01-02T16:48:41.593Z","repository":{"id":249213252,"uuid":"830656074","full_name":"rrcook/naplps_writer","owner":"rrcook","description":"An Elixir library for generating NAPLPS graphics files.","archived":false,"fork":false,"pushed_at":"2024-07-19T02:56:02.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T08:35:41.210Z","etag":null,"topics":["elixir","naplps"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/rrcook.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T17:45:59.000Z","updated_at":"2024-07-19T04:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbac0e90-7fa8-4877-bf13-fbfb42a967fa","html_url":"https://github.com/rrcook/naplps_writer","commit_stats":null,"previous_names":["rrcook/naplps_writer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Fnaplps_writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Fnaplps_writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Fnaplps_writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Fnaplps_writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrcook","download_url":"https://codeload.github.com/rrcook/naplps_writer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243778827,"owners_count":20346622,"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":["elixir","naplps"],"created_at":"2024-09-25T00:04:44.420Z","updated_at":"2026-01-02T16:48:41.568Z","avatar_url":"https://github.com/rrcook.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NaplpsWriter\n\nThis project is an Elixir implementation of a library to create [NAPLPS graphics files](https://en.wikipedia.org/wiki/NAPLPS).\nNAPLPS is the graphics format used in the Prodigy Online system, revived at [The Prodigy Reloaded project](https://github.com/ProdigyReloaded).\n\n\nThis code\n```\n  import NaplpsWriter\n  use NaplpsConstants\n  ...\n      gcu_init()\n      |\u003e append_byte(@cmd_shift_in)\n      |\u003e select_color(@color_blue)\n      |\u003e draw(@cmd_set_point_abs, {75 / 256, 75 / 256})\n      |\u003e draw(@cmd_line_rel, [\n        {25 / 256, 100 / 256},\n        {50 / 256, -100 / 256},\n        {-90 / 256, 55 / 256},\n        {100 / 256, 0 / 256},\n        {-85 / 256, -55 / 256}\n      ])\n      |\u003e draw(@cmd_set_point_rel, [])\n```\nwill produce a drawing\n\n![Blue star drawn in GCU NAPLPS drawing program](images/bluestar.png)\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `naplps_writer` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:naplps_writer, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at \u003chttps://hexdocs.pm/naplps_writer\u003e.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrcook%2Fnaplps_writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrcook%2Fnaplps_writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrcook%2Fnaplps_writer/lists"}