Giter Site home page Giter Site logo

amsterdam's People

Contributors

elegaanz avatar mcrosson avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amsterdam's Issues

Issues running amsterdam

It looks like amsterdam needs a .env existing before launching it or it explodes:

stacktrace
Please enter your instance domain (without https:// or http://)
sigpipe.me
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:945:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:475
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:390
   6: rust_begin_unwind
             at libstd/panicking.rs:325
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::result::unwrap_failed
   9: amsterdam::write_to_env
  10: amsterdam::main
  11: std::rt::lang_start::{{closure}}
  12: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  13: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:106
  14: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  15: main
  16: __libc_start_main
  17: _start

After doing a touch .env it launch fine.

Also the amsterdam (no arg) help is missing a newline at the end.

nicer errors

especially file not found or no file provided

plume-dashie@fedistodon:~$ amsterdam md
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:345:21
plume-dashie@fedistodon:~$ amsterdam md dontexist.md
thread 'main' panicked at 'File not found: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:945:5

Support Emacs org markup language

I do agree that this is not a priority issue, and I don't know if you should really implement it; I mean, markdown is definitely the big player in the markup language league, while org(-mode? I never know what is the official name) is less known. I don't know if there is mature implementation of org parser in Rust. I know pandoc does support org, but it would give you an additional dependency to manage.

Anyway, I am considering using a Plume instance to publish my articles in the long run, but most of them are written using this strange markup language of Emacs called org.

Do you consider supporting additional markup languages, and more specifically org, in the future? If so, I would really be interested :) And I can even try to help.

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.