Coder Social home page Coder Social logo

blocktronics / moebius Goto Github PK

View Code? Open in Web Editor NEW
690.0 16.0 41.0 3.79 MB

Modern ANSI & ASCII Art Editor

Home Page: https://blocktronics.github.io/moebius/

License: Apache License 2.0

JavaScript 95.39% CSS 2.61% HTML 2.00%
drawing textmode cp437 art editor ansi-art ascii-art moebius

moebius's Introduction

Moebius Screenshot

Moebius

Moebius is an ANSI Editor for MacOS, Linux and Windows. The major feature that differentiates it from PabloDraw is the 'half-block' brush which allows editing in a style closer to Photoshop than a text editor, although you can still use the function and cursor keys to draw with, and you should find that most of the text editing features from PabloDraw are carried over to this editor. The editor is still a work in progress, but anyone who wants to try using it is also encouraged to log feature requests and bugs on the project's GitHub page.

Download packages

Packaged binaries are available through Github Releases or from the direct links below:

Installation & building

git clone [email protected]:blocktronics/moebius.git
npm install
npm start

Moebius packages can be built easily with electron-builder. Note that a build for MacOS must be made on MacOS.

npm run-script build-mac
npm run-script build-win
npm run-script build-linux

Moebius Server

Moebius features collaboration by multiple users on the same canvas through a server instance. Users connect to a server which allows them to draw and chat. The server will also create hourly backups.

To start a server:

git clone [email protected]:blocktronics/moebius.git
npm install
node ./server.js

This will start a server with default settings. In this case a password will not be set and any value entered in the Moebius client will be accepted by the server. The server runs by default on port 8000, Moebius clients can modify the port by entering the server as hostname:port

The following parameters can be set:

  • --file=filename.ans load an initial ANSI file after the server starts
  • --pass=password set a server password which clients need to provide to logon to the server
  • --server_port=8000 set the server port, defaults to 8000.
  • --web and --web_port=80 run the webserver for external viewing (default port: 80). This enables live preview of the canvas, the preview and SAUCE information in a browser, the URL would be http://hostname.tld:web_port
  • --path=pathname set a path for this server: users and webviewers would connect to hostname.tld/path
  • --quiet=true/false suppress console output after the server has been started
  • --discord=url Mirrors server joins and chat activity via a Discord Webhook

Acknowledgements

  • Uses modified Google's Material Icons. https://material.io/icons/
  • Contains ANSI art by Alpha King (Blocktronics), Filth (Blocktronics) and burps (FUEL)
  • Included fonts:
    • Topaz originally appeared in Amiga Workbench, courtesy of Commodore Int.
    • P0t-NOoDLE appears courtesy of Leo 'Nudel' Davidson
    • mO'sOul appears courtesy of Desoto/Mo'Soul

License

Copyright 2022 Andy Herbert

Licensed under the Apache License, version 2.0

Links

moebius's People

Contributors

andyherbert avatar bart-d avatar christianvozar avatar dependabot[bot] avatar dislabled avatar kant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moebius's Issues

Feature Request: Crop Tool

Crop tool would allow the selected area to become the entire canvas, deleting anything not within the selection, and resizing the canvas to the size of the crop. Could live under menu "Edit" -> "Crop"

This is particularly useful when joints have been made that don't make blocktronics packs but individual artists wish to utilize a portion of the art as a new piece.

Cheat Sheet Cut/Copy/Paste Shortcuts

All cut/copy/paste shortcuts in the cheatsheet are "Cmd+C or Ctrl+C." Should probably be (guessing the Windows shortcuts)...

Cmd+X or Ctrl+X - Cut
Cmd+C or Ctrl+C - Copy
Cmd+V or Ctrl+V - Paste

Edited version here.

(This is an amazing project, that I am very very thankful for!)

Numpad mappings

                switch (event.code) {
                    case "Numpad1": if (!event.altKey) f_key(2); return;
                    case "Numpad2": if (!event.altKey) f_key(6); return;
                    case "Numpad3": if (!event.altKey) f_key(2); return;
                    case "Numpad4": if (!event.altKey) f_key(7); return;
                    case "Numpad5": if (!event.altKey) f_key(4); return;
                    case "Numpad6": if (!event.altKey) f_key(8); return;
                    case "Numpad7": if (!event.altKey) f_key(3); return;
                    case "Numpad8": if (!event.altKey) f_key(5); return;
                    case "Numpad9": if (!event.altKey) f_key(3); return;
                    case "Numpad0": if (!event.altKey) f_key(1);  return;
                }

additionally + also maps to F1 and . deletes a character, numpad enter is enter
unknown-1

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.