Code Monkey home page Code Monkey logo

tip-server's Introduction

tip-server

Jsonrpc server for GitHub - elioazuray/typst-inline-preview: inline-preview for typst in emacs.

Installation

git clone https://github.com/elioazuray/tip-server somewhere
cd somewhere
python -m venv .
bin/pip install -r requirements.txt

Then bin/python main.py sets up the server to listen on localhost:5000 (please adjust this to suit your setup).

Dependencies

FAQ

Why not use cli?

Typst truly shines with its rapid incremental compilation, where after the initialization, the tip-server typically takes a mere ~1ms to process each fragment (on my laptop with i5-1240p). However, even compiling a basic foo.typ file via the command typst compile -f svg foo.typ can exceed 1s.

Why Python bindings instead of using typst as rust library?

Regrettably, Rust isn’t in my skill set yet.

License

Licensed under GPLv3.

tip-server's People

Contributors

lighghteeloo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.