适用于尝试过其他所有方法的人的Python纯文本库
Urtext: The Python plaintext library for people who've tried everything else

原始链接: https://urtext.co/

Urtext是一个开源的Python库,用于基于纯文本的信息管理。它使你能够创建写作项目、研究数据库、Zettelkasten笔记系统、日记等等,所有这些都使用简单且面向未来的纯文本文件。其核心优势在于其灵活性,允许你嵌入其他语法并执行Python代码以实现自定义功能。 Urtext提倡自由格式的语法,其中内容、结构和指令交织在一起,能够在树状或非层级方式下链接和关联众多文件中的“节点”。所有操作都在本地进行,独立于云服务,让你完全控制自己的数据。Urtext在后台处理文件管理任务,并最大限度地减少UI干扰,直接在文本编辑器中实现功能。它兼容任何Python 3.3+环境,确保其能够满足各种写作和组织需求的可访问性和可扩展性。

Hacker News上的一篇帖子总结:开源Python库Urtext,用于基于纯文本的信息管理,正在受到越来越多的关注。该库支持多种用途,包括知识库、笔记和项目组织,用户基本上可以通过文本文件管理信息。一位名为pvonmalt的用户称赞Urtext是一个卓越的“第二大脑”系统,并强调其独特的基于时间戳的组织方式。虽然Urtext是开源的,但为了获得最佳使用效果,建议使用Sublime Text许可证,因为它与Sublime Text集成良好。Urtext旨在提供一种灵活的、代码驱动的信息管理方法。

原文

Urtext /ˈʊrtekst/ is an open-source library for plaintext writing, research, documentation, knowledge bases, journaling, Zettelkasten, project/personal organization, note taking, a lightweight database substitute, or any other writing or information management that can be done in text format.

The basics are simple, and you can use only the parts you need. Get started on desktop or iPhone/iPad.

Features and Philosophy

Plain Text

Plaintext is fast, human-readable, flexible, cross-platform, device-portable, and future-proof. It can be easily diffed and version-controlled. Urtext can embed other syntaxes, including other markup language and programming language syntaxes.

Extensible

Being implemented in Python, it can execute self-modifying or arbitrary Python code. Urtext can be extended to add or modify functionality, to the extent of the Python language. If Urtext does not have a feature you want, you can add it with a little Python knowledge.

Future Proof

Because the storage format is plain text, an interpreter, compiler, and editor could be implemented in any sufficiently capable language, current, past or future.

Freeform, Flexible Syntax

Urtext is like an inverse programming language. Syntax combines content, structure and instructions together; there is no additional code or markup “behind” the visible syntax. Text can have metadata independent of the file system. An Urtext project encompass dozens or thousands of files, with individual files providing links to other other files or parts of files (nodes). Nodes can reference, modify, and organize one another, across hundreds or thousands of files. Text can be linked in tree-like, recursive (tangled), and other non-hierarchical ways.

Local First

Urtext operates on files locally present. It is not dependent on a cloud or other subscription service. Cloud or version control services can be used to sync project files among devices if desired.

Minimum UI

Employing theming and syntax highlighting, Urtext forms a user interface out of its own syntax. Almost everything in Urtext can be accomplished without popups, menus, or leaving the text buffer.

Files Handled For You

Direct interaction with file system is mostly unnecessary. Creating, naming, saving, and organizing files is handled for you.

Implementations

The interpreter for Urtext is in Python and can be used wherever Python 3.3 or later runs.

联系我们 contact @ memedata.com