{"id":22441242,"url":"https://github.com/codedwells/avcs","last_synced_at":"2025-03-27T10:15:00.020Z","repository":{"id":266077124,"uuid":"897304277","full_name":"Codedwells/avcs","owner":"Codedwells","description":"A terminal screen, that renders a  stream of bytes","archived":false,"fork":false,"pushed_at":"2024-12-04T10:52:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T10:14:45.656Z","etag":null,"topics":["cli","cmd","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Codedwells.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":"2024-12-02T11:59:09.000Z","updated_at":"2024-12-04T10:52:46.000Z","dependencies_parsed_at":"2024-12-02T13:26:24.831Z","dependency_job_id":"0ad1fa70-35fa-4da7-bc1b-d914978ed903","html_url":"https://github.com/Codedwells/avcs","commit_stats":null,"previous_names":["codedwells/avcs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codedwells%2Favcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codedwells%2Favcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codedwells%2Favcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codedwells%2Favcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codedwells","download_url":"https://codeload.github.com/Codedwells/avcs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245823315,"owners_count":20678173,"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":["cli","cmd","golang"],"created_at":"2024-12-06T02:13:29.667Z","updated_at":"2025-03-27T10:14:59.978Z","avatar_url":"https://github.com/Codedwells.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# AVCS\n\nHello world!\nPlease check on the 13th, I mistakenly clicked apply : )\n\n\n+--------------+-------------+-------------+-------------+--- ··· ---+----------------+     \n| Command Byte | Length Byte | Data Byte 0 | Data Byte 1 |    ···    |  Data Byte n-1 |     \n+--------------+-------------+-------------+-------------+--- ··· ---+----------------+\n\n\nThe data format is an array of bytes, containing sections of above form, in succession. Each section begins with a command byte, specifying the type of operation to be performed on the screen, followed by a length byte, and then a sequence of data bytes, which function as arguments to the command, as specified below:\n\n### 0x1 - Screen setup: Defines the dimensions and colour setting of the screen.\nThe screen must be set up before any other command is sent. Commands are ignored if the screen hasn't been set up.\n**Data format:**\nByte 0: Screen Width (in characters)    \nByte 1: Screen Height (in characters)    \nByte 2: Color Mode (0x00 for monochrome, 0x01 for 16 colors, 0x02 for 256 colors)    \n\n### 0x2 - Draw character: Places a character at a given coordinate of the screen.\n**Data format:**\n\nByte 0: x coordinate    \nByte 1: y coordinate    \nByte 2: Color index    \nByte 3: Character to display (ASCII)\n\n### 0x3 - Draw line: Draws a line from one coordinate of the screen to another.\n**Data format:**\n\nByte 0: x1 (starting coordinate)    \nByte 1: y1 (starting coordinate)    \nByte 2: x2 (ending coordinate) Byte 4: y2 (ending coordinate)\nByte 4: Color index    \nByte 5: Character to use (ASCII)    \n\n### 0x4 - Render text: Renders a string starting from a specific position.\n**Data format:**\n\nByte 0: x coordinate    \nByte 1: y coordinate    \nByte 2: Color index    \nByte 3-n: Text data (ASCII characters)\n\n### 0x5 - Cursor movement: Moves cursor to a specific location without drawing on the screen.\n**Data format:**\n\nByte 0: x coordinate    \nByte 1: y coordinate    \n\n### 0x6 - Draw at cursor: Draws a character at the cursor location.\n**Data format:**\n\nByte 0: Character to draw (ASCII)     \nByte 1: Color index\n\n### 0x7 - Clear screen:\n**Data format:**\n0xFF - End of file: Marks the end of binary stream.\n\nData format: No additional data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedwells%2Favcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedwells%2Favcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedwells%2Favcs/lists"}