plume-org / amsterdam Goto Github PK
View Code? Open in Web Editor NEWCLI tool to import your articles to Plume (experimental)
CLI tool to import your articles to Plume (experimental)
It looks like amsterdam needs a .env
existing before launching it or it explodes:
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.
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
I know that is a long shot and really low priority, but it would be wonderful if Plume could import a Wordpress export in the future.
The format of Wordpress export is WordPress eXtended RSS (WXR). You can find some documentation on https://github.com/pbiron/wxr/.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.