{"id":20205388,"url":"https://github.com/cgxeiji/inventory","last_synced_at":"2026-06-09T15:01:31.769Z","repository":{"id":57588840,"uuid":"291894048","full_name":"cgxeiji/inventory","owner":"cgxeiji","description":"Inventory manager with a web interface made with Go.","archived":false,"fork":false,"pushed_at":"2020-09-03T03:03:51.000Z","size":23434,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T14:54:28.087Z","etag":null,"topics":["go","golang","inventory-management","web"],"latest_commit_sha":null,"homepage":"","language":"Go","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/cgxeiji.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}},"created_at":"2020-09-01T04:18:16.000Z","updated_at":"2020-09-03T03:29:41.000Z","dependencies_parsed_at":"2022-09-26T19:42:55.251Z","dependency_job_id":null,"html_url":"https://github.com/cgxeiji/inventory","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cgxeiji/inventory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxeiji%2Finventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxeiji%2Finventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxeiji%2Finventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxeiji%2Finventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgxeiji","download_url":"https://codeload.github.com/cgxeiji/inventory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxeiji%2Finventory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","golang","inventory-management","web"],"created_at":"2024-11-14T05:17:19.817Z","updated_at":"2026-06-09T15:01:31.749Z","avatar_url":"https://github.com/cgxeiji.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inventory\n\n[![Version](https://img.shields.io/github/v/tag/cgxeiji/inventory?sort=semver)](https://github.com/cgxeiji/inventory/releases)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/cgxeiji/inventory)](https://pkg.go.dev/github.com/cgxeiji/inventory)\n[![License](https://img.shields.io/github/license/cgxeiji/inventory)](https://github.com/cgxeiji/inventory/blob/master/LICENSE)\n![Go version](https://img.shields.io/github/go-mod/go-version/cgxeiji/inventory)\n\nInventory is an inventory manager written in Go and served as a web page. It\nwas developed to keep track of items in a small scale, like research\nlaboratories or homes.\n\n## How does it work?\n\nBy default, inventory will run a web server at `localhost:8080` and create a\ndirectory at `$HOME/.inventory` to store the information of each item.\n\nYou can change the port and directory by passing:\n```\n$ inventory -p 5005 -d /path/to/inventory/dir\n```\n\n`localhost:8080` shows a table with the list of items in the inventory. You can\npress `+ Add item` to add a new item to the inventory using the web interface\nor manually create an entry at `$HOME/.inventory`.\n\n#### Items\n\nEach item is added to its own directory with a unique id name and consist of a\n`info.yaml` metadata file, `picture.jpg` with a picture of the item, and\n`location.jpg` with a photo of the return location.\n\nOnce the item is added, it will appear inside the table at the root url.\nClicking on the thumbnail of the item will open a new page with a QR code\nlinking that specific item. You can print this QR code and physically attach it\nto the item.\n\n#### Check in/out with QR codes\n\nScanning the QR code will open an `update item` interface where the user is\nprompted to write their name. Clicking on `Use item!` will change the state of\nthe item to `in use = true` and show the name of the person using the item.\n\nAfter finishing using the item, scan the QR code again to return the item. This\ntime, the user is prompted to upload a photo of the place the item was returned\nat. Pressing on `Return item!` will change the state of the item to `in use =\nfalse` and the location of the item can be reviewed by clicking on the\n`returned` link from the main inventory url.\n\n### Security\n\nIf only restricted users should have access to the inventory, then create a\n`.htdigest` file or `.htpasswd` file and add users to the realm `inventory`.\n\nThen, run inventory as:\n```\n$ inventory -c /path/to/.htdigest\n```\n\nThis will block the access to the inventory main page, but the QR scan can\nstill be accessed by anyone.\n\n## Installation\n\nYou can download the [release\nbinaries](https://github.com/cgxeiji/inventory/releases) or compile it from\nsource by running:\n```\n$ go get -v github.com/cgxeiji/inventory/inventory\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgxeiji%2Finventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgxeiji%2Finventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgxeiji%2Finventory/lists"}