MIT License

项目介绍

maddox/magic-cards 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 615 个 Star、50 次 Fork。

仓库全名
maddox/magic-cards
开源许可证
MIT License
Star 数
615
Fork 数
50
未关闭 Issue
50

README 摘要

Magic Cards merges the physical world with the digital world. It lets you create RFID scannable cards that you can program to do anything. Start playing music Play a movie Tune to a TV channel Unlock your back door Scan your card, music starts playing. Boom. How does it work? RFID cards each have a unique ID. These cards are cheap, inkjet printable, and the card readers cost about $10. Magic Cards lets you create…

完整内容见 GitHub 原始 README 或本页 。

常见问题

magic-cards 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 615 个 Star。

magic-cards 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 magic-cards 的源码?

可以直接克隆仓库:git clone https://github.com/maddox/magic-cards.git,默认分支为 master;安装与运行步骤见仓库 README。

magic-cards 最近还在维护吗?

仓库最近一次更新为 2022年12月9日,当前有 50 个未关闭 Issue;Star 数为 615,可作为社区活跃度的参考。

关于

🎩 Queue music, play movies, or trigger events with RFID cards.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
739
价值分
383
活跃状态
活跃

语言占比

CSS
Dockerfile
HTML
JavaScript
Shell

Release

README


Magic Cards merges the physical world with the digital world. It lets you create RFID scannable cards that you can program to do anything.

  • Start playing music
  • Play a movie
  • Tune to a TV channel
  • Unlock your back door

Scan your card, music starts playing. Boom.

How does it work?

RFID cards each have a unique ID. These cards are cheap, inkjet printable, and the card readers cost about $10. Magic Cards lets you create cards with art, titles, and actions that happen when the specific cards are scanned.

Magic Cards runs on a simple Raspberry Pi Zero with an RFID card reader plugged in. It gives you a full management console to create and manage all of your cards. It listens in the background for a card scan and when it sees one, it looks up that card and processes the action you defined for it.

While this is still very much a DIY project, the hopes of Magic Cards is that it makes it much more manageable and fun!

What can it do?

Magic Cards lets you program cards to start music on Sonos, trigger an event on Home Assistant, change a channel or play a recording with Channels, or run your own specific script.

This isn’t all. Magic Cards makes it easy to add more actionable platforms for the future. Pull Requests welcome!

     

Why?

You might be wondering why you would want to bring back physical media after finally ridding ourselves of all of it.

Why would you use these physical cards when we can start music just by using our voice now? Well, why not both?

Yes, physical media had its downsides. You had to store it, get up to play it, and it would get damaged. Digital media is transparent, accessible from almost anywhere, and never wears out.

Ridding our world of physical media ends up having quite a few drawbacks:

  • Browsing or picking music from 10m available albums creates a paradox of choice.
  • Scrolling through huge libraries on a glass screen isn’t really that fast and it definitely doesn’t feel that great.
  • Voice queuing is great, if you can remember or even KNOW what you want to listen to.
  • Some members of the household (mainly kids) get completely left out of the experience. They have no means to play something.

Having a subset of your favorite music or movies ends up being a really great way to pick something to put on. Our brains are faster than any scrolling list of album covers. Physically holding and sifting through music/movies ends up being way faster.

As our media leaves the physical space and enters the digital space, kids start to get left out. They have no books to pull off a shelf and sift through. They have no music to browse and experiment by listening. These things are important for kids. Checking out your parents’ music is part of growing up!

And for the little ones, this gives them a real way to put music on themselves.

Magic Cards lets you marry what’s great about physical media with what’s great about digital media.

Setup

You can find more information about installation and how to use Magic Cards in the documentation.

Community

Check out the Magic Cards community on Spectrum. Chat about cool tricks or visit for some troubleshooting.

Join the community on Spectrum

Contributions

Find a bug, or want to add a new action? Contributions are very welcomed!

  • Fork the repo
  • Create a feature branch
  • Open a Pull Request

Attributions

None of this would exist without @fsahli and @hoveeman’s music-card project. @hoveeman’s YouTube video inspired all of this. Thanks @hoveeman!

To Dos

Magic Cards is pretty fun, but there’s some other things I’d love for it to do eventually. Pull Requests very much welcomed!

  • Ability to print cards directly from Magic Cards.
  • Kodi support
  • Direct Chromecast support

Some of these can be done by integrating with Home Assistant, but not everyone has Home Assistant set up.

评论

暂无评论