Formatting

Top 23 Formatting Open-Source Projects

  • C++ Format

    A modern formatting library

  • Project mention: C++ left arrow operator (2016) | news.ycombinator.com | 2024-03-24

    Continuation passing monads form the basis of a perfectly valid and usable software architecture and programming pattern.

    In the case of ostream and operator<<, this pattern reduces the number of intermediate objects that would otherwise be constructed.

    If you object to iostream on religious or stylistic grounds, there's always fmt which is more like Go or Python string interpolation.[0]

    0. https://fmt.dev

  • intl-tel-input

    A JavaScript plugin for entering and validating international telephone numbers

  • Project mention: Build bigger, better, and faster with upgraded design and dev superpowers Read the recap → Phone prefix from int-tel-input won’t show in Webflow Logic | /r/webflow | 2023-10-14

    Hi all, I am working on a client’s website with a form calling their API with Logic and the form has a phone with a prefix. I have added the phone prefix with this javascript plugin - GitHub - jackocnr/intl-tel-input: A JavaScript plugin for entering and...

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • PhoneNumberKit

    A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.

  • SwiftyMarkdown

    Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.

  • numbro

    A JS library for number formatting

  • prettytable-rs

    A rust library to print aligned and formatted tables

  • Project mention: Learning Rust by Building a CLI App | dev.to | 2023-08-25

    Lastly, after accepting user input it reached the time for displaying what we have in our database. I did not want to use the same old println macro for this. Then came the research part for a cargo package that could satisfy this requirement. I wanted the library to be able to display the database records i a tabular format, and thus found the prettytabl-rs cargo package. It is an easy to use package and so I chose it.

  • fluent.js

    JavaScript implementation of Project Fluent

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Multiliner

    An Xcode source extension to expand lengthy lines.

  • better-comments

  • pypandoc

    Thin wrapper for "pandoc" (MIT)

  • Project mention: Web Scraping in Python – The Complete Guide | news.ycombinator.com | 2024-02-20

    I recently used [0] Playwright for Python and [1] pypandoc to build a scraper that fetches a webpage and turns the content into sane markdown so that it can be passed into an AI coding chat [2].

    They are both very gentle dependencies to add to a project. Both packages contain built in or scriptable methods to install their underlying platform-specific binary dependencies. This means you don't need to ask end users to use some complex, platform-specific package manager to install playwright and pandoc.

    Playwright let's you scrape pages that rely on js. Pandoc is great at turning HTML into sensible markdown. Below is an excerpt of the openai pricing docs [3] that have been scraped to markdown [4] in this manner.

    [0] https://playwright.dev/python/docs/intro

    [1] https://github.com/JessicaTegner/pypandoc

    [2] https://github.com/paul-gauthier/aider

    [3] https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turb...

    [4] https://gist.githubusercontent.com/paul-gauthier/95a1434a28d...

      ## GPT-4 and GPT-4 Turbo

  • alejandra

    The Uncompromising Nix Code Formatter

  • ascii-tables

    ⚡ Quickly format table in ASCII. Great for code comments, or Github Markdown!

  • Project mention: MathJax – Beautiful and accessible math in all browsers | news.ycombinator.com | 2023-10-12
  • lsp-format.nvim

    A wrapper around Neovims native LSP formatting.

  • Project mention: My Setup for Responsive (Immutable) Formatting | /r/neovim | 2023-06-26

    suffice it to say, I haven't needed to mess with it in a very long time, and it works very nicely and smoothly. I based it on https://github.com/lukas-reineke/lsp-format.nvim back before he extracted that plugin from his dotfiles, but over time I added a lot.

  • lint-action

    ✨ GitHub Action for detecting and auto-fixing lint errors

  • JuliaFormatter.jl

    An opinionated code formatter for Julia. Plot twist - the opinion is your own.

  • BlueStyle

    A Julia style guide that lives in a blue world

  • textwrap

    An efficient and powerful Rust library for word wrapping text.

  • address-formatting

    templates to format geographic addresses

  • CsConsoleFormat

    .NET C# library for advanced formatting of console output [Apache]

  • yaml-front-matter

    A to the point yaml front matter parser

  • awesome-python-code-formatters

    A curated list of awesome Python code formatters

  • Project mention: A Tale of Two Kitchens - Hypermodernizing Your Python Code Base | dev.to | 2023-11-12

    Awesome Python Code Formatters

  • MineDown

    A MarkDown inspired markup library for Minecraft chat components

  • svelte-intl-precompile

    I18n library for Svelte.js that analyzes your keys at build time for max performance and minimal footprint

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Formatting related posts

  • C++ left arrow operator (2016)

    1 project | news.ycombinator.com | 24 Mar 2024
  • Optimizing the unoptimizable: a journey to faster C++ compile times

    1 project | news.ycombinator.com | 7 Jan 2024
  • The C++20 Naughty and Nice List for Game Devs

    3 projects | news.ycombinator.com | 25 Dec 2023
  • adoption of fmt based logging

    1 project | /r/cpp | 6 Dec 2023
  • What's your favorite c++20 feature that should've been there 10 years ago?

    1 project | /r/cpp | 5 Dec 2023
  • Debugging library for C++ version of Python's print() function

    2 projects | /r/cpp | 5 Dec 2023
  • Build bigger, better, and faster with upgraded design and dev superpowers Read the recap → Phone prefix from int-tel-input won’t show in Webflow Logic

    1 project | /r/webflow | 14 Oct 2023
  • A note from our sponsor - SurveyJS
    surveyjs.io | 7 May 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Index

What are some of the best open-source Formatting projects? This list will help you:

Project Stars
1 C++ Format 19,389
2 intl-tel-input 7,255
3 PhoneNumberKit 5,025
4 SwiftyMarkdown 1,596
5 numbro 1,063
6 prettytable-rs 898
7 fluent.js 898
8 Multiliner 813
9 better-comments 803
10 pypandoc 821
11 alejandra 682
12 ascii-tables 587
13 lsp-format.nvim 539
14 lint-action 542
15 JuliaFormatter.jl 536
16 BlueStyle 469
17 textwrap 427
18 address-formatting 375
19 CsConsoleFormat 361
20 yaml-front-matter 323
21 awesome-python-code-formatters 281
22 MineDown 276
23 svelte-intl-precompile 271

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com