All Projects → speakeasy-engine → Torchbear

speakeasy-engine / Torchbear

Licence: other
🔥🐻 The Speakeasy Scripting Engine Which Combines Speed, Safety, and Simplicity

Programming Languages

rust
11053 projects
lua
6591 projects
scripting
82 projects

Projects that are alternatives of or similar to Torchbear

jazz
The Scripting Engine that Combines Speed, Safety, and Simplicity
Stars: ✭ 132 (+3.13%)
Mutual labels:  crypto, embeddable, jinja2, scraping, development-environment
Gun
An open source cybersecurity protocol for syncing decentralized graph data.
Stars: ✭ 15,172 (+11753.13%)
Mutual labels:  database, cryptography, crypto
Takeoff
A rapid development environment using docker for convenience.
Stars: ✭ 271 (+111.72%)
Mutual labels:  hacktoberfest, database, development-environment
Cryfs
Cryptographic filesystem for the cloud
Stars: ✭ 1,560 (+1118.75%)
Mutual labels:  cryptography, crypto
Jmacaroons
Pure Java implementation of Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud. Android ready. Online playground available.
Stars: ✭ 100 (-21.87%)
Mutual labels:  cryptography, crypto
Cfrpki
Cloudflare's RPKI Toolbox
Stars: ✭ 104 (-18.75%)
Mutual labels:  cryptography, crypto
Oreilly reactive python for data
Resources for the O'Reilly online video "Reactive Python for Data"
Stars: ✭ 98 (-23.44%)
Mutual labels:  data-science, database
Enterprise
🦄 The Enterprise™ programming language
Stars: ✭ 1,493 (+1066.41%)
Mutual labels:  data-science, crypto
Libsodium Go
A complete overhaul of the Golang wrapper for libsodium
Stars: ✭ 105 (-17.97%)
Mutual labels:  cryptography, crypto
Awesome Bigdata
A curated list of awesome big data frameworks, ressources and other awesomeness.
Stars: ✭ 10,478 (+8085.94%)
Mutual labels:  data-science, database
Streamcryptor
Stream encryption & decryption with libsodium and protobuf
Stars: ✭ 112 (-12.5%)
Mutual labels:  cryptography, crypto
Mud
Multipath UDP library
Stars: ✭ 100 (-21.87%)
Mutual labels:  hacktoberfest, crypto
Javascript
A repository for All algorithms implemented in Javascript (for educational purposes only)
Stars: ✭ 16,117 (+12491.41%)
Mutual labels:  hacktoberfest, cryptography
Markor
Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
Stars: ✭ 1,394 (+989.06%)
Mutual labels:  hacktoberfest, markdown
Zookeeper
Apache ZooKeeper
Stars: ✭ 10,061 (+7760.16%)
Mutual labels:  hacktoberfest, database
Tennis Crystal Ball
Ultimate Tennis Statistics and Tennis Crystal Ball - Tennis Big Data Analysis and Prediction
Stars: ✭ 107 (-16.41%)
Mutual labels:  data-science, database
Tools For Cryptanalysis
A repository that aims to provide tools for cryptography and cryptanalysis
Stars: ✭ 112 (-12.5%)
Mutual labels:  cryptography, crypto
Charm
A really tiny crypto library.
Stars: ✭ 116 (-9.37%)
Mutual labels:  cryptography, crypto
Noise
.NET Standard 1.3 implementation of the Noise Protocol Framework (revision 33 of the spec)
Stars: ✭ 124 (-3.12%)
Mutual labels:  cryptography, crypto
I2pdbrowser
i2pd browser bundle
Stars: ✭ 94 (-26.56%)
Mutual labels:  cryptography, crypto

torchbear logo

android logo    windows logo    macos logo    linux logo

Actively Maintained Contributions Welcome PRs Welcome License: MIT/Apache Chat

Torchbear gives you a simple, yet powerful, general-purpose programming environment. It can help you do web automation, embedded programming, data analysis, numerical computing.. really anything you can imagine.

It's built in Rust, but you don't need to learn Rust to use Torchbear, because it aims to give you the simplest possible programming environment with the most powerful addon libraries. Scratch, BASIC, Lua, Python, Ruby, NodeJS etc developers should feel right at home... and with what one might call "more bells and whistles" - or just complete.

Those without a programming background can learn Lua in 15 minutes to be able to "speak" its programming langauge (its syntax and notation). You only need general scripting skills to start.

Blessed Rust Modules

As you wish to solve more use cases with your programs, you can access Torchbear's functions, which are described below and viewable in the bindings' documentation (generated using our code map app).

Environment

  • Actix actor-model concurrency framework (see RFC 613 for more info)
  • Actix Lua safe Lua scripting environment for Actix
  • rlua* Lua 5.3.5 (also with tools for traceback error messages, logs, and performance profiling)
  • Actix Web HTTP/1.x and HTTP/2.0 web servers and clients

System

Crypto

  • Libsodium* cryptographic signing and verifying, and encrypting and decrypting
  • Blake2 cryptographic hash function
  • Checksumdir deterministic directory hashing

Number

  • libm* mathematical functions, like exponential, power, trigonometric, hyperbolic, floating-point manipulation, classification

