Developer Diary

From now on, you can print your own barcodes

Matthias Schmid

September 24, 2021

Label homemade items with a barcode to easily keep track of inventory, expiration dates, and storage locations.

Most purchased items already have a barcode

Most packaged foods in Europe are labeled with a barcode for commerce. In this case, the barcode is the machine-readable version of a globally unique number (GTIN) that allows products to be identified repeatedly throughout the supply chain. More information on this can be found in this Blog article on the topic of barcodes.

In the supermarket, the payment process at the checkout is greatly simplified by a barcode. When the cashier scans the item at the checkout, there is a short beep. This is the confirmation that the reading process was successful. Through the barcode, the cash register system finds the stored product name, the stored price, and any price reductions.

In larger supermarkets, there is even an inventory management system connected that automatically reduces stock levels and can generate an order when a certain quantity of goods is reached.

Why equip homemade items with a barcode?

By uniquely identifying products by the manufacturer, all sorts of additional information can be stored in databases. Besides the price, as mentioned in the previous section, information about manufacturing, packaging, recycling tips, the Nutri-Score, a sustainability score, nutritional values, and much more can be saved.

This is what makes the use of barcodes interesting in the Speisekammer App as well! Here, additional attributes to the barcode are stored in a database, including the storage location at home, the quantity on hand, the minimum shelf life, a description, and even a photo.

So by scanning a product at home, you can manage your household much more easily with barcodes. You scan a product with the Pantry App and immediately have the following information at a glance:

  • Inventory
  • Product photo
  • Storage location
  • Expiration date

This also makes it interesting for homemade products - after all, it is advantageous here as well if you can record your inventory, storage location, expiration date (or possibly the production date) and a photo. In the following section, we will show you how you can skillfully label your products at home with barcodes at a low cost.

And how do I now create a barcode for my homemade jam?

To create a barcode, you need three things:

A unique identifier for your product

A barcode generator

Paper (preferably self-adhesive) and a printer

The unique identifier for your product

Typical identifiers in commerce are EAN8 and EAN13, which are 8-digit and 13-digit numbers, respectively. Unfortunately, by looking at them, you cannot tell what product they represent. If you use a Code 128 instead, you can also use letters for identification. The advantage is that you can directly see what is encoded on the printed label.

For the Pantry App, we have decided to limit ourselves to uppercase letters. So you can use any conceivable word as an identifier, provided you write it in uppercase. For example:

  • TOMATOES
  • PRE-COOKED
  • STRAWBERRY JAM

A barcode generator

Next, you feed your identifier into a barcode generator. This creates a printable graphic from the identifier. There are some free barcode generators on the internet. You can find the one we used for this article further down.

Paper (preferably self-adhesive) and printer

Now print the barcodes you created with your printer. If you use self-adhesive address labels, you can easily apply them to your freezer bags, canning jars, and cans. For example, you can order these through Amazon (affiliate link):

AVERY Zweckform 3652-10 Address Labels (210 stickers, 70x42.3 mm on A4, printable return labels, self-adhesive address labels with ultragrip, ideal for home office) 10 sheets, white

Some examples for downloading

As an example, we have generated some barcodes for you that you can print out and use:

Various examples of barcodes for homemade items. You can print these out and stick them on your homemade products.

If you can't find what you're looking for, you can easily create more for free at Tec-IT yourself. Simply select "Code-128" and make sure to use only uppercase letters so that the Pantry App can read the barcodes:

Free Online Barcode Generator: Code-128Free Code-128 Generator: This free online barcode generator creates all 1D and 2D barcodes. Download the generated barcode as bitmap or vector image.Barcode Generator

Alternatives to Code128

There are also Code 11, EAN8, EAN13, QR Codes... why is Code 128 being used in this blog article?

It doesn't matter whether you use Code 39 or Code 128, they have the following advantages:

  • The identifier consists of letters, so you can directly recognize by the label what kind of product it is
  • The barcode includes a check digit that makes the scanning process more robust
  • The barcode can be read with simple single-line (1D) scanners

Unfortunately, there is no room for additional information within the barcode itself, as it would quickly become too long.

EAN8/EAN13

