Better HN
topnewbestaskshowjobs
Log inSign up

mcao

250 karma · joined Mar 19, 2011 (15y ago) · 66 submissions

Submissions

comment 1y ago · link · parent

Bot detection is enabled automatically.

comment 4y ago · link · parent

Yes, if you display a custom 404 page.

comment 4y ago · link · parent

Yes, the UI is all from scratch. My inspiration was from seeing other audio-reactive videos on Youtube, but those were rendered with either Adobe After Effects or a 3D program like Blender. I wanted to build something that was easy for the average person to use.

comment 4y ago · link · parent

It's open-source so you can see how everything is done. The audio processing is all done with Web Audio APIs.

comment 4y ago · link · parent

I haven't looked into it so I am not sure if it's possible. The requirement would be for Electron to be able to run headless with WebGL enabled.

comment 4y ago · link · parent

If you simply drop in a song, it will render in realtime. You don't have to render it to a video. I am working on a "live" mode that will act much like Winamp, where you would select a playlist of songs and have it cycle effects.

comment 4y ago · link · parent

Video is not currently supported but will be in the future.

comment 4y ago · link · parent

Hi everybody, I'm the creator of Astrofox. Surprised to see this here, but I'll be glad to answer any questions.

Astrofox has been my side project for several years now. It's basically my playground for trying out things like Electron, React and WebGL. It's open-source, MIT licensed, and totally free to use.

comment 5y ago · link · parent

You can use an open-source alternative like https://umami.is/

comment 5y ago · link · parent

Cool! I found the skin I made way back when, https://archive.org/details/winampskin_SpyAMP_Professional_E...

comment 6y ago · link · parent

https://umami.is/

12.

Show HN: Astrofox – I made my motion graphics app open-source(github.com ↗)

12 points · by mcao · 6y ago · 4 comments

comment 6y ago · link · parent

I actually am using it to record metrics for umami.is:

https://app.umami.is/share/8rmHaheU/umami.is

I'm using it for all my websites. The reason I went with another site for the demo is because I wanted something with at least 30 days of data so users can play around with the different settings. Once I get enough data, I'll switch it over.

comment 6y ago · link · parent

This may just be me, but I'm very particular about my software. I want it to look and flow a certain way. So I wrote Umami mainly for my needs first. Plus it was just a fun project.

I always start side projects so I can learn something new. In this case it was Prisma.io, Chart.js, Next.js authentication, JWT and Postgresql. All of which I didn't know about until this project.

comment 6y ago · link · parent

Fair point. I was simply following the "common practice" from other products making these claims, which is to not store personal user data and only generate an anonymous ids.

Maybe that's not fully compliant, I don't know, so I went ahead and removed any mention of GDPR from the website. It's not really my goal anyways. I'm just trying to release free software while they are charging money and making these claims.

comment 6y ago · link · parent

Agreed, saying it's a one to one alternative to Google Analytics is probably a misnomer. I think a lot of people, myself included, used GA because there were no simpler alternatives and better overkill than nothing.

comment 6y ago · link · parent

I will switch it over at some point. I've been running it on my own sites for a month so I just wanted to provide an example with more data to play with.

comment 6y ago · link · parent

I will probably implement the daily salt and remove the localStorage code as well just to be safe.

But again, I'm not a lawyer here, where do you draw the line? Why not hourly salts? 5 minute salts? What is considered a reasonable effort? At some point you're storing data that can identify a user for the purpose of analytics. Still, I'm going try to lean to the safer side as best I can.

comment 6y ago · link · parent

For personal projects I tend to write all the CSS and components myself. I just like being able to control everything down to the pixel without reading some documentation. But that's just my workflow. I say just use whatever gets the job done. The only thing I used was Bootstrap grid for responsive layouts. Tailwind CSS is pretty popular.

comment 6y ago · link · parent

This is my first time ever using Prisma and I'm a huge fan of it already. It did run into a few gotchas and would love to discuss.

comment 6y ago · link · parent

It uses prisma.io for the database connections and SQLite is supported. I just haven't had the time to implement it yet and make sure all the custom queries are working. I would welcome a PR.

comment 6y ago · link · parent

Event tracking is already supported in the build. I just haven't completed the UI components yet. You simply add a custom CSS class on an element and it will automatically be tracked.

comment 6y ago · link · parent

I am not a lawyer so I cannot say for sure what constitutes PII and what breaches GDPR. I am using the same techniques as Fathom Analytics, Plausible.io and other products. Everything is hashed into a unique session id and none of the actual data like user agent or IP address is actually stored. It is the same data that is found in server log files. In the strictest interpretation of GDPR, I don't think any analytics product can exist.

As for the localStorage, it's just for performance so I don't have to recompute the session hash. The product will work the same without it. But seeing as it is a cause contention I am probably going to remove it.

comment 6y ago · link · parent

Should be back up now, give it another try.

comment 6y ago · link · parent

Should be back up now.

comment 6y ago · link · parent

The local storage is mainly for performance. It's to prevent a round-trip to the database to figure out the session again. The session id will be the same regardless and it can function without local storage. But I do see your point. I may consider removing it just to be safe.

comment 6y ago · link · parent

Yes, I'm working on a real-time view at the moment.

The demo was down for a while due to too much traffic. It should be back up now.

comment 6y ago · link · parent

You can create an issue on Github and I'll try and answer, https://github.com/mikecao/umami/issues

comment 6y ago · link · parent

I haven't implemented it yet, but I plan to make it read the user's do not track setting and automatically opt out.

comment 6y ago · link · parent

No, it does not use cookies so no cookie prompt is needed.
123