useStateMachine
macOCR
Our great sponsors
useStateMachine | macOCR | |
---|---|---|
13 | 18 | |
2,360 | 2,210 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 11 months ago | |
TypeScript | Swift | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
useStateMachine
-
Typescript Explicit States for pages
I came across this library: useStateMachine which has the closest syntax to what I was hoping to use. I’d like know what the community thinks or has any guides/suggestions.
-
Is it okay to use many useState and useEffect?
Another option is to consider using a state machine with a library like xstate or useStateMachine. I love how state machines can simplify complex states and eliminate impossible states (ex: being in two states at the same time).
-
Think of React Hooks As State Machines, Not Functions
shout out to useStateMachine if you want a powerful state machine in your component
- useStateMachine: A ½kb state machine hook for React
-
Hacker News top posts: May 22, 2021
useStateMachine: A ½kb state machine hook for React\ (27 comments)
- Cassiozen/useStateMachine: The ½ kb state machine hook for React
-
useStateMachine: a 0.5KB state machine hook for React that features entry/exit callbacks, guarded transitions, and extended state
As for a comparison, I wrote about it here https://github.com/cassiozen/useStateMachine/wiki/XState-comparison
- UseStateMachine – a ½ kb, TypeScript-first for Rea
-
Composing UIs with Finite State Machines
In this case, I'm using a useStateMachine hook from a library, just to avoid having to implement the not-so-relevant React part of the state handling. This hook receives the state machine we defined before as a configuration argument.
macOCR
-
I've just released TextShot, a *free* macOS app that makes copying text from images as easy as taking a screenshot
I love using macOCR it is a command line tool though, but I bind it to a keyboard shortcut using BetterTouchTool, although you could also use Raycast, Alfred, etc to run it
-
NormCap: OCR powered screen-capture tool
Mac only but I am a happy user and can recommend
https://github.com/schappim/macOCR
Just rediscovered the Shortcuts a couple days ago while installing it on a friend's mac.
-
Ask HN: Those making $0/month or less on side projects – Show and tell
Introducing macOCR - a command line tool that revolutionizes how you capture text on your screen!
With just one command, you can instantly convert any text on your screen into text on your clipboard, making it easy to use in any app or program. Plus, with support for popular launcher apps like Alfred, LaunchBar, and Hammerspoon, it's never been easier to access the power of macOCR.
And if you're feeling really advanced, you can even use it to feed data into an OpenAI large language model for advanced text processing.
Upgrade your text capture game with macOCR today!
Price: $0
MRR: $0
Copy reworked by: GPT
Prompt: “Rewrite for hacker news upvotes:”
URL: https://github.com/schappim/macOCR
-
Building an Internet Scale Meme Search Engine
Pretty insane. If you don’t want to use iPhones, I made a while back macOCR which uses the same vision APIs, with a very simple CLI interface. See: https://github.com/schappim/macOCR
-
Ask HN: Programs that saved you 100 hours? (2022 edition)
https://github.com/schappim/macOCR - Get any text on your screen into your clipboard
- MacOCR – command line OCR app for macOS
-
Less known macOS apps you will legitimately want to use every day
And if you want to invoke it from Terminal: https://github.com/schappim/macOCR
- Asking Siri to hold a number in memory?
-
Ask HN: Tools you have made for yourself?
I wrote a free Mac app to OCR any text on screen[1].
macOCR is a command line app that enables you to turn any text on your screen into text on your clipboard. When you envoke the ocr command, a "screen capture" like cursor is shown. Any text within the bounds will be converted to text.
You could invoke the app using the likes of Alfred.app, LaunchBar, Hammerspoon, Quicksilver, Raycast etc.
[1] https://github.com/schappim/macOCR
-
🧢 Stefan's Web Weekly #20
schappim/macOCR – Get any text on your screen into your clipboard.