Skip to content

afonsoingles/printer-api

Repository files navigation

Printer

Hi! This my email-to-printer API. Just send an emai. Have credits? Great, it prints automatically! Don't? No worries, just wait for an admin to approve you.

How to run?

  1. Clone this git clone https://github.com/afonsoingles/printer
  2. Run UV uv sync
  3. Set the envs! You can use doppler by setting up a DOPPLER_TOKEN or use env variables directly. You can check the necessary env variables in the .env.example file.
  4. Run it! uvicorn main:app --reload --host 0.0.0.0

That's it!

Printer

This is (currently) the only worker. It forwards emails sent to my printer's email to my actual printer, so its files are actually printed. With the new authentication system, i will be adding the ability to see wich files you sent to the printer, via the Printer Dashboard.

Dashboard

I suppose no one wants to call API endpoints for a thing that should have a dashboard. So I built one, using AI. As i explained in the dashboard's repo, I'm more of a backend-dev, but i felt that this needed a dashboard. As i don't like to build websites, i let Amp do it with my supervision. I hope that it still is enjoyable experience and that it meets some high-level expectations

~ Afonso. For questions, or help, email hi@afonsoingles.dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors