clp
notabase
clp | notabase | |
---|---|---|
8 | 10 | |
94 | 680 | |
- | - | |
4.9 | 7.7 | |
7 months ago | about 2 months ago | |
Lua | TypeScript | |
MIT License | GNU Affero General Public License v3.0 |
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.
clp
-
Lua: The Little Language That Could
I used luajit to write an alternative to bat because it was annoyingly slow for large files. It ended up being like 15 times faster. Such a cool language!
-
Scintilla is a free source code editing component with a permissive license
There’s a related project that’s really cool called scintillua that lets you use lpeg lexers for scintilla. It supports over 120 languages and it’s super easy to add new ones.
https://github.com/orbitalquark/scintillua
You can also use it as a standalone lua library. I packaged it up to make a faster (but much less feature full) alternative to bat.
https://github.com/jpe90/clp
-
Ask HN: What have you created that deserves a second chance on HN?
a fast alternative to bat for syntax highlighting in the command line (eg for fzf preview window)
https://github.com/jpe90/clp
-
Building the fastest Lua interpreter automatically
It's super fast and has some really interesting libraries. I used parsing expression grammars to write a faster alternative to bat.
- Tutorial for embedding Lua in C standalone app
-
What are the downsides of using Lua?
I recently made a project that uses a lua library to lex source files, then writes them out to stdout with syntax highlighting. Long story short at this point in my code I have a big indexed table of token names and positions. I just iterate over the token names and io.write an ANSI escape sequence that corresponds to the color type of token (simple table lookup), and then io.write the tokenized text.
-
A Tutorial on Portable Makefiles
I recently learned more Makefiles by using them for a recent project of mine. I wish I had seen this when I was working on it! I learned (stole) from the musl libc configure script and makefile instead.
Makefiles aren't as easy to work with as alternatives in other language ecosystems, but I found they let me do a lot without the need for extra dependencies.
Coincidentally the author of this blog post commented on one of my reddit posts and helped me work out a few kinks in the project.
https://github.com/jpe90/clp
-
Seeking feedback on command line syntax highlighter
Hello! I'm working on a small project that just highlights source files and writes them to stdout: https://github.com/jpe90/clp
notabase
-
Ask HN: What have you created that deserves a second chance on HN?
https://notabase.io - a note-taking app for networked thinking.
It supports page stacking, linked references, block references, a graph view, and all that good stuff. Think of it as similar to Roam Research / Obsidian.
It's also open source so you can self-host it. Here's the code: https://github.com/churichard/notabase
I'm hoping to add support for shareable links soon. Open to other ideas or feedback!
-
What is the best school planner app that could sync with PC?
you can check out this page https://alternativeto.net/software/joplin/?platform=online but the best I could find are - https://www.taskade.com/ https://standardnotes.com/ https://notesnook.com/ https://bundlednotes.com/ https://diaroapp.com/ https://notabase.io/ https://boostnote.io/ etc.
- Self hosted app with web clipper feature
-
Switching Rich Text Editors, Part 1: Picking Tiptap
When evaluating rich text editors for the note-taking app I started about a year ago (https://notabase.io), I ended up going with Slate because of its flexible schema and customizable plugin architecture.
I sort of regret that choice now. I ran into a lot of bugs when integrating it which I had to manually work around; issues go months without being addressed; and there still isn't good cross-platform support, especially for Android. With a more active contributor base, Slate could be a fantastic library, but I get the feeling that it's in maintenance mode now, with not many major changes in the past year and a v1.0 still far in the future.
Tiptap looks like it might be a good choice now, but I find it off-putting that I can't insert links in the demo editor on Tiptap's website (https://tiptap.dev), especially for my use case (a note-taking app whose core concept revolves around links).
-
Ask HN: What is your “I don't care if this succeeds” project?
I'm working on an open source note-taking app called Notabase [1]. It's built primarily for my use - I just never liked most existing note-taking apps and wanted to make one that fit the way that I think. I made it open source [2] so other people can build on top of my ideas, and released a hosted version so that other people can use it if they like it. It would be nice if other people found it helpful, but regardless it's something that I intrinsically enjoy working on.
[1]: https://notabase.io
-
Show HN: MdSilo – A knowledge silo runs in your web browser
You can try Notabase https://notabase.io/, which is better for self-hosting.
if you prefer mdSilo, need to toggle the Offline mode false in code and use the third-part services: vercel and supabase
What are some alternatives?
KataScript - A simple scripting language
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀
neovim - Vim-fork focused on extensibility and usability
dflex - The sophisticated Drag and Drop library you've been waiting for 🥳
tl - The compiler for Teal, a typed dialect of Lua
slate - A completely customizable framework for building rich text editors. (Currently in beta.)
awesome - awesome window manager
rich-markdown-editor - The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
lcpp - A Lua C PreProcessor
tiptap - The headless rich text editor framework for web artisans.
xmake - 🔥 A cross-platform build utility based on Lua
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.