plugin-foreign-env VS anarki

Compare plugin-foreign-env vs anarki and see what are their differences.

plugin-foreign-env

Run foreign bash scripts and capture exported environment variables (by oh-my-fish)

anarki

Community-managed fork of the Arc dialect of Lisp; for commit privileges submit a pull request. (by arclanguage)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
plugin-foreign-env anarki
5 22
212 1,161
0.9% 0.0%
2.2 4.6
9 months ago 11 months ago
Shell Arc
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

plugin-foreign-env

Posts with mentions or reviews of plugin-foreign-env. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-07.
  • Unable to setup GUIX_PROFILE with Fish
    1 project | /r/GUIX | 24 Jun 2023
    I am not using Guix's Fish because right I just installed it and was hoping to kinda get my packages up to snuff for what I keep on my desktop. Though I was about to install foreign-env via omf and that seems to work! I am super new to Guix so I still gotta read up on Guix Home. I literally have only installed like 6 packages right now haha.
  • Our Roadmap for Nix
    22 projects | news.ycombinator.com | 7 Aug 2022
    The official installer leverages an initialization script, to be sourced at shell init time, which is written in POSIX shell. Fish can't just source it because it's not compatible with POSIX shell.

    > I then searched the Internet and found a very "creative" workaround for Arch users that didn't work either.

    Arch users shouldn't need anything special here.

    You can use fenv¹ to source it, you can translate it to bash using babelfish, or you can exec into fish after running bash to log in (make sure to set $SHELL after if you choose that option). Just make sure you do it as early as possible if you want to use things installed by Nix in your other Fish config snippets.

    I think Home Manager will also take care of this for you. (The other module systems, Nix-Darwin and NixOS, both do.)

    If you wanna do it like NixOS does, you can install Fish via Nix and then create your own preinit environment script in /etc/fish. This has the advantage of setting up your Nix environment variables before any other config is sourced. You can take a look at it here, which also explains some of the Fish initialization process: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/p...

    and here's where the hooks go in the Fish package, where the comments describe the Fish initialization process in detail as well as why things are done this way on NixOS: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/p...

    1: https://github.com/oh-my-fish/plugin-foreign-env

    2: https://github.com/bouk/babelfish

  • Why not fish
    1 project | /r/archlinux | 4 May 2022
    That's just not true, most stuff already has a fish equivalent, and for the minority which doesn't there are plugins like foreign-env
  • Nsh: A fish/bash-like Posix shell in Rust
    9 projects | news.ycombinator.com | 23 Oct 2021
  • Trouble with fish shell setting environment variables at login
    1 project | /r/fishshell | 21 Mar 2021
    I'm also interested in the correct way of doing this. Right now, I cheat by using the fenv plugin to source a bash ~/.profile file:

anarki

Posts with mentions or reviews of anarki. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-24.
  • Gerbil Scheme – A Lisp for the 21st Century
    3 projects | news.ycombinator.com | 24 Mar 2024
  • Ask HN: Does Cloudflare block HN comments if you have code blocks in a reply?
    1 project | news.ycombinator.com | 14 Jan 2024
    It still is a single single-core server, dang references it frequently when there's unusually high traffic [0]. And the language you're referring to is Arc [1]. They do have caching for not-logged-in users, historically done through nginx [2]. From other comments in this thread, it sounds like they just temporarily put Cloudflare in front of that single server to block a DDoS.

    [0] https://news.ycombinator.com/item?id=38310213

    [1] https://arclanguage.github.io/

    [2] https://news.ycombinator.com/item?id=26473226

  • Ask HN: Why isn't HN libre/FOSS?
    2 projects | news.ycombinator.com | 1 Jan 2024
    Slashdot, reddit, and HN are similar in that the source code was available. For HN, as part of arc under the Artistic license. All 3 abandoned public source code releases.

    https://sourceforge.net/projects/slashcode/

    https://github.com/arclanguage/anarki

    https://github.com/reddit-archive/reddit

  • Ask HN: What would it take for HN to become ActivityPub compatible?
    1 project | news.ycombinator.com | 29 Jul 2023
    >Where is the HN source code right now? Free and Open?

    Yes and no.

    HN itself is running a proprietary fork of Arc Lisp, which you can find here[0]. The Arc maintainters don't take public PRs or feature requests, and HN itself has numerous changes to the codebase which aren't public for business reasons.

    There is a public fork of Arc called Anarki[1] which has no direct connection to HN or Arc Lisp, and for which the community and development is... well... anarchic.

    And given the general culture here around minimalism and stasis (not wanting to introduce new features for fear of entropy that would negatively affect the signal to noise ratio and push the site towards Eternal September) chances are it's not likely to happen.

    But dang's email is at the bottom of the page if you want to ask him.

    [0]http://arclanguage.org/

    [1]https://github.com/arclanguage/anarki

  • Ask HN: Dang, could the login page get a title?
    1 project | news.ycombinator.com | 21 Jul 2023
    The original version was open sourced (Perl artistic License) http://arclanguage.org/ There is an active fork in https://github.com/arclanguage/anarki but it's totally independent and the current conde in HN can be (very) different.

    My guess is that it's very difficult to keep all the details of the secret sauce hidden. They change the details very often. For example the front page is ordered by points/time^1.6, but the 1.6 changes from time to time without notice (I think it was 1.8 for some time, perhaps it's 1.8 or something else now. Some people have analyzed the front page and got compatible results, but I don't remember the exponent they found and I'm too lazy to try).

  • Ask HN: Is there an open-source HN forum clone?
    4 projects | news.ycombinator.com | 24 Apr 2023
    You might find something useful here:

    https://github.com/arclanguage/anarki/tree/master/apps/news

  • Show HN: Hacker News Without News
    2 projects | news.ycombinator.com | 14 Jan 2023
    It was published in the public version of 2009 https://github.com/arclanguage/anarki/blob/9f2e1dd53b5b66bb4... Look for "contro-factor" (i.e. controversial-factor).

    This is old code, and the mods make tweaks here and there without warning, so the details may have changed. (I'm not sure if gravity changed from 1.8 to 1.6 (???).)

    I didn't test it personally, but it feels like HN is using something very similar. And there are a few black box analysis of the sorting of the front page that got similar results. Also, minimaxir is the kind of person that is probably running an script to use the HN API to verify the claims.

  • Racket v. Anarki for greenfield web project?
    1 project | /r/Racket | 27 Oct 2022
    Absolutely. It's basically the "community version" of Paul Graham's Arc.
  • RacketCon 2022
    3 projects | news.ycombinator.com | 7 Oct 2022
    Not to mention arc/anarki (hn is/was written in arc - anarki comes with a "news" example app/forum):

    https://github.com/arclanguage/anarki/tree/HEAD#readme

  • Ask HN: Any tool to look C++ interpretation template form syntax to substitution
    4 projects | news.ycombinator.com | 25 Sep 2022
    arc [1] / racket implimentation of demystifycpp might be able to provide something 'usable' at the command line / straight up web browser html file.

    [1] : https://arclanguage.github.io/

What are some alternatives?

When comparing plugin-foreign-env and anarki you can also consider the following projects:

babelfish - Translate bash scripts to fish

perfect-arrows - Draw perfect arrows between points and shapes.

nushell - A new type of shell

hackernews - Hacker News web site source code mirror.

fish-shell - The user-friendly command line shell.

renegade-way - Option Trading Application

flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]

arc - Arc is an opinionated framework for defining data pipelines which are predictable, repeatable and manageable.

oursh - Your comrade through the perilous world of UNIX.

nix-doc - An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script

hnrss - Custom, realtime RSS feeds for Hacker News