{"id":17297033,"url":"https://github.com/adamniederer/0xc","last_synced_at":"2025-04-14T11:23:53.630Z","repository":{"id":80548358,"uuid":"69135810","full_name":"AdamNiederer/0xc","owner":"AdamNiederer","description":"Easy base conversion in emacs","archived":false,"fork":false,"pushed_at":"2022-11-23T04:24:35.000Z","size":30,"stargazers_count":45,"open_issues_count":5,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:41:37.825Z","etag":null,"topics":["base","conversion","emacs"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","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/AdamNiederer.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}},"created_at":"2016-09-25T00:48:44.000Z","updated_at":"2024-05-30T20:33:11.000Z","dependencies_parsed_at":"2023-03-13T20:09:35.332Z","dependency_job_id":null,"html_url":"https://github.com/AdamNiederer/0xc","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/AdamNiederer%2F0xc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamNiederer%2F0xc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamNiederer%2F0xc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamNiederer%2F0xc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamNiederer","download_url":"https://codeload.github.com/AdamNiederer/0xc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248869527,"owners_count":21174892,"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":["base","conversion","emacs"],"created_at":"2024-10-15T11:14:30.920Z","updated_at":"2025-04-14T11:23:53.605Z","avatar_url":"https://github.com/AdamNiederer.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GPLv3](https://img.shields.io/badge/license-GPLv3-brightgreen.svg)\n[![MELPA](https://melpa.org/packages/0xc-badge.svg)](https://melpa.org/#/0xc)\n[![Build Status](https://travis-ci.org/AdamNiederer/0xc.svg?branch=master)](https://travis-ci.org/AdamNiederer/0xc)\n![Coverage](https://img.shields.io/badge/coverage-83%25-green.svg)\n\n# 0xc\n(Pronounced \"hex convert\")\n\nBase conversion made easy in emacs\n\n## Features\n- Base conversion!\n- Intelligent base inference\n- Replace-at-point methods\n- Simple representation of bases up to 36\n\n## Installation \u0026 Setup\n0xc is avilable on [Melpa](https://melpa.org/#/0xc). After installing with `M-x package-install \u003cRET\u003e 0xc \u003cRET\u003e`,\nall functions should be available.\n\n## Functions\n- `0xc-convert` - Simple string-to-string base conversion. Accepts prefix options and allows interactive use.\n- `0xc-convert-point` - Replace the number at point with a converted representation.\n- `0xc-live-convert` - Open a new window and show various interpretations and conversions for a number as you type it.\n\n## Base Hinting\n\nA number literal's base can be roughly determined via heuristics, but you can use the following hints to ensure 0xc gets it right:\n\n- `0x` and `'h` are hexadecimal literals\n- `0b` and `'b` are binary literals\n- `0t` is a ternary literal\n- `0d` and `'d` are decimal literals\n- `0o` and `'o` are octal literals\n\nAlternatively, you can prefix a base-n number with `n:`. 0xc will automatically remove any of these base hints when converting\n\n## Future\nMore tests are next. If you feel like beating me to it, open a pull request.\n\n## License\nGPLv3+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamniederer%2F0xc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamniederer%2F0xc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamniederer%2F0xc/lists"}