mapscii
mapscii copied to clipboard
query current location & center map
closes #2.
bump. (:
aaa will soon be back online and on the code again - thanks for the bump :)
bump.
bump.
bump.
bump.
I think this is a cool feature, however, I have a couple of concerns.
- Mapscii gets used both locally and remotely via telnet. This feature would be solely available locally.
- It is platform dependent which ideally includes continuous integration tests on every targeted platform. For now the platform is simply NodeJS (and telnet). I do not have a MacOS device to test the feature now or in the future. It would be ideal to have an indicator whether it still works.
- There is a chance that Mapscii gets rejected from distribution channels, if binaries are included. In your project’s Readme you point to yet another repo, but without building steps. Is there a way to build the blob from source as part of the
npm install
process? - The package is not published on NPM. The platform heavily invests in security audits and automated testing. It would be better to download a versioned package of the dependency from NPM.
- It is a convenience feature and as such might be implemented as an optional dependency. As the project already has optional dependencies, closely tied extensions could be a consideration.
Thanks so much, @derhuerst, for your contribution. I hope, we find a way to implement this without widening the technical scope of the project immensely.
I am going to merge my CoffeeScript to JavaScript PR. Sorry for the merge conflict in advance.
- Mapscii gets used both locally and remotely via telnet. This feature would be solely available locally.
Correct. Should we detect wether Mapscii is running inside a telnet session?
- It is platform dependent which ideally includes continuous integration tests on every targeted platform. For now the platform is simply NodeJS (and telnet).
There are tests for macOS and Linux.
- There is a chance that Mapscii gets rejected from distribution channels, if binaries are included. In your project’s Readme you point to yet another repo, but without building steps.
There are building instructions in the Homebrew formula.
Is there a way to build the blob from source as part of the
npm install
process?
Yes, but it basically defeats the purpose of @derhuerst/location
(being portable).
- The package is not published on NPM. The platform heavily invests in security audits and automated testing. It would be better to download a versioned package of the dependency from NPM.
There is @derhuerst/location
. Back then, I didn't have in on npm yet.
- It is a convenience feature and as such might be implemented as an optional dependency. As the project already has optional dependencies, closely tied extensions could be a consideration.
How would that work?
Another possible way to get the current location is via a command line option: mapscii --location $(npx location-cli --comma)
.
@derhuerst I think "query location" is a necessary function. But, the command line option does not work.
# mac
$ git clone https://github.com/derhuerst/mapscii
$ cd mapscii
$ npm i
$ ./bin/mapscii.sh --location `curl -sL ipinfo.io/8.8.8.8/loc`
Do you have any thoughts about what the cause might be?
Another possible way to get the current location is via a command line option:
mapscii --location $(npx location-cli --comma)
.But, the command line option does not work. Do you have any thoughts about what the cause might be?
I either forgot to implement it, or to mention that it would be a cool addition. 😛
I have adapted my PR to the current codebase, but I'd also be okay with only having the --location
CLI option.
What about using p
for "position"?
Would be nice to have this feature