If it's not important for you to be able to read the label to know what it's about, you can also use EAN8 or EAN13. These barcodes also contain a check digit. To ensure that you don't accidentally use the same barcode as food manufacturers with your own barcode, there are so-called "in-house" codes. These always start with "2" and can otherwise be chosen freely. So here you also have a huge stock of barcodes that you can read with a 1D scanner. Another advantage is the fixed width of the barcode. This is especially important when there is limited printing space on the product.

QR Codes

QR codes are quite modern compared to their predecessors; they were developed in Japan in 1994. The advantage is that there is a lot of space within the barcode itself - up to 4296 characters. When using digits, even 7089 characters can fit.

Here, information such as product name, product size, nutritional values, and much more can be directly stored. It also contains correction data for a robust scanning process and can be read quickly. The downside of the QR code is that it requires a 2D scanner.

Conclusion

In this article, we have shown you how to equip your homemade products with barcodes using fairly simple means, so that you can manage them more easily with the Pantry App. This way, you can also easily manage inventory for homemade items, add photos, and much more.

We have limited ourselves to simple 1D barcodes (Code 128) that can also be read by basic scanners.

Have fun trying it out!

New laws on food waste in Spain

Spain has recently passed a groundbreaking law to combat food waste. This law requires all actors in the food chain, from producers to retailers, to implement specific plans to prevent food loss.

Key provisions of the law:

Obligation to donate surplus food: Supermarkets with a floor space of more than 1,300 square meters are now required to form partnerships with non-profit organizations to donate surplus food that is still fit for consumption. These donations are exempt from value-added tax.

Offer of packaging for leftover food: Restaurants and bars are required to provide their guests with free, reusable or recyclable packaging so that they can take home uneaten food. The aim is to raise consumer awareness of food waste and encourage them to take leftovers with them.

Promotion of the sale of products with approaching expiration dates: Retailers should offer products that are nearing their expiration date or have aesthetic defects at reduced prices to encourage their sale and reduce waste.

Hierarchy of priorities for dealing with surplus food: The law establishes an order for handling surplus food. Priority is given to human consumption through donations. If this is not possible, the food should be used for the production of processed products. The last options include using it as animal feed or for energy generation.

Sanctions for violations:

Companies that violate the provisions of the law can expect fines ranging from 2,000 to 500,000 euros.

PortableText [components.type] is missing "image"

Critique and Outlook:

While the law is considered an important step in the fight against food waste in Europe, there is also criticism. Some voices argue that the strict framework of sanctions could disproportionately burden companies and that the law does not sufficiently address the role of consumers, who are responsible for a significant portion of food waste.

Nevertheless, the law is seen as a significant advancement in reducing food waste and promoting a more sustainable awareness in society.

Join in and reduce food waste! πŸŒ±πŸ“²

Spain's new law demonstrates: Sustainability starts in the pantry! With the Speisekammer App you can keep track of your groceries, plan meals efficiently, and avoid unnecessary waste.

πŸ‘‰ Download the app now and join the movement for less waste and more conscious consumption! πŸ’š Try it now!

August 27, 2025
2 min read

Get the most out of your Smantry App: Activate these premium features!

πŸ–ΌοΈ Private photos for your articles

Make your inventory management visual! With the feature "Upload Your Own Images" you can add a photo to each item – for example, of the packaging, the jar, or the portion in the freezer. This is especially helpful if you share with others in a community or if you want to visually remember your supplies better.

Activation: Open app β†’ Account (last tab in the mobile app) β†’ Settings β†’ "Activate Personal Pictures"

πŸ” Target nutritional information

The app automatically displays calorie and nutritional information – super convenient when you're shopping or eating mindfully. Don't need this info right now or want a cleaner view? You can also simply hide the display!

Control:Profile β†’ Account Settings β†’ Enable β€œHide Nutritional Information”, to hide it.

πŸ’Ά Prices & Expenses at a Glance

If you want to know how much you spend on which item or how much money is lying dormant in your pantry, the Price Entry feature can help you. With it, you can plan your shopping even better and even track your budget.

Activation: Open app β†’ Account (last tab in the mobile app) β†’ Settings β†’ β€œEnable price input”

πŸ’‘ Prepper Mode: Even More Control

The Prepper Mode has been introduced for those who really want to keep track of everything – including minimum quantities, emergency supplies, and individual notes for serious situations. It's also useful if you just want to make sure you never run out of anything important.

Activation: Open app β†’ Account (last tab in the mobile app) β†’ Settings β†’ β€œShow Prepper Information”

Here's how you can find your account settings

In the mobile app you can find the settings easily in the last tab on the far right (Account). In the web app click on Account β†’ "Settings".

All mentioned features are part of the Premium-Version. If you don't have a premium license yet, feel free to check in the app or on app.speisekammer.app/upgrade – there's also a family license available!

✨ Conclusion: You have more options than you think. Activate the hidden premium features now and get the most out of your Smantry app. Because smart inventory management starts with the right tools.

If you have any questions about activation, feel free to contact support or check out our Help Center. And if you have feature requests – we always welcome your feedback!

July 30, 2025
2 min read

Never forget leftovers again: Soon you'll be able to mark opened products πŸ§ƒβœ¨

πŸ’‘ The new feature: Mark products as "opened"

With the upcoming update, you will soon be able to specify in the Pantry App when a product was opened. This way, you always keep track:

  • What is already open
  • Since when it has been open

This is particularly useful for fresh or perishable food items, but also for sauces, canned goods, spreads, or snacks.

πŸ”” Reminders included

Of course, if you wish, you will also be automatically reminded, when an opened product should soon be consumed – all in keeping with the motto: Use rather than waste.

🎯 Why this is important

Food waste often doesn't occur while shopping – but at home, in everyday life. If we know better what is open and should be consumed, it becomes easier to make the right decisions. And that's exactly what the Pantry App wants to support you with even better with the new feature.

πŸ›  When will it be time?

We are currently working hard on the implementation – the feature is expected to be rolled out in the next update. So you will be able to test it very soon yourself.

If you want to participate in the testing or have feedback, feel free to write to us in support. We look forward to your ideas!

With the Pantry App, stockpiling becomes not only more sustainable, but also easier – step by step.

Stay tuned – it's getting exciting! πŸ’š

July 25, 2025
1 min read

🌍 Small ideas – big impact: These companies help you save food in everyday life

🍏 Foodsi (Poland)

This mobile app connects users with restaurants, bakeries and cafΓ©s offering surplus food at reduced pricesβ€”especially valuable in Polish cities like Warsaw or KrakΓ³w.


πŸ”—
foodsi.pl

πŸ›οΈ OLIO – Share Surplus Food with Neighbors

OLIO connects neighbors and local businesses to share surplus food instead of throwing it away. Users can offer or request free food via the app β€” reducing waste and building community.


πŸ”— https://olioapp.com

🍌 Imperfect Foods – Selling "Ugly" but Edible Food

This U.S.-based grocery delivery service rescues "imperfect" produce and surplus goods that major supermarkets reject due to appearance or overstocking β€” and delivers them directly to your door.

πŸ”— https://www.imperfectfoods.com

πŸ“¦ Dispatch Goods – Reusable Packaging for Takeout

Dispatch Goods partners with restaurants to replace single-use containers with reusable packaging. This reduces packaging waste β€” and their system tracks and collects the containers for reuse.


πŸ”— https://www.dispatchgoods.com

πŸ₯¬ Fresh.Land – Farm-to-Consumer to Prevent Waste (DK)

Fresh.Land shortens the supply chain by connecting consumers directly with farmers. This means fresher produce, longer shelf life, and fewer losses due to long storage or transport.


πŸ”— https://www.fresh.land

🧊 ColdHubs – Solar-Powered Cold Storage in Nigeria

ColdHubs installs solar-powered cold rooms for small farmers and markets to store perishable foods. This innovation significantly extends shelf life and reduces spoilage in hot climates.

πŸ”— https://www.coldhubs.com

πŸ§ƒ Winnow – AI to Track Food Waste in Commercial Kitchens

Winnow’s smart scales and AI help restaurants and hotels measure and reduce food waste. By showing how much food is wasted and why, kitchens can adapt their behavior.

πŸ”— https://www.winnowsolutions.com

Why this matters for you

When you use the Smantry app, you can track and manage rescued food items in your pantry – whether they came from Foodsi, Karma, or another initiative. We’re building integrations to log these products, set reminders, and reduce waste in your household.

Know any other businesses doing this well?

We’d love to hear about them! Email your favourites to kira@mantry.com or write us in the chat or social media. Your tip might inspire others and be featured next. 🌿

July 24, 2025
2 min read