{"id":24963082,"url":"https://github.com/rubensflinco/thermal-printer-interface","last_synced_at":"2026-04-13T14:32:05.335Z","repository":{"id":118133296,"uuid":"360740582","full_name":"rubensflinco/Thermal-Printer-Interface","owner":"rubensflinco","description":"Interface NodeJS Express para impressora térmica Adafruit ou Sparkfun conectadas a uma Raspberry com o sistema Raspbian OS","archived":false,"fork":false,"pushed_at":"2022-05-31T14:11:08.000Z","size":4346,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T16:38:56.176Z","etag":null,"topics":["css","ejs","interface","javascript","nodejs","npm","printer","raspberry","raspbian","shell","thermal"],"latest_commit_sha":null,"homepage":"https://rubensflinco.github.io/Thermal-Printer-Interface/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubensflinco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2021-04-23T02:29:52.000Z","updated_at":"2021-11-25T00:00:52.000Z","dependencies_parsed_at":"2023-07-06T15:30:12.263Z","dependency_job_id":null,"html_url":"https://github.com/rubensflinco/Thermal-Printer-Interface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rubensflinco/Thermal-Printer-Interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensflinco%2FThermal-Printer-Interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensflinco%2FThermal-Printer-Interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensflinco%2FThermal-Printer-Interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensflinco%2FThermal-Printer-Interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubensflinco","download_url":"https://codeload.github.com/rubensflinco/Thermal-Printer-Interface/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensflinco%2FThermal-Printer-Interface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","ejs","interface","javascript","nodejs","npm","printer","raspberry","raspbian","shell","thermal"],"created_at":"2025-02-03T09:54:44.399Z","updated_at":"2026-04-13T14:32:05.318Z","avatar_url":"https://github.com/rubensflinco.png","language":"EJS","funding_links":["https://www.paypal.com/donate/?hosted_button_id=95284JRJNEF2A"],"categories":[],"sub_categories":[],"readme":"# Thermal-Printer-Interface\n\n[![Github](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/rubensflinco/Thermal-Printer-Interface)\n[![Doação](https://img.shields.io/badge/Fa%C3%A7a%20uma-Doa%C3%A7%C3%A3o%20☕-blue?style=for-the-badge)](https://www.paypal.com/donate/?hosted_button_id=95284JRJNEF2A)\n[![Licença](https://img.shields.io/badge/Licen%C3%A7a-MIT-brightgreen?style=for-the-badge)](license.md)\n\nInterface NodeJS Express para impressora térmica Adafruit ou Sparkfun conectadas a uma Raspberry com o sistema Raspbian OS\n\n\u003ccenter\u003e\n  \u003cimg src=\"https://i.imgur.com/FmYRJ9k.png\" alt=\"Print mobile Thermal Printer Interface\" align=\"left\" width=\"25%\" /\u003e\n  \u003cimg src=\"https://i.imgur.com/EmrDJS1.png\" alt=\"Print mobile Thermal Printer Interface\" width=\"70%\" /\u003e\n  \u003cbr/\u003e\n\u003c/center\u003e\n\n# 🖨 Requisitos de hardware\n- Uma impressora \"Mini Thermal Receipt Printer [Adafruit](https://www.adafruit.com/product/597) ou [Sparkfun](https://www.sparkfun.com/products/14970)\"\n- Uma fonte de energia 5V 2A para a impressora ([Esse artigo me ajudou a saber o que comprar para ligar a impressora](https://learn.adafruit.com/mini-thermal-receipt-printer/power))\n- Uma Raspberry com portas para conectores (Eu testei em uma [Raspberry pi 3 model b](https://amzn.to/3o2OLrb))\n- Uma [fonte de energia para a Raspberry](https://amzn.to/3evv9Zy)\n- Wifi onde a Raspberry e impressora irão ficar (Você terá que está no mesmo wifi para cessar a interface web nós seus dispositivos)\n\n# 💻 Requisitos de software na raspberry\n- [Raspberry Pi OS with desktop](https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit)\n- [NodeJS e NPM instalados](https://nodejs.org/pt-br/)\n\n# 🔌 Conexão de cabos Raspberry e Mini Thermal receipt Printer\n![Foto das conexões da Raspberry com a Impressora](https://i.imgur.com/wImpSNj.jpg)\n\u003ccenter\u003e\n  \u003cimg src=\"https://i.imgur.com/7OwHxDk.jpg\" alt=\"Foto das conexões da Raspberry com a Impressora\" align=\"left\" width=\"45%\" /\u003e\n  \u003cimg src=\"https://i.imgur.com/t0frHkP.jpg\" alt=\"Foto das conexões da Raspberry com a Impressora\" width=\"45%\" /\u003e\n  \u003cbr/\u003e\n\u003c/center\u003e\n\n# 👨‍💻 Instalando Thermal Printer Interface na Raspberry\n- Vá até a sua pasta \"Documents\" execute o seguinte comando via terminal `git clone https://github.com/rubensflinco/Thermal-Printer-Interface`\n- Acesse a pasta criada do repositorio usando o comando `cd Thermal-Printer-Interface/`\n- Para iniciar o servidor web da interface digite `sudo npm start`\n- Pronto automaticamente irá fazer atualizações de pacotes npm e irá iniciar o servidor, caso você queira fazer o servidor iniciar automatico ao ligar veja os proximos passos:\n\n# 🚀 Fazendo Thermal Interface iniciar junto a Raspberry\n- No terminal digite o seguinte comando `sudo nano /etc/profile` \n- Ao final desse arquivo adicione as seguintes linhas de codigo:\n~~~\n# Iniciar Thermal Printer Interface\ncd  /home/pi/Documents/Thermal-Printer-Interface\nsudo git pull\nsudo npm start\n~~~\n- Depois aperte Crlt + X e aperte S  e depois Enter para salvar as alterações.\n- Pronto agora sempre que ligar a Raspberry o Thermal Interface será iniciado.\n- OBS: Caso sua raspberry estejá com nome de usuario diferente de `pi` você deve mudar a pasta colocando no codigo acima ^^.\n\n# 📜 Usando Thermal Interface\n- Ao iniciar o Thermal Interface com o comando `sudo npm start` o sistema fará uma impressão de test e tambem uma impressão informando o IP atual em que a interface se localiza, algo parecido com isso:\n![Foto da primeira impressão ao ligar](https://i.imgur.com/lYG1w2C.jpg)\n- OBS: Caso a impressora não tenha impremido essa folha é possivel que a sua conexão com os cabos de conexão estejá errada ou o servidor web Thermal Interface não iniciou ainda ele pode demorar um pouco.\n- Digite o IP atual impresso no seu navegador seja em seu celular ou computador e pronto, deve aparecer essa tela:\n![Foto da interface](https://i.imgur.com/PDfT8IM.png)\n- OBS: Caso a interface não estejá carregando verifique se você está na mesma rede WIFI que a sua raspberry ou se o servidor web Thermal Interface já iniciou ele pode demorar um pouco.\n- Feito isso agora é só se divertir e Imprimir qualquer texto que você quiser basta digita na caixa e clicar em imprimir :)\n\nVocê pode acessar esse IP de qualquer dispostivo que estejá conectado ao mesmo WIFI da Raspberry, então da pra imprimir de qualquer lugar de sua casa provavelmente :)\n\nTambem é possivel continuar usando a Raspberry inclusive para usar a inaterface nela mesma caso tenha uma tela.\n\n\n# 📫 Contribuindo para Thermal-Printer-Interface\nPara contribuir com Thermal-Printer-Interface, siga estas etapas:\n\n1. Bifurque este repositório.\n2. Crie um branch: `git checkout -b \u003cnome_branch\u003e`.\n3. Faça suas alterações e confirme-as: `git commit -m '\u003cmensagem_commit\u003e'`\n4. Envie para o branch original: `git push origin Thermal-Printer-Interface / \u003clocal\u003e`\n5. Crie a solicitação de pull.\n\nComo alternativa, consulte a documentação do GitHub em [como criar uma solicitação pull](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).\n\n# 🤝 Colaboradores\n\nAgradecemos às seguintes pessoas que contribuíram para este projeto:\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://avatars3.githubusercontent.com/u/6248317\" width=\"100px;\" alt=\"Foto de Rubens Flinco\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\n          \u003cb\u003eRubens Flinco\u003c/b\u003e\n        \u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# 📝 Licença\n\nEsse projeto está sob licença. Veja o arquivo [LICENÇA](license.md) para mais detalhes.\n\n[⬆ Voltar ao topo](#Thermal-Printer-Interface)\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubensflinco%2Fthermal-printer-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubensflinco%2Fthermal-printer-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubensflinco%2Fthermal-printer-interface/lists"}