String

  • NanoID secure, URL-friendly, unique string ID generator
  • UUID-rs UUID generation and verification
  • ulid Universally Unique Lexicographically Sortable Identifier
  • Case conversions to CamelCase, snake_case, kebab-case, SHOUTY_SNAKE_CASE, mixedCase, and Title Case
  • regex matching and replacing
  • MIME type guessing

Structured Text

  • SCL safe serializing/deserializing
  • YAML serializing and deserializing using serde
  • JSON serializing and deserializing using serde
  • Tantivy searching, indexing, schema building, and document adding, updating, and deleting

Unstructured Text

Archive

  • Zip file decompression
  • Tar file decompression
  • xz lzma file compression and decompression

Diff

  • Diff generating diffs using strings and text files
  • Patch applies diffs to strings and text files
  • Split Diff breaks individual diffs into multiple diffs, per file
  • List Diff lists files affected by a diff
  • Interdiff**
  • Git* cloning, pulling, repo creation, staging, committing, and log access (builtin, no git dependency)

Note* (asterisk) means safely wraps a C library

Note** (two asterisks) means help wanted

Blessed Libraries and Frameworks

  • Torchbear Libs · libraries for logging, terminal coloring, event triggering, functional programming, graph data processing, argument parsing (todo), and file patching (todo)
  • Torchbear Libs Dev · a library for inspecting tables
  • ContentDB · a document-oriented, file-based database
  • Lighttouch · a simple, event-driven, rule-based, dynamically-loaded, functional, parameter-populated, configurable, version-controlled application framework

Get Started

Torchbear comes as a single executable (eg. as a binary .exe file) which makes it easy to install and easy to run apps. It also comes with a package manager, called Machu Picchu, which helps you to download more apps.

Install

To install Torchbear on Android or Windows, run this command using your terminal (what's a terminal?):

 curl https://git.io/fpcV6 -sSfL | bash

MacOS and Linux users will need admin permissions to run:

 curl https://git.io/fpcV6 -sSfL | sudo bash

The installer automatically gets the latest version (which is also available on Torchbear's GitHub releases page) and puts it in a convenient file location for you. To do this, it downloads the latest zip file for your operating system and hardware architecture, then it unzips the executable to a place where it will run as a command. You can do that manually or differently, as you like.

What is a terminal? (command prompt)

If you haven't heard of a terminal before, here's a 1 min intro to what is a terminal window. This works on Android, Windows, MacOS, and Linux devices very similarly, but you might need one other tool first:

Update

To update, run torchup.

Uninstall

To uninstall, run torchup --uninstall.

Development

Hello World App

  1. put this in init.lua:
#!/usr/bin/env speakeasy

print("hello from Torchbear")
  1. make it executable with chmod +x init.lua

  2. then run it with ./init.lua

Note: Machu Picchu also works as a dependency manager, making deploying and developing component-oriented software easy. Check how other projects use it until more documentation is available. Also can start finding some useful library scripts for your programs in our Lunar Transit account.

Rust Development

You can compile from source by installing Cargo (Rust's package manager) and installing torchbear using Cargo:

cargo install torchbear

Compiling from this repository also works similarly:

git clone https://github.com/foundpatterns/torchbear
cd torchbear
cargo build --release

Note: You will also need a C compiler, eg on Debian-based Linux distros sudo apt install build-essential. Compilation will probably take several minutes depending on your machine and your network speed. The binary will end up in ./target/release/torchbear.

App Stores

Contributors wanted

Torchbear extends Rust's growing library ecosystem. Developers and users alike are welcomed to participate in Torchbear's issue queue for small changes and high impact contributions. Everyone is invited.

Even moderately experienced Rust developers can work on adding bindings or adding other functions. There are many examples to learn from in the bindings directory. Through this process, you'll learn a Rust library's API inside and out, and you'll put another tool into the hands of a thriving userbase.

Experienced Rust developers' reviews would be greatly appreciated, eg those familiar with low-level library idioms and especially those well-versed in Actix. Much of the power functionality built-in to Torchbear comes from libraries like Actix, Actix-Web, Actix-Lua, rlua, and many more well-picked ones which need thorough review and careful analysis to make a good programming environment.

Users who who want to add a 'review' or 'story' about your use cases, simply add this "issue label" (type/review) or (type/story). Everyone is welcomed to do so, and this will help users and developers understand Torchbear from eachother's points of view. Developers who want to post other feedback and analysis will receive a hearty thank you.

Community

Eveyone interested in learning and solving problems with programming and open-source tools in general is welcomed to come to Found Patterns Studio's Discord Server to meet fellow engineers and to work together on team-driven projects, like Torchbear. If you haven't heard of Discord before, you could start with these videos, Discord For Dummies: Basic Use and Set up Instructions for Discord App and How To Setup And Use Discord - Basic Overview Of Features and Tools. We use it to help eachother use and build Torchbear and many other projects. It's a safe and friendly place to get things done.

Supporters

As an open source project, continued development depends on support from people like you. To see current and past supporters, visit our supporters.md file.

To add your support to this project, as it is currently lead, and to join that list, visit Mitchell's contact and support channel for more info.

Sponsors

To sponsor this project and put your logo here, visit Mitchell's GitHub sponsors page.

Found Patterns Museum & Exhibit Sponsors

This project is currently in early development for a future exhibit in Found Patterns Museum, called User Handed Programming. If you would like to help us realize it, make a donation to Found Patterns Museum.

Thank you · Namaste · Aloha 👋

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].