Comments (8)
If installing from source, you need to compile main.ts
into main.js
yourself. Use npm run build
to do so. (If you were trying to do this because it wouldn't install via the plugins browser, I messed something up that meant it wouldn't work. Sorry about that, it should be fixed now.)
from obsidian-homepage.
from obsidian-homepage.
compile.
I didn’t see any instructions at Github to compile.
now there are instructions ;). I thought it would be kinda obvious, but I guess it isn't. I'd just install it from the plugin browser though, now that I've fixed the issues with that.
from obsidian-homepage.
To clarify, if you haven't used the Node ecosystem before, you'll have to run npm i
beforehand to initialise things first. I'll put that in the readme as well.
from obsidian-homepage.
from obsidian-homepage.
As the installation instructions state, you can also install it using Obsidian's built-in plugin browser. I would recommend doing that if you don't have any experience with Node - it would be much easier.
If you still can't use that version of the plugin, let me know, and I'll do my best to help fix the issue.
from obsidian-homepage.
from obsidian-homepage.
That was since it takes a bit for plugins to be included in the plugin browser. Each plugin has to be manually approved by the Obsidian devs.
Is there somewhere you can point me to that explains the “npm i” process for “compiling”? I’ll be googling as well.
Basically, NPM is a package manager for using JavaScript outside the browser as a scripting language similar to Python. Though it's commonly associated with the Node runtime, it can be used for other JavaScript projects as well, like Obsidian. If you have Homebrew or MacPorts, it can be obtained from there.
npm i
downloads all packages for the project and sets up a few system files; NPM is rather poorly designed unusual that it installs all the packages on a per-project basis by default, so this has to be done for each project (ie. each plugin) separately. One of these packages is TypeScript, a version of JavaScript by Microsoft that is a strongly typed language. npm build
uses it in tandem with another package, Rollup,* to compile all the plugin's TypeScript files into a single JavaScript file.
*Though since this is a rather small plugin with only one TS file, it's not strictly necessary.
from obsidian-homepage.
Related Issues (20)
- Open new tab as home pase
- Start with a view HOT 1
- every time I reopen Obsidian, the Homepage plugin will open identical homepage pages HOT 3
- Home.md file truncated several times recently HOT 5
- Homepage will close file in right-top corner area after reload window HOT 1
- When opening a pinned note with codeblocks, Homepage gets deleted whenever Obsidian is restarted HOT 6
- Supports pages opened by commands HOT 1
- "Open when empty" locks up Obsidian
- Homepage replaces a note that's opened using a callback url HOT 3
- workspace cannot be saved and use for homepage HOT 1
- Homepage content missing HOT 2
- How about getting to work on Obsidian Mobile? HOT 1
- Homepage note is frequently cleared blank HOT 16
- Open a Workspace breaks Obsidian's sidebars on iOS HOT 4
- (Windows 10) Obsidian Fails to Launch anytime an Obsidian Update comes out HOT 1
- Columns missing HOT 2
- Homepage-specific viewing mode no longer works HOT 9
- How to manage the white space below the banner HOT 2
- Separate mobile homepage HOT 2
- "Open another vault" window as homepage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-homepage.