Other

项目介绍

minexew/Shrine 是一个托管在 GitHub 上的开源项目,主要使用 HolyC 编写,采用 Other 许可证,目前获得 1.6k 个 Star、81 次 Fork。

仓库全名
minexew/Shrine
开源许可证
Other
Star 数
1.6k
Fork 数
81
未关闭 Issue
16

README 摘要

Shrine ====== Shrine is a TempleOS distribution that aims to be more modern & approachable. Shrine aims to improve upon TempleOS in several aspects: Approachability: Shrine ships with Lambda Shell, a more traditional Unix-like command interpreter Connectivity: TCP/IP stack! Internet access! Software access: Shrine includes a package downloader Versatility: unlike stock TempleOS, Shrine requires only 64MB RAM, making…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Shrine 用什么语言开发?

主要使用 HolyC 编写,采用 Other 许可证,目前有 1.6k 个 Star。

Shrine 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 Shrine 的源码?

可以直接克隆仓库:git clone https://github.com/minexew/Shrine.git,默认分支为 v5;安装与运行步骤见仓库 README。

Shrine 最近还在维护吗?

仓库最近一次更新为 2020年11月13日,当前有 16 个未关闭 Issue;Star 数为 1.6k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A TempleOS distro for heretics

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1754
价值分
978
活跃状态
归档

语言占比

C
C++
HTML
Hack
HolyC
Python
Shell

Release

贡献者

README

Shrine

Screenshot

Shrine is a TempleOS distribution that aims to be more modern & approachable.

Shrine aims to improve upon TempleOS in several aspects:

  • Approachability: Shrine ships with Lambda Shell, a more traditional Unix-like command interpreter
  • Connectivity: TCP/IP stack! Internet access!
  • Software access: Shrine includes a package downloader
  • Versatility: unlike stock TempleOS, Shrine requires only 64MB RAM, making it feasible for cloud micro-instances and similar setups (note: this is planned, but currently not true)

Software included in Shrine:

  • Mfa (minimalist file access)
  • Lsh (Lambda Shell)
  • Pkg (package downloader)
  • Wget

Setting up with networking

  • Native Stack (highly experimental)

    • configure your VM networking: Adapter Type: PCnet-PCI II (QEMU: -netdev user,id=u1 -device pcnet,netdev=u1)
    • Attached to: NAT seems to be the most reliable setting, Bridged Mode also works somewhat
    • On boot, Shrine will automatically attempt to acquire an IP address. If you don’t get a message about “Configuring network”, the adapter was not detected.
  • To enable tunelled networking through Snail:

    • configure your VM: COM3 - TCP, server, 7777 (in VirtualBox, server = UNCHECK Connect to existing)
    • (make sure to disable networking for the VM, otherwise Native Stack will get precedence)
    • start the VM
    • run ./snail.py
    • you will now be able to access the Internet, try for example pkg-list
  • To enable file access through Mfa, configure the VM as follows:

    • configure your VM: COM1 - TCP, server, 7770
    • start /Apps/Mfa.HC.Z in the VM
    • on the host, use ./mfa.py to transfer commands and files
    • for example: ./mfa.py list /Apps/Mfa.HC.Z Mfa.HC

Both of these can be used simultaneously.

Package management functions

Note: In Lsh, use pkg-install xyz in place of PkgInstall("xyz") etc.

  • PkgList;

    List all packages available in the repository.

  • PkgInstall(U8* package_name);

    Download & install a specific package.

  • PkgInstallFromFile(U8* manifest_path);

    Manually install a downloaded package. Manifest must reference an existing .ISO.C path.

  • PkgMakeFromDir(U8* manifest_path, U8* src_dir);

    Build a package from directory contents. For an example manifest, check here. Manifest must reference a valid .ISO.C path which will be used as output!

  • PkgMakeFromFile(U8* manifest_path, U8* file_path);

    Build a package from a single file. See above for details.

See here for more information about how packages work.

Building from source

See here

评论

暂无